This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by iptables-save v1.4.21 on Thu Sep 1 11:30:43 2016 | |
*mangle | |
:PREROUTING ACCEPT [8530:7653726] | |
:INPUT ACCEPT [7661:7485311] | |
:FORWARD ACCEPT [356:124569] | |
:OUTPUT ACCEPT [5073:511066] | |
:POSTROUTING ACCEPT [5563:657881] | |
-A FORWARD -d 127.0.0.1/32 -i eth0 -j MARK --set-xmark 0x2/0xffffffff | |
-A FORWARD -s 127.0.0.1/32 -i wlan0 -j MARK --set-xmark 0x2/0xffffffff | |
-A POSTROUTING -o virbr0 -p udp -m udp --dport 68 -j CHECKSUM --checksum-fill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:AtcdVService.AtcdNBServerTask:AtcdNBServerTask Server Started on 127.0.0.1:9090 | |
INFO:AtcdVService.AtcdLinuxShaper:Calling initialize_shaping_system | |
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -F FORWARD | |
INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on eth0 | |
INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on eth0 | |
INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on wlan0 | |
INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on wlan0 | |
INFO:AtcdVService.AtcdLinuxShaper:Restoring shaped connection from DB | |
INFO:AtcdVService.AtcdLinuxShaper:Request startShaping TrafficControl(device=TrafficControlledDevice(controllingIP='192.168.1.99', controlledIP='192.168.1.99'), timeout=20.665638208389282, 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=Sha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by iptables-save v1.4.21 on Wed Aug 31 12:44:41 2016 | |
*mangle | |
:PREROUTING ACCEPT [33566:22200741] | |
:INPUT ACCEPT [8723:1279108] | |
:FORWARD ACCEPT [24003:20881794] | |
:OUTPUT ACCEPT [7492:906643] | |
:POSTROUTING ACCEPT [31563:21799810] | |
-A FORWARD -d 192.168.1.77/32 -i eth0 -j MARK --set-xmark 0x2/0xffffffff | |
-A FORWARD -s 192.168.1.77/32 -i wlan0 -j MARK --set-xmark 0x2/0xffffffff | |
-A FORWARD -d 192.168.1.101/32 -i eth0 -j MARK --set-xmark 0x3/0xffffffff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo atcd --atcd-wan eth0 --atcd-lan wlan0 --atcd-iptables /sbin/iptables | |
INFO:AtcdVService.AtcdNBServerTask:AtcdNBServerTask Server Started on 127.0.0.1:9090 | |
INFO:AtcdVService.AtcdLinuxShaper:Calling initialize_shaping_system | |
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -F FORWARD | |
INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on wlan0 | |
INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on wlan0 | |
INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on eth0 | |
INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on eth0 | |
INFO:AtcdVService.AtcdLinuxShaper:Restoring shaped connection from DB | |
INFO:AtcdVService.AtcdLinuxShaper:Request startShaping TrafficControl(device=TrafficControlledDevice(controllingIP='192.168.1.77', controlledIP='192.168.1.77'), timeout=15103.028617143631, 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, correla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######### uname -a ######### | |
Linux ashish-Vostro-3546 4.4.0-34-generic #53~14.04.1-Ubuntu SMP Wed Jul 27 16:56:40 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux | |
######### cat /etc/os-release ######### | |
NAME="elementary OS" | |
VERSION="0.3.2 Freya" | |
ID="elementary OS" | |
ID_LIKE=ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.AtcdLinuxShap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:AtcdVService.AtcdNBServerTask:AtcdNBServerTask Server Started on 127.0.0.1:9090 | |
CRITICAL:AtcdVService.AtcdLinuxShaper:One of the following interfaces does not exist: eth1, eth0 | |
ERROR:sparts.tasks:Error creating task, AtcdLinuxShaper | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/sparts/vtask.py", line 313, in init | |
t.initTask() | |
File "/usr/local/lib/python2.7/dist-packages/atcd/backends/linux.py", line 48, in initTask | |
super(AtcdLinuxShaper, self).initTask() | |
File "/usr/local/lib/python2.7/dist-packages/atcd/AtcdThriftHandlerTask.py", line 227, in initTask | |
self._links_lookup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO:AtcdVService.AtcdNBServerTask:AtcdNBServerTask Server Started on 127.0.0.1:9090 | |
INFO:AtcdVService.AtcdLinuxShaper:Calling initialize_shaping_system | |
INFO:AtcdVService.AtcdLinuxShaper:Running /sbin/iptables -t mangle -F FORWARD | |
INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on eth0 | |
INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on eth0 | |
INFO:AtcdVService.AtcdLinuxShaper:deleting root QDisc on wlan0 | |
INFO:AtcdVService.AtcdLinuxShaper:setting root qdisc on wlan0 | |
INFO:AtcdVService.AtcdLinuxShaper:Restoring shaped connection from DB | |
INFO:AtcdVService.AtcdLinuxShaper:Request startShaping TrafficControl(device=TrafficControlledDevice(controllingIP='192.168.1.99', controlledIP='192.168.1.99'), timeout=20.665638208389282, 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=Sha |