Re: [squid-users] Squid content filtering and redirection

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 10 Nov 2010 22:05:50 +0000

On 10 Nov 2010 17:40:00 +0100, "Helmut Hullen" <Hullen_at_t-online.de> wrote:
> Hallo, Tóth,
>
> Du meintest am 10.11.10:
<snip>
>> It's possible, I just would like to know if this could be done within
>> squid itself. Also a little bit of modification.
>> I would like to look for "ABC" word only in the site name, not in
>> it's content. Like deny access to www.this-is-my-abc.com but dont
>> filter a site containg some paragraphs about ABC-s.
>
>> Could it be done?
>
> [please don't top post, please don't fullquote - thank you]

Seconded.

<snip>
> # Schmuddelfilter
> acl verboten url_regex "/etc/squid/schmuddel"
> acl ausnahme url_regex "/etc/squid/whitelist"

or for specifically the domain name "site name" ... dstdom_regex.

<snip>
>
> As far as I know "squid" can't check the contents but only can check
> URLs etc.

Yes. Squid is designed not to check the content. The external filter API
are for that sort of nasty complex stuff.

Amos
Received on Wed Nov 10 2010 - 22:05:53 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 11 2010 - 12:00:06 MST