Skip to content

Instantly share code, notes, and snippets.

@akoidan
Created May 30, 2017 16:38
Show Gist options
  • Select an option

  • Save akoidan/f58669de7ec8f4c6b7d86e39e7846a58 to your computer and use it in GitHub Desktop.

Select an option

Save akoidan/f58669de7ec8f4c6b7d86e39e7846a58 to your computer and use it in GitHub Desktop.
=86400, settings=TrafficControlSetting(down=Shaping(loss=Loss(percentage=0.0, correlation=0.0), delay=Delay(delay=0, jitter=0, correlation=0.0), rate=1, 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=1, 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.12.135 on interface ap0
INFO:AtcdVService.AtcdLinuxShaper:create new HTB class on IFID ap0, classid 1:5,parent 1:0, rate 1kbits
INFO:AtcdVService.AtcdLinuxShaper:create new Netem qdisc on IFID ap0, parent 1:5, loss 0.0%, delay 0
INFO:AtcdVService.AtcdLinuxShaper:create new FW filter on IFID ap0, classid 1:5, handle 5, rate: 1kbits
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -A FORWARD -d 192.168.12.135 -i ap0 -j MARK --set-mark 5
INFO:AtcdVService.AtcdLinuxShaper:Shaping ip 192.168.12.135 on interface enp61s0
INFO:AtcdVService.AtcdLinuxShaper:create new HTB class on IFID enp61s0, classid 1:5,parent 1:0, rate 1kbits
INFO:AtcdVService.AtcdLinuxShaper:create new Netem qdisc on IFID enp61s0, parent 1:5, loss 0.0%, delay 0
INFO:AtcdVService.AtcdLinuxShaper:create new FW filter on IFID enp61s0, classid 1:5, handle 5, rate: 1kbits
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -A FORWARD -s 192.168.12.135 -i enp61s0 -j MARK --set-mark 5
INFO:AtcdVService.AtcdLinuxShaper:Unshaping ip 192.168.12.135 on interface ap0
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -D FORWARD -d 192.168.12.135 -i ap0 -j MARK --set-mark 4
INFO:AtcdVService.AtcdLinuxShaper:deleting filter on IFID ap0, handle 4
INFO:AtcdVService.AtcdLinuxShaper:deleting class on IFID ap0, classid 1:4
INFO:AtcdVService.AtcdLinuxShaper:Unshaping ip 192.168.12.135 on interface enp61s0
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -D FORWARD -s 192.168.12.135 -i enp61s0 -j MARK --set-mark 4
INFO:AtcdVService.AtcdLinuxShaper:deleting filter on IFID enp61s0, handle 4
INFO:AtcdVService.AtcdLinuxShaper:deleting class on IFID enp61s0, classid 1:4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment