Re: [squid-users] Blacklisting problem, simple fix?

From: Visolve Squid <squid@dont-contact.us>
Date: Tue, 13 Jun 2006 20:41:05 +0530

Dave Mullen wrote:

>Fellow Users,
>
>I have squid running with a blacklist, but I seem to have found an issue with
>my config. The blacklist lists a domain, but it's not blocking any subdomains
>of that domain. Should it? Is there an option that turns on this recursion
>or something? For example:
>
>playboy.com is blocked in domains. www.playboy.com or members.playboy.com are
>still reachable. Shouldn't they be stopped as well as the playboy.com? Any
>thoughts?
>
>Thanks in advance,
>
>Dave Mullen
>
Hello Dave,

You can block the domain with subdomain using regular expression in acl.

acl domain_block dstdom_regex [-i] playboy.com
                                                 (or)
acl domain_block url_regex [-i] playboy.com

http_access deny domain_block

Thanks,
Visolve Squid Team,
http://squid.visolve.com
Received on Tue Jun 13 2006 - 09:09:19 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT