Re: [squid-users] squid 3 acl browser

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

Ralf Hildebrandt a écrit :
> * Erwann PENCREACH <erwann.pencreach_at_ch-chaumont.fr>:
>
>> acl checkua browser -i ^.*Mozilla/.*$ ^Keyvelop$ ^ClamWin/.*$
>> http_access deny !checkua
>
> ...
>
>> In case I'm using MSIE, I shouldn't have my access granted, but I have,
>> and getloggeduser.sh generate a log line.
>>
>> what's wrong ?
>
> What useragent does MSIE use?
>
> Here it uses:
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"
> which matches
>
> "^.*Mozilla/.*$" (or shorter : "Mozilla/")

MSIE is using something including MSIE, but in fact I know that the only
User-agents allowed to access the net are Mozilla Keyvelop and clamwin,
that's why I've chosen to ban all UA but those 3
> --
> 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 - 10:18:50 MDT

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