note 53523 added to function.sleep
| From: | Breeze at Hotmail dot com | Date: | Sat, 04 Jun 2005 19:51:59 +0000 |
| Subject: | note 53523 added to function.sleep | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89922@lists.php.net to get a copy of this message | ||
I would consider adding
a random sleep (2 to 5 sec),
before checking the login-information,
and an IP-based ban-list,
making multithreaded attacks useless,
to be a good protection.
"[...] Fill[ing] the wire with datagrams [...]" may slow down, but won't block your
server.
If a "very bad hacker" (tm) has the possibility to use hundreds of machines to attack your
server he will surely bring down your system insignificantly if you're using a sleep() or not.
mit freundlichen Grüßen, (german for "Yours sincerely" :)
Breeze
PS: I'm german, so don't be bothered by my english. :)
----
Manual Page -- http://www.php.net/manual/en/function.sleep.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53523
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53523&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53523&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53523&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53523&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53523&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53523&report=yes
Search -- http://master.php.net/manage/user-notes.php