![]() |
Script to block IPs
Hi!
Anybody know of a script that can block IPs receiving a 401 response from the webserver for a certain time? To slow down a DDOS... |
.htaccess
|
Yes. But something needs to detect that. I'm looking for a script that does this.
A DDOS comes from a lot of IPs.... |
try:
/sbin/route add -host XXX.XXX.XXX.XXX 127.0.0.1 |
Come on guys... I know how to block an IP. :-)
I'm looking for a script that watches HTTP response 401, builds a table, counts the 401s and then pulls the plug for that IP. |
Quote:
|
Quote:
|
|
I've found a solution using a custom error handler recording the failed attempts and telling the firewall what to block. But it needs to be developed furtther.
If anybody knows a solution ready to use, please drop a line. |
Quote:
|
All times are GMT -7. The time now is 06:25 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123