tangetools/duplicate-packets/duplicate-packets
2017-07-17 04:34:22 +02:00

8 lines
251 B
Bash
Executable file

#!/bin/bash
IF=wls1
sudo tc qdisc del dev $IF root netem duplicate 50
sudo tc qdisc add dev $IF root netem duplicate 50
#sudo tc qdisc del dev $IF root netem duplicate 100% delay 300ms
#sudo tc qdisc add dev $IF root netem duplicate 100% delay 300ms