ToS marking of outgoing packets is included in Squid versions from 2.5STABLE1 onward. Just enable it when you run configure. Angelripper wrote: > I'm trying to shape a connection behind a NAT. I have done it already > using tc with htb. Now the problems is that I want to run Squid on the > same > machine, and also control de bandwidth but with htb so it can change > the bandwidth in real time. For the non-squid version of this, I'm using > iptables-mangle to mark packets and tc for the traffic control. > > As squid is only for HTTP transactions, I decided to send through it > only the web traffic(excludind FTP and SSL), and limit the downstream with > HTB as in the non-squid version. But the > upstream is always uncontrolled since one only can control the packets > going out of the server and the uploading proccess seem to come from the > NAT-server since is there where squid is installed and squid doesn't make > any NAT at all. Is there a way to mark the packets squid sends > out so tc can control them also? Exists there another solution? Is the > web-cache server a bad solution into the QoS rage? > > If something sounds stupid I apologize, since I'm a newbie. > > > Pity the meek, for they shall inherit the earth. > -- Don Marquis > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ -- Joe Cooper <joe@swelltech.com> Web caching appliances and support. http://www.swelltech.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/