[svlug] tracking a errant web client

Walt Reed svlug at linuxguy.com
Fri Sep 17 13:31:42 PDT 2004


On Fri, Sep 17, 2004 at 01:02:23PM -0700, Rafael Skodlar said:
> 
> Besides already mentioned dig -x and whois method you could reconfigure
> Apache to not accept connections from that IP or network, or create
> (bogus files) they are asking for.

Yeah, I mentioned mod_rewrite... That is for apache. :-) I realize now that
I did not make that clear.

The way you would do it is to use a conditional rewrite based on their
IP address / netblock / useragent / whatever. The apache mod_rewrite
docs are quite good.

You can also turn on additional items to be logged in apache which can
be useful. The defaults are a little thin.





More information about the svlug mailing list