Re: [squid-users] Filter sites containing keywords (not by url)

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 25 May 2009 23:45:12 +1200

Leonardo Rodrigues wrote:
> michael hiatt escreveu:
>> Hi guys,
>> Just wondering if its possible using squid (preference to not using
>> any other plugins), to block sites that contain keywords I would place
>> in a file.
>>
>> I have used url_regex to filter the urls that contain keywords, I want
>> to actually test the contents of the page being loaded (the text,
>> pictures would be a whole other beast).
>>
>>
>
> without any external software, squid cannot content-analyze the
> fetched HTMLs. It can, as you know, analyze URLs, paths, ports, ip
> addresses, and other http-related stuff.
>
> to analyze content of fetched HTMLs, you'd probably need some
> external software, probably used as redirectors, with squid.
>

Or Squid-3 with its ICAP/eCAP content filtering abilities ;)

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
   Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1
Received on Mon May 25 2009 - 11:45:22 MDT

This archive was generated by hypermail 2.2.0 : Mon May 25 2009 - 12:00:01 MDT