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

From: yonghua <yonghua_peng_at_yahoo.com.cn>
Date: Thu, 31 Jul 2008 22:28:40 +0800

mesartwell 写道:
> 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.

You may need a correct regex for dstdomain.
How about: acl GOV dstdom_regex \.gov$ ?
Received on Thu Jul 31 2008 - 14:28:51 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 31 2008 - 12:00:05 MDT