|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: How can I stop webdav exploits from hitting my server?by matija (Priest) |
| on May 18, 2004 at 16:36 UTC ( #354340=note: print w/ replies, xml ) | Need Help?? |
|
There is no way for mod_perl or CGI to prevent those requests from reaching the server - by the time they are recognised as being attacks, they have already reached the server. You could write a simple module that would throw away the requests before Apache logged them. But that would just be hiding, not solving the problem. You could use iptables or similar built-in firewall to block any requests from the "attacking" IP - but with time that could mean you will have to administer a growing list of IPs that were blocked due to various attacks. Your best bet is to use the whois information to get the contact info for the system's caretaker (or their provider) and write to them, asking them to take appropriate steps to stop the scanning.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||