Re: [squid-users] How to exclude ip addressses

From: Neil A. Hillard <neil.hillard@dont-contact.us>
Date: Wed, 30 Jan 2008 12:22:05 +0000

Hi,

Angela Williams wrote:
> Hi!
> On Wednesday 30 January 2008, Indunil Jayasooriya wrote:
>> Hi All,
>>
>> I want to know how to exclude or bypass a few ips with squid.
>>
>> these are the basic rules currently wriiten in squid.conf files
>>
>> acl our_networks src 192.168.0.0/16
>> http_access allow our_networks
>>
>> Let's say, a few sites are running on 192.168.0.4 and 192.168.0.7. I
>> want to exclude (bypass) squid for thses ips.
>>
>> How can I do it with squid.conf file?
>>
>> Hope to hear formn you.
>
> You could try always_direct
>
> Me? I rather do that kind of thing in a proxy autoconfiguration script but
> then you need an http server like Apache http server!

By the time the request has got to squid it's too late. You must do
this browser-side, as Ang said in a proxy auto config script or just by
adding them to the proxy exclusion list.

HTH,

                                Neil.

-- 
Neil Hillard                    neil.hillard@agustawestland.com
AgustaWestland                  http://www.whl.co.uk/
Disclaimer: This message does not necessarily reflect the
            views of Westland Helicopters Ltd.
Received on Wed Jan 30 2008 - 05:22:19 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST