Re: CBQ affected by squid?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, 29 November 2002, at 13:54:17 -0000,
Shane Purtill wrote:

> The question is that if my http traffic goes through squid then when it
> is seen by the Linux Traffic Controller (the TC is on the outgoing
> Interface i.e. the Internet connection, so that it can see the actual
> bandwidth usage of the outgoing link i.e. we have examined the cache to
> see f we have it stored and found we need to fetch it) the http packets
> are wrapped in TCP packets and the TC sees all the http traffic as
> coming from squid i.e. a connection between Squid and say Yahoo.com, and
> cannot distinguish which user sent what request as they all seem to be
> packets with Squid as the source IP address. Is this understanding
> correct? If not what am I seeing wrong? If this is the case how am I
> going to share the bandwidth as I state above as all the users on the
> LAN are being anonymised by Squid before they reach the TC?? 
>  
Squid is a HTTP proxy, and the behaviour you describe is exactly what it
is supposed to do: to proxy client connections. Clients contact the
Squid box and ask it a page, and then Squid creates a new page request
based on the one from the client, that sends to the final web server.

The comunication is from the client to Squid, and from Squid to the real
web server. So all outgoing HTTP traffic in the Squid box itself is
coming from the squid process, and I don't know if recent Squid versions
have some way of "signalling" the operating system about a way to
distinguish traffic coming from one client or another.

Hope it helps.

-- 
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux