Markus-Go / nf-hishape

Kernel module for traffic shaping of source IPs
GNU General Public License v3.0
12 stars 6 forks source link

traffic shaping for linux bridge #3

Open youngcow opened 7 years ago

youngcow commented 7 years ago

I have two servers and I want to traffic shaping out traffic for sever2: outside ----- (eth1)server1(eth0) -----server2(ipaddr is 1.1.1.1) I used linux bridge, but I don't know how to use this software. I run the command: modprobe nf-hishape device=eth1 hook=for priority=1 ./nf-hishape -f 1.1.1.1 -t 1.1.1.1 -l 1000

But I can download file from server2 in outside and speed is 107MB/s.

Markus-Go commented 7 years ago

Hi,

First of all, there seems to be a problem with kernels > 3.13.0. Unfortunately, I currently don't have time to fix it :(

However, if you only use one server you can simply go with "tc". nf-hishape was intended to manage many parallel IPs (for DDoS mitigation), which you don't have in your setup.