httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Finkenstadt" <an...@simutronics.com>
Subject RE: getpeername() and strong source blocking
Date Tue, 23 Jun 1998 14:45:58 GMT
My solution to this problem, back when I was running www.homes.com and had
badly behaving library and dialup sites tickling my web server, was to
insert a host route to the black hole at the operating system level.  It
prevents the TCP connection from even coming up on the port and Apache would
never see the connection to refuse it.  From memory, it was something like
"route add ip.ad.dr.ess 127.0.0.1 1" or some such.

This is obviously only an option when you can be pro-active and need to
exclude just a few sites, not accept things only from a few other sites.

Andy



Mime
View raw message