On Tue, Feb 06, 2007 at 10:50:36PM +0100, Xavier Mertens wrote: > Hi *, > > I've a problem with an Apache web server hit by f*cking spammers... > I would like to filter some URLs (unused but still used by the bots) *BEFORE* > they reach the httpd processes. What could be the best method? pf? something > else? >
You need an application layer filter, not an IP layer. There are several ways to do this, try squid as a reverse proxy: http://www.visolve.com/squid/whitepapers/reverseproxy.php