Re: [squid-users] Re: Transparent proxy in the same machine

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 31 Mar 2009 21:27:47 +1300

Vivek wrote:
> Amos,
>
>
> Thanks for your reply.
>
>
>
> We did with tcp_outgoing_tos packet marking. (Redirect all the packet
> except marking). It's working.
>
> Is it correct or it will create any problems?
>

I don't know of any problems it would cause.
You may be interested in the ZPH QoS additions made to the most current
Squid to permit origin-type markings of packets sent to the client.

http://wiki.squid-cache.org/Features/QualityOfService

>
>
> Do share your views.
>
>
>
> Thanks,
>
> Vivek
>
>
>
> -----Original Message-----
>
> From: Amos Jeffries <squid3_at_treenet.co.nz>
>
> To: Vivek <viveksnv_at_aol.in>
>
> Cc: squid-users_at_squid-cache.org
>
> Sent: Mon, 30 Mar 2009 1:05 pm
>
> Subject: [squid-users] Re: Transparent proxy in the same machine
>
>
>
>
>
> Vivek wrote:
>
>
>
>> Hi All,
>
>
>
>>
>
>> I am trying to use squid on my machine and I dont want to do the
> proxy
>
>> settings for all the browsers that I use. So I have configure squid
> in
>
>> transparent mode and redirected the http request to port 3128.
>
>
>
>>
>
>>
>
>>
>
>> How do I differentiate the browser request and the squid's forward
>
>> request and how to add an iptables exception ?.
>
>
>
>>
>
>
>
> You can't on the same machine.
>
>
>
>
>
> Try setting the environment global: http_proxy="http://127.0.0.1:3128/"
>
> (assuming thats the IP/port squid is listening for localhost stuff.
>
>
>
>
>
> Then your browsers and other software only need to be set to 'use system
>
> settings'. That setting is the default on a lot of system utilities, so
>
> it catches their web access to useful effect too.
>

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.6
Received on Tue Mar 31 2009 - 08:27:49 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 31 2009 - 12:00:03 MDT