Re: [squid-users] Facebook URL username can't block

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 18 May 2013 17:35:05 +1200

On 18/05/2013 5:14 p.m., budsz wrote:
> Hi,
>
> I've strange problem here whereis my configuration:
>
> squid.conf
> acl urlpathdeny urlpath_regex -i "/usr/local/etc/squid/urlpath.deny"
> http_access deny urlpathdeny
>
> urlpath.deny:
> 3gp\.exe$
>
> That's rules work to block 3gp.exe file, but I try to block facebook
> URL pattens like this:
>
> http://www.facebook.com/foo
>
> I put "foo" in urlpath.deny but doesn't work. Base on access.log:
>
> 1368853169.627 1575 192.168.100.90 TCP_MISS/200 83947 GET
> http://www.facebook.com/foo - DIRECT/69.171.237.20 text/html
>
> Anyone have a clue to this problem? Thank any suggestions.

Did you reload your squid.conf after making that change?

Also, take care when using regex. Particularly regex like this which are
applied to *all* traffic going through yoru proxy.

Amos
Received on Sat May 18 2013 - 05:35:15 MDT

This archive was generated by hypermail 2.2.0 : Sat May 18 2013 - 12:00:17 MDT