From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Newkirk Subject: Re: Traffic Shaping Date: Wed, 27 Nov 2002 21:21:12 -0500 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200211272121.12644.netfilter@newkirk.us> References: Reply-To: netfilter@newkirk.us Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Juliano Murlick , "'netfilter@lists.netfilter.org'" On Wednesday 27 November 2002 12:24 pm, Juliano Murlick wrote: > Hello, > Anybody knows if there is some module for netfilter that works like > traffic shaper ? i am trying to shaper my traffic but in dinamic way, n= ot > static , like 50 % for FTP and 25 % SMTP, 5% ICMP ... what is best way= to > do it ? > > Ats, > Juliano Murlick (cut'n'paste my reply from "Re: Best way to put a quota on masquaraded co= nnections" :^) http://www.linuxguruz.org/iptables/howto/2.4routing.html might be a good=20 start, the Linux 2.4 Advanced Routing HowTo. It explains different queui= ng=20 approaches available, and creation of routing rules with iproute2. (amon= g=20 other things) You can use iptables to add mangle-prerouting rules that s= et=20 TOS for various packet types/sources/destinations, then use some routing=20 rules and a queuing discipline to prioritize and/or limit them. j