tor 2002-12-05 klockan 14.31 skrev Rick Matthews:
> SquidGuard can do an excellent job of that, though it might be a
> bit of overkill if you only have a handful of sites to block. My
> porn category contains 240,000 domains and 80,000 urls, and squid's
> cachemgr.cgi shows an average service time for squidGuard of 1msec
> (and that's on a P200 box)!
Note: The acls of a modern Squid also does a pretty good job if you use
the correct acl types for the job (i.e. do not throw everything into a
url_regex.. would be the same thing as throwing everything into a
SquidGuard expression list..)
Squid lacks a little when it comes to a equivalence of SquidGuard URL
matching and these currently have to be done by regex matching. To speed
this up considerably you can build a filter by combining url_regex and
dstdomain, there the dstdomain acl contains all hostnames extracted from
your list of URLs. This will make sure that the slow url_regex list is
not processed unless the request is for one of the hosts in your list of
URLs.
Regards
Henrik
Received on Tue Dec 10 2002 - 10:23:30 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:02 MST