Re: Squid + Htb + Nat, problem.

Linux Advanced Routing and Traffic Control

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

 



On Sunday 10 November 2002 01:22, 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 you want to control downloads with squid, you can use the delay pools.  You 
can create different delay pools with different download speeds.  And you can 
even filter on size of the downloaded file.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
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