Displaying 1 result from an estimated 1 matches for "avrate".
Did you mean:
aviate
2004 May 23
1
limiting bandwidth on a sequence of ports.
...G -t mangle -i $DEV -s ''!'' $NET -p tcp
--destination-port "6881:6999" -j MARK --set-mark 21
# And add a filter to the ingress to drop packages that come faster than
128 kbps.
tc filter add dev $DEV parent ffff: protocol ip prio 5 handle 21 fw
police burst 5k rate 128kbps avrate 128kbps drop flowid :1
-----------------
Any Idea what am I doing wrong? If I lower the burst, which I Think I
haven''t understood yet, to like 1k, the bandwidth will drop to zero.
Else, it will barely move. Maybe I got the rate wrong?
Just one extra question, the flowid I also got it fr...