Palula,
We use the following configuration here:
acl porn url_regex "/usr/local/squid/etc/regras/porn"
acl noporn url_regex "/usr/local/squid/etc/regras/noporn"
On "porn" file, is registered the "bad-word" list.
On "noporn" file, are the exceptions (ex.: assessoria (ass), computador (puta), etc.)
You can download a example on:
http://www.pt2rod.qsl.br/freebsdstuffs/acessorios/squid.regras/
Rodrigo.
---------- Cabeçalho original -----------
De: "Palula Brasil" palula@uol.com.br
Para: squid-users@squid-cache.org
Cópia:
Data: Fri, 2 Dec 2005 10:10:00 -0200
Assunto: [squid-users] Squid denies access to Yahoo Mail when word "ass" is on the bad_strings.acl file.
> I created a file called "bad_strings.acl" wich are words that are associated
> to porn content and for words that can be associated to potential hazardous
> sites on the web, like hack, warez etc.
>
> Everything seemed to be working fine until except for the Yahoo! Mail. Some
> people on the network use Yahoo! Mail
> (http://login.yahoo.com/config/mail?.intl=br) and the login site opens Ok
> but the problem is:
>
> When I have the word ass, Squid blocks the login process with this response:
>
> ERROR
> The requested URL could not be retrieved
> ----------------------------------------------------------------------------
> ----
> While trying to retrieve the URL:
> http://us.rd.yahoo.com/reg/login0/no_suli/login/br/ym/*https://login.yahoo.com/config/login?
>
> The following error was encountered:
>
> Access Denied.
> Access control configuration prevents your request from being allowed at
> this time. Please contact your service provider if you feel this is
> incorrect.
>
> But if I take the word "ass" out of the "bad_strings.acl" it works fine. I
> searched for the string ass anywhere in that url and found nothing. Has
> anybody encountered this problem before?
>
> Anyway: By commenting or erasing that line from the "bad_strings.acl" Yahoo!
> Mail works fine. But I would like to make it work with that string on the
> file.
>
>
Received on Fri Dec 02 2005 - 09:40:42 MST
This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:02 MST