Hello, is it possible to setup a traffic shaper by ports. This means, can shape the traffic like this Upload from my server to every where: ftp = 10kbit ssh = 5kbit www = 10kbit .... Regards, Thomas
On Mon, Dec 03, 2001 at 02:17:16PM +0100, Thomas Goebel wrote:> This means, can shape the traffic like this > > Upload from my server to every where: > ftp = 10kbit > ssh = 5kbit > www = 10kbitYes. This is very easy with HTB or even CBQ. Read all about it in chapter 9. Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services Trilab The Technology People Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - ''SYN! .. SYN|ACK! .. ACK!'' - the mating call of the internet
try to use cbq.init (search freshmeat) and compile the kernel with modules for QoS. On Mon, 3 Dec 2001, Thomas Goebel wrote:> Hello, > > is it possible to setup a traffic shaper by ports. > > This means, can shape the traffic like this > > Upload from my server to every where: > ftp = 10kbit > ssh = 5kbit > www = 10kbit > .... > > Regards, > Thomas > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/ >
> Hello, > > is it possible to setup a traffic shaper by ports. > > This means, can shape the traffic like this > > Upload from my server to every where: > ftp = 10kbit > ssh = 5kbit > www = 10kbitYou can use the u32 filter or the fw filter (in combination with iptbables/ipchains). Stef -- stef.coene@docum.org stef.coene@belgacom.net More QOS info : http://docum.org/ Title : "Using Linux as bandwidth manager"
On Mon, 3 Dec 2001, bert hubert wrote:> On Mon, Dec 03, 2001 at 02:17:16PM +0100, Thomas Goebel wrote: > > > This means, can shape the traffic like this > > > > Upload from my server to every where: > > ftp = 10kbit > > ssh = 5kbit > > www = 10kbit > > Yes. This is very easy with HTB or even CBQ. Read all about it in chapter 9.ssh and www are very easy, the problem is ftp which often uses dynamic ports. What we''d need is to be able to mark connections related to ftp with a specific mark in iptables for this to work 100%... hmm why didn''t I think of that before... I''ll se if I have the time to look into this today. /Martin Never argue with an idiot. They drag you down to their level, then beat you with experience.