From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Alexandru Dragoi Date: Wed, 28 Jul 2004 03:15:54 +0000 Subject: Re: [LARTC] shaping marked packets Message-Id: <3063e5040727201531753d00@mail.gmail.com> 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 tc qdisc del dev ethx root tc qdisc add dev ethx root handle 1: htb tc class add dev ethx parent 1: classid 1:1 htb rate 30kbps tc filter add dev ethx parent 1: prio 0 protocol ip handle 1 fw flowid 1:1 On Tue, 27 Jul 2004 20:07:37 -0400, nix4me wrote: > Hi, > > I am trying to figure out how to shape the following marked packets and > limit them to a speed on 30KBytes. I have read the documentation but I > am unsue of what to do. > > iptables -t mangle -A FTP-OUT -p tcp --dport 50000:51000 -j MARK > --set-mark 1 > > Mark > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/