Skip to contentSkip to conversation

port policy

LARTC Thomas Goebel 5 participants 5 messages Dec 3, 2001

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Thomas Goebel

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.

Regards,

bert

Signature · 8 lines
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

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#2 lore raw
In reply to Thomas Goebel

try to use cbq.init (search freshmeat) and compile the kernel with modules for QoS.

Quoted 12 lines · Thomas Goebel

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
....

Quoted 7 lines

Regards,
Thomas

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

#3 lore raw
In reply to Thomas Goebel
Quoted 10 lines

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

You can use the u32 filter or the fw filter (in combination with iptbables/ipchains).

Stef

Signature · 8 lines
[email protected]        [email protected]
More QOS info : http://docum.org/
Title : "Using Linux as bandwidth manager"


_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
#4 lore raw
In reply to Thomas Goebel
Quoted 10 lines · bert hubert
Quoted 6 lines · Thomas Goebel

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.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/