Skip to contentSkip to conversation

classify incominf traffic

LARTC Cord Buhlert 2 participants 2 messages Nov 6, 2003 – Nov 7, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
is it possible to treat incoming traffic different according to eg port numbers or source addresses? is there a way to setuop some filters that for example prefer incoming mail to incoming http?

i've seen that simply limiting bandwith fer certain kinds of traffic is possible - but that wastes a lot of bandwidth if one kind of traffic isn't present at a time, not allowing the other traffic use that unused bandwidth, doesn't it?

Is there a way to optimize that?

thanks for reply
cb
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 11 lines · Cord Buhlert

Hi,
is it possible to treat incoming traffic different according to eg port numbers or source addresses? is there a way to setuop some filters that for example prefer incoming mail to incoming http?

i've seen that simply limiting bandwith fer certain kinds of traffic is possible - but that wastes a lot of bandwidth if one kind of traffic isn't present at a time, not allowing the other traffic use that unused bandwidth, doesn't it?

Is there a way to optimize that?

You can try the imq device. That's a virutal device and you can redirect any traffic to it. Also incoming traffic. Traffic can be shaped on this device with htb. So you can use htb to shape incoming traffic, but it can create also extra overhead and increase the latency.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

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