Re: [squid-users] squid 3 acl browser

From: Erwann PENCREACH <erwann.pencreach_at_ch-chaumont.fr>
Date: Wed, 24 Jun 2009 14:13:41 +0200

Ralf Hildebrandt a écrit :
> * Erwann PENCREACH <erwann.pencreach_at_ch-chaumont.fr>:
>> ok, I made changes
>>
>> nodst and contenttype acl works fine (I'll look later for squidguard and
>> dansguardian)
>>
>> browser filtering doesn't work at all
>>
>> external_acl works fine
>>
>> I don't understand what I'm doing wrong with User-agent filtering
>
> But I already told you. MSIE says it's Mozilla. Your regular
> expression is wrong.
You're right I've just checked both User agents :

# MSIE : User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
# Mozilla : User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
rv:1.9.0.1; .NET CLR 2.0.50727; ffco7) Gecko/2008070208 Firefox/3.0.1

acl becomes :

acl checkua browser Gecko/ ^Keyvelop$ ^ClamWin/

> --
> Ce courrier �lectronique a �t� v�rifi� et est exempt de virus connus � ce jour.
> Contactez votre administrateur pour plus de renseignement.
> postmaster_at_ch-chaumont.fr

-- Ce courrier ÿlectronique a ÿtÿ vÿrifiÿ et est exempt de virus connus ÿ ce jour. Contactez votre administrateur pour plus de renseignement. postmaster_at_ch-chaumont.fr

Received on Wed Jun 24 2009 - 12:13:49 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 24 2009 - 12:00:04 MDT