Re: [squid-users] block on browser type?

From: Manoj_Rajkarnikar <manoj@dont-contact.us>
Date: Tue, 25 Sep 2007 10:53:20 +0545 (NPT)

On Tue, 25 Sep 2007, Adrian Chadd wrote:

> Hm, isn't there an option to block based on user-agent?
> User-Agent is just another header after all.

yes there is.

acl BROWSER browser -i Mozilla \(compatible; MSIE\)

This should match mozilla and msie based browsers.

Manoj

>
> If in doubt, it definitely should be doable via an external-acl helper.
> I know you can pass it arbitrary headers..
>
>
>
> Adrian
>
>
> On Mon, Sep 24, 2007, nairb rotsak wrote:
>> Hello all,
>>
>> I searched and couldn't find a way to do this. We are trying to block IE 7. We have citrix farms set up with IE 6, Squid and Dansguardian. There are a few rogue people (think political here.. we can just lock down anything not coming from the Squid box) that believe they are fairly technical. They hold positions which allow them to demand 'software installability'. So they decide from time to time to upgrade to IE 7 and it is just a disaster. But we would find out a lot sooner if they lost internet when they did it.
>>
>> I have just started to use req_mime_type for applications.. so I thought there might be some specific way of getting this to recognize IE 7.
>>
>> thanks,
>>
>> ipguru99
>>
>>
>>
>>
>> ____________________________________________________________________________________
>> Luggage? GPS? Comic books?
>> Check out fitting gifts for grads at Yahoo! Search
>> http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
>
>

-- 
Received on Mon Sep 24 2007 - 23:09:19 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT