Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Ashishjshetty/e9a1dba9dedddd9ab818703f5e6278f9 to your computer and use it in GitHub Desktop.
Save Ashishjshetty/e9a1dba9dedddd9ab818703f5e6278f9 to your computer and use it in GitHub Desktop.
INFO:AtcdVService.AtcdLinuxShaper:Request startShaping TrafficControl(device=TrafficControlledDevice(controllingIP='192.168.1.101', controlledIP='192.168.1.101'), timeout=86400, settings=TrafficControlSetting(down=Shaping(loss=Loss(percentage=0.0, correlation=0.0), delay=Delay(delay=0, jitter=0, correlation=0.0), rate=10, iptables_options=[], corruption=Corruption(percentage=0.0, correlation=0.0), reorder=Reorder(percentage=0.0, correlation=0.0, gap=0)), up=Shaping(loss=Loss(percentage=0.0, correlation=0.0), delay=Delay(delay=0, jitter=0, correlation=0.0), rate=10, iptables_options=[], corruption=Corruption(percentage=0.0, correlation=0.0), reorder=Reorder(percentage=0.0, correlation=0.0, gap=0))))
INFO:AtcdVService.AtcdLinuxShaper:Shaping ip 192.168.1.101 on interface eth0
INFO:AtcdVService.AtcdLinuxShaper:create new HTB class on IFID eth0, classid 1:4,parent 1:0, rate 10kbits
INFO:AtcdVService.AtcdLinuxShaper:create new Netem qdisc on IFID eth0, parent 1:4, loss 0.0%, delay 0
INFO:AtcdVService.AtcdLinuxShaper:create new FW filter on IFID eth0, classid 1:4, handle 4, rate: 10kbits
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -A FORWARD -d 192.168.1.101 -i eth0 -j MARK --set-mark 4
INFO:AtcdVService.AtcdLinuxShaper:Shaping ip 192.168.1.101 on interface wlan0
INFO:AtcdVService.AtcdLinuxShaper:create new HTB class on IFID wlan0, classid 1:4,parent 1:0, rate 10kbits
INFO:AtcdVService.AtcdLinuxShaper:create new Netem qdisc on IFID wlan0, parent 1:4, loss 0.0%, delay 0
INFO:AtcdVService.AtcdLinuxShaper:create new FW filter on IFID wlan0, classid 1:4, handle 4, rate: 10kbits
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -A FORWARD -s 192.168.1.101 -i wlan0 -j MARK --set-mark 4
INFO:AtcdVService.AtcdLinuxShaper:Unshaping ip 192.168.1.101 on interface eth0
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -D FORWARD -d 192.168.1.101 -i eth0 -j MARK --set-mark 3
INFO:AtcdVService.AtcdLinuxShaper:deleting filter on IFID eth0, handle 3
INFO:AtcdVService.AtcdLinuxShaper:deleting class on IFID eth0, classid 1:3
INFO:AtcdVService.AtcdLinuxShaper:Unshaping ip 192.168.1.101 on interface wlan0
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -D FORWARD -s 192.168.1.101 -i wlan0 -j MARK --set-mark 3
INFO:AtcdVService.AtcdLinuxShaper:deleting filter on IFID wlan0, handle 3
INFO:AtcdVService.AtcdLinuxShaper:deleting class on IFID wlan0, classid 1:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment