Re: [squid-users] Allow all '.gov' sites

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 01 Aug 2008 10:56:03 +0200

On tor, 2008-07-31 at 07:16 -0700, mesartwell wrote:
> I just setup a squid proxy server and have blocked all web access except for
> a whitelist of acceptable sites. On the whitelist I have .gov, which I
> intended to allow users to get to all sites ending in .gov. However this
> gives access to unintended sites, like 'www.screwthegovernment.com'. Is it
> possible to specify that .gov must be the top level domain? Thanks.

Use dstdomain for matching domainnames or hostnames.

Only use the regex based acls as a last resort when there is no other
acl type capable of matching what you are looking for.

Regards
Henrik
Received on Fri Aug 01 2008 - 08:56:11 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 01 2008 - 12:00:05 MDT