[squid-users] Re: deny access based on referer

From: Adam Aube <aaube01@dont-contact.us>
Date: Fri, 03 Dec 2004 09:26:44 -0500

Ken Ara wrote:

> I'm getting tired of 'referer spam' and so thought I
> might send these folks a 403. However, using the
> Webmin interface to Squid, I don't see which type of
> ACL will do this. Most of my DENY lines are for
> Browser Regexp or Client Address. How do we block a
> refering URL (or referer-regexp)?

In Squid 2.5.STABLE7, there are new acls that can match on any arbitrary
header in the request or reply. See the default squid.conf for details.

Adam
Received on Fri Dec 03 2004 - 07:26:53 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST