Limiting incoming and outgoing traffic
Hi,
I've read the wondershaper.htb script and realise that it only uses one
device: ppp.
I have no experience with htb, but I thought that we could only shape outgoing traffic for an interface.
How could the script be written to limit incoming and outgoing traffic for the same interface ?
Thanks.
Luciano Lima
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 9 lines · Luciano Lima
Hi,
I've read the wondershaper.htb script and realise that it only uses one
device: ppp.I have no experience with htb, but I thought that we could only shape outgoing traffic for an interface.
How could the script be written to limit incoming and outgoing traffic for the same interface ?
You said it right. You can only shape outgoing traffic, but you can limit incoming and outgoing traffic. So limiting is not shaping.
For instance, you can limit the incoming traffic from 1 hosts. Only limiting. You can not say (at least not easy), "if there is other bandwidth left, the host can use all of it, but it has throttle down to 40% if there is other traffc.". The latter is shaping and can only be done on outgoing traffic.
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/