Re: [squid-users] url blocking

From: Marcus Kool <marcus.kool_at_urlfilterdb.com>
Date: Thu, 10 Feb 2011 12:36:59 -0200

ufdbGuard is a URL filter for Squid that does exactly what Zartash needs.
It transforms codes like %xx to their respective characters and does
URL matching based on the normalised/translated URLs.
It also supports regular expressions, Google Safesearch enforcement and more.

Marcus

Amos Jeffries wrote:
> On 10/02/11 18:25, Zartash . wrote:
>>
>> So is there any way to block %?
>>
>
> If it actually exists in the URL (not just the browser display version)
> using '%' in the pattern will match it. Block with that ACL.
>
>
> If its encoding something then no, you can't block it directly. It's a
> URL wire-level encoding byte.
>
> You could decode the %xx code and figure out what character it is
> hiding. Match and block on that.
>
> Or, if you don't care what character its encoding use '.' regex control
> to match any single byte.
>
>
>
> Amos
Received on Thu Feb 10 2011 - 14:37:05 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 14 2011 - 12:00:01 MST