# per connection TCP traffic shaping

- From: Sridhar Samudrala \<hidden\>
- Date: 2011-03-08 00:21:58 
- List: netdev
- Page: https://ratatoskr.run/netdev/2011/03/10865926
- Thread: https://ratatoskr.run/netdev/2011/03/10865926/t.md

```text
We are looking into a scalable way to configure a linux router to shape traffic
on outgoing connections(upto 10000) to (100Kb/s - 1Mb/s) over a 10Gb link.

Can someone point to any scripts that can be used to implement
per-connection traffic shaping using 'tc' and 'iptables'?

Can this be done without having to create a separate tc class/filter for each
connection?

Thanks
Sridhar




```
