From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Cooper Date: Sun, 10 Nov 2002 00:28:24 +0000 Subject: Re: [LARTC] Squid + Htb + Nat, problem. Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 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/