1
vote
0answers
29 views

How to limit network bandwidth after some data transferred?

So the question is in the name of topic. How to limit bandwidth I know. Using tc. But how to do so after, for example, traffic had reached 500MB. And after some time reset the limits.
2
votes
1answer
66 views

SSH tunnelling outgoing traffic shaping

I am using an OpenSSH server for a client app that uses the traffic forwarding, SSH tunnelling and some users are consuming an extraordinary amount of bandwidth. Is there a way to shape the traffic on ...
1
vote
1answer
48 views

Having several qdisc for each device, which is the first to process?

I have read about queuing disciplines here http://lartc.org/. Having this traffic shaping policy: .... qdisc pfifo_fast 0: dev ppp0 root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 qdisc ...
1
vote
0answers
87 views

remove tc filter (Traffic Shaping)

How can I remove a single filter? tc filter show dev peth1 shows filter parent 1: protocol ip pref 16 u32 filter parent 1: protocol ip pref 16 u32 fh 800: ht divisor 1 filter parent 1: protocol ip ...
2
votes
0answers
190 views

Traffic shaping with tc does not work

I want to limit the outgoing traffic to a specific bandwidth. My Code: tc qdisc add dev vif1.0 root handle 1: htb default 30 tc class add dev vif1.0 parent 1: classid 1:1 htb rate 1mbit tc class add ...
3
votes
1answer
603 views

tc class rate 50Kbps != 50K/s in wget?

Got the following test rule setup: tc qdisc add dev wlan0 root handle 1: htb tc class add dev wlan0 parent 1: classid 1:1 htb rate 1000Mbps tc class add dev wlan0 parent 1:1 classid 1:5 htb rate ...