Cron védelme futtatás ellen - Supercron

The spam filter installed on this site is currently unavailable. Per site policy, we are unable to accept new submissions until that problem is resolved. Please try resubmitting the form in a couple of minutes.
Kategória: 
modulismertető

Visszatérő probléma a cron.php védelme a mezei userek elől. Nagyon sok lényege nincs, igazából bárki nyomkodhatja a cron.php-t, akkor lesz csak gáz, ha valaki elkezdi hajtani, akkor már érdemes szétnézni, kinek van baja velünk. Amíg a Drupal 7-ben ez alapfunkció, Drupal 6-ban még kell hozzá kis segítség.

A Supercron erre is gyógyírt nyújt, legalább is a dev verziója.

  • Nézzük, mit tud még, leginkább a modul adatlapja alapján:
  • Megmutatja, milyen hook-ok akadnak a cronra. Ez tök jó, ha debugol az ember, hiszen ha pl a cron.php kifut az időből, akkor ki lehet deríteni, hogy mi miatt.
  • A a hookok sorrendjét lehet cserélgetni, amik a cront használják.
  • Akár ki is kapcsolhatjuk a nekünk nem tetsző hookokat
  • Párhuzamosan is futhatnak a cront használó hookok, így ha a szolgáltatónál alacsony a php max futási idő, akár gyógyulhat is a cron ezáltal.
  • A hibakeresés csúcsa: Önállóan is futtathatjuk a cront használó hookokat.
  • Ha elakad egy hook, attól még a többi lefut, így csak az az egy funkció sérül, amivel gond van.
  • Megmutatja, hogy mennyi ideig tartott a cron futása.
  • Megnézhetjük, milyen végeredményt produkáltak futás után az egyes hookok
  • Torlódáscsökkentésbe bevonható, vagyis ha nagy a forgalom, optimalizálja a cron processek futását.
  • És ami a védelmet illeti: Meg lehet adni, hogy melyik ip címről legyen futtatható a cron.

Én eddig kb 3-4-szer használtam, egyszer azt sikerült kideríteni vele, hogy az egyik átirányítás kiakasztja a search modul indexelését. Másik alkalommal a twitter modul debugolására használtam, a többire meg nem emlékszem. :)

Az install nem teljesen a szokványos, annyit kell még csinálni, hogy a modul könyvtárában lévő supercron.php-t a Drupal gyökérkönyvtárába kell másolni. A 6.x-2.x-dev verzióban már ez sem kötelező, tehát akár védett könyvtárba is pakolhatjuk, mondjuk a sites/all/modules-be. Sejtésem szerint az eredeti cron.php ez esetben törölhető, viszont ezt ugye minden core frissítés után meg kell tenni.

Ha nem akarunk macskagyilkosok lenni, .htaccessben letilthatjuk az eredeti cron.php elérését.

Hozzászólások

Wonderful blog! I found it

Wonderful blog! I found it while searching on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Cheers|

Good post but I was wondering

Good post but I was wondering if you could write a litte more on this topic? I'd be very thankful if you could elaborate a little bit further. Thanks!|

Somebody essentially help to

Somebody essentially help to make seriously posts I might state. This is the first time I frequented your web page and thus far? I surprised with the research you made to create this actual publish extraordinary. Excellent activity!|

Hello, constantly i used to

Hello, constantly i used to check webpage posts here in the early hours in the morning,
since i like to find out more and more.

An interesting discussion is

An interesting discussion is worth comment. I do believe that you
need to publish more about this subject, it may not be a taboo matter but usually folks don't discuss these topics.
To the next! Cheers!!

Today, I went to the beach

Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She put the
shell to her ear and screamed. There was a hermit crab inside and it pinched her ear.

She never wants to go back! LoL I know this is completely off
topic but I had to tell someone!
Jay's Santa Clarita Tree Removal Kings
26174 Las Lanas Ct, Santa Clarita, CA 91355
661-464-1270
laureljefferson09875 [at] gmail [dot] com

Good post but I was wanting

Good post but I was wanting to know if you could write a litte more on this subject?
I'd be very grateful if you could elaborate a little
bit more. Kudos!

Appreciate this post. Will

Appreciate this post. Will try it out.

It's perfect time to make

It's perfect time to make some plans for the future and it is time to be
happy. I have read this post and if I could I wish to suggest
you some interesting things or suggestions.

Perhaps you can write next articles referring to
this article. I desire to read more things about it!

Everyone loves what you guys

Everyone loves what you guys tend to be up too. Such clever work and exposure!

Keep up the superb works guys I've included you guys to my own blogroll.

Wow, this paragraph is

Wow, this paragraph is pleasant, my sister is analyzing these things, therefore I am going to let know her.|

Wow that was strange. I just

Wow that was strange. I just wrote an really long
comment but after I clicked submit my comment didn't appear.

Grrrr... well I'm not writing all that over again. Anyways, just wanted to say excellent blog!

Jim's San Jose Carpet Cleaning
780 S 3rd St, San Jose, CA 95112
3408-351-1063
colettemackie2641 [at] gmail [dot] com

I am genuinely pleased to

I am genuinely pleased to read this web site posts which contains lots of useful data,
thanks for providing such statistics.

Awesome post.

Awesome post.

Its not my first time to pay

Its not my first time to pay a visit this web site, i am visiting this web page
dailly and get fastidious information from here everyday.

Incredible! This blog looks

Incredible! This blog looks just like my old one!
It's on a totally different subject but it has pretty much the same layout and design. Excellent choice of colors!

Greetings I am so happy I

Greetings I am so happy I found your weblog, I really
found you by accident, while I was searching on Yahoo for something else, Regardless
I am here now and would just like to say thank you for a tremendous post and a all round exciting blog (I also love the theme/design), I don’t have time to go through it all
at the minute but I have saved it and also added in your RSS feeds,
so when I have time I will be back to read a great deal more, Please
do keep up the excellent jo.

What i do not realize is

What i do not realize is actually how you're no longer really much
more neatly-favored than you might be now. You're very intelligent.
You realize therefore significantly on the subject of this matter,
made me in my view believe it from a lot of numerous
angles. Its like men and women don't seem to be fascinated except it
is something to do with Woman gaga! Your personal stuffs excellent.
All the time maintain it up!

I am curious to find out what

I am curious to find out what blog platform you are working
with? I'm experiencing some minor security
problems with my latest site and I would like
to find something more safeguarded. Do you have any recommendations?

This site was... how do you

This site was... how do you say it? Relevant!!
Finally I've found something that helped me. Thanks a lot!

Good blog you have here..

Good blog you have here.. It's difficult to find good quality writing like yours these days.
I truly appreciate individuals like you! Take care!!

Independance Immobilière -

Independance Immobilière - Agence Dakar Sénégal
Av. Fadiga, Immeuble Lahad Mbacké
BP 2975 Dakar
+221 33 823 39 30

Agence Immobilière Dakar

That is a very good tip especially to those new to the blogosphere.
Brief but very accurate information… Appreciate
your sharing this one. A must read post!

I am not positive the place

I am not positive the place you're getting your info, but great topic.
I must spend some time finding out much more or working out more.
Thank you for great information I used to be in search of this info for my mission.

You've made some good points

You've made some good points there. I checked on the web for
more info about the issue and found most individuals will
go along with your views on this website.

Hi would you mind letting me

Hi would you mind letting me know which web
host you're utilizing? I've loaded your blog in 3 completely different internet browsers
and I must say this blog loads a lot quicker then most. Can you recommend a good hosting provider at a honest price?
Cheers, I appreciate it!

It's going to be end of mine

It's going to be end of mine day, however before end
I am reading this enormous paragraph to improve my knowledge.

Hi to every one, it's really

Hi to every one, it's really a good for me to pay a quick visit
this web page, it contains helpful Information.

This piece of writing will

This piece of writing will assist the internet viewers for creating new weblog or even a weblog from start to end.|

Excellent web site. A lot of

Excellent web site. A lot of useful info
here. I'm sending it to a few buddies ans also sharing in delicious.
And naturally, thank you for your effort!

I don't know whether it's

I don't know whether it's just me or if everybody else encountering
issues with your site. It appears like some of the text on your content
are running off the screen. Can somebody else please provide feedback and let me know if this is
happening to them too? This may be a problem with my web browser because I've had this happen previously.

Cheers

Hello there! Do you use

Hello there! Do you use Twitter? I'd like to follow you if that would be okay.

I'm absolutely enjoying your blog and look forward to new posts.

Independance Immobilière -

Independance Immobilière - Agence Dakar Sénégal
Av. Fadiga, Immeuble Lahad Mbacké
BP 2975 Dakar
+221 33 823 39 30

Agence Immobilière Dakar

Wow, that's what I was looking for, what a stuff! existing here at this webpage, thanks admin of this web page.

There's definately a great

There's definately a great deal to learn about this subject.
I really like all of the points you've made.

Independance Immobilière -

Independance Immobilière - Agence Dakar Sénégal
Av. Fadiga, Immeuble Lahad Mbacké
BP 2975 Dakar
+221 33 823 39 30

Agence Immobilière Dakar

Write more, thats all I have to say. Literally, it seems as
though you relied on the video to make your point. You definitely know what youre talking about, why throw away your intelligence on just posting videos to your blog when you could be giving us something enlightening to read?

You are so awesome! I don't

You are so awesome! I don't think I've truly read through something like this before.
So wonderful to discover someone with genuine thoughts
on this issue. Seriously.. many thanks for starting this up.
This website is something that is needed on the web, someone with a bit of originality!

Hi, all is going sound here

Hi, all is going sound here and ofcourse every
one is sharing information, that's really excellent, keep up writing.

If some one wishes expert

If some one wishes expert view regarding running a blog afterward i propose him/her to go to see this
webpage, Keep up the fastidious work.

What's up to every body, it's

What's up to every body, it's my first go to see of this web site; this website includes remarkable and actually fine data
in support of visitors.

Great blog here! Also your

Great blog here! Also your web site loads up very fast!

What host are you using? Can I get your affiliate link to your host?
I wish my website loaded up as quickly as yours lol

Greetings from Florida! I'm

Greetings from Florida! I'm bored to death at
work so I decided to browse your blog on my iphone during lunch break.
I enjoy the info you present here and can't wait to take a look when I
get home. I'm surprised at how fast your blog loaded on my cell phone ..

I'm not even using WIFI, just 3G .. Anyhow, wonderful blog!

Jim's San Jose Carpet Cleaning
780 S 3rd St, San Jose, CA 95112
3408-351-1063
colettemackie2641 [at] gmail [dot] com

Pretty great post. I simply

Pretty great post. I simply stumbled upon your blog and wished to mention that I have truly loved surfing around your blog posts. In any case I will be subscribing in your rss feed and I am hoping you write once more soon!|

I'm not sure exactly why but

I'm not sure exactly why but this blog is loading incredibly slow for me.
Is anyone else having this issue or is it a problem on my end?

I'll check back later and see if the problem still exists.

Outstanding quest there. What

Outstanding quest there. What happened after? Thanks!

Hola! I've been following

Hola! I've been following your web site for a while now and finally
got the bravery to go ahead and give you a shout out from Lubbock Tx!
Just wanted to tell you keep up the fantastic job!

Hello friends, its impressive

Hello friends, its impressive article about tutoringand fully defined, keep it up all the
time.
OutOfSight Hayward Junk Removal Pros
1366 Homestead Ln, Hayward, CA 94545
510-621-6379
joeyedmonds38572 [at] gmail [dot] com

It's actually a nice and

It's actually a nice and useful piece of information. I'm happy that you simply shared this helpful info with us.
Please stay us informed like this. Thanks for sharing.

Excellent blog here! Also

Excellent blog here! Also your web site loads up fast!
What host are you using? Can I get your affiliate link to your host?
I wish my web site loaded up as fast as yours lol

Asking questions are really

Asking questions are really pleasant thing if you are not
understanding something entirely, except this post provides pleasant understanding even.

Willie G youllied Thank you

Willie G youllied

Thank you for the good writeup. It in fact was a amusement account it.
Look advanced to more added agreeable from you!
By the way, how can we communicate?

Taxi moto line 128 Rue la

Taxi moto line
128 Rue la Boétie
75008 Paris
+33 6 51 612 712  

Taxi moto paris

This post is invaluable. How can I find out more?

Hozzászólás

A mező tartalma nem nyilvános.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Engedélyezett HTML elemek: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <img>
  • A webcímek és email címek automatikusan linkekké alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
  • Engedélyezett HTML elemek: <a> <blockquote> <br> <cite> <code> <dd> <del> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <sql>. The supported tag styles are: <foo>, [foo].
  • Minden email cím át lesz alakítva ember által olvasható módon, vagy (ha a JavaScript engedélyezett) ki lesz cserélve kattintható, de biztonságos hivatkozásra.