When I'm trying to configure trafficshaping module and save changes, I got thiss error no matter what settings are:
2012/04/27 12:52:06 INFO> GlobalImpl.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall trafficshaping
2012/04/27 12:52:06 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: firewall
2012/04/27 12:52:09 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: trafficshaping
2012/04/27 12:52:10 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command set -e
/sbin/iptables -t mangle -A EBOX-L7SHAPER-ppp0 -j NFQUEUE --queue
/sbin/iptables -t mangle -I EBOX-SHAPER-ppp0 -m mark --mark 0x100/0xFF00 -j MARK --set-mark 0x0
/sbin/iptables -t mangle -I EBOX-SHAPER-ppp0 -m mark --mark 0x200/0xFF00 -j MARK --set-mark 0x0
/sbin/iptables -t mangle -A EBOX-SHAPER-ppp0 -m mark --mark 0x500/0xFF00 -j MARK --set-mark 0x500
/sbin/iptables -t mangle -A EBOX-SHAPER-ppp0 -m mark --mark 0x600/0xFF00 -j MARK --set-mark 0x600 failed.
Error output: iptables v1.4.4: option `--queue' requires an argument
Try `iptables -h' or 'iptables --help' for more information.
Command output: .
Exit value: 2
2012/04/27 12:52:10 ERROR> GlobalImpl.pm:612 EBox::GlobalImpl::__ANON__ - Failed to save changes in module trafficshaping: root command set -e
/sbin/iptables -t mangle -A EBOX-L7SHAPER-ppp0 -j NFQUEUE --queue
/sbin/iptables -t mangle -I EBOX-SHAPER-ppp0 -m mark --mark 0x100/0xFF00 -j MARK --set-mark 0x0
/sbin/iptables -t mangle -I EBOX-SHAPER-ppp0 -m mark --mark 0x200/0xFF00 -j MARK --set-mark 0x0
/sbin/iptables -t mangle -A EBOX-SHAPER-ppp0 -m mark --mark 0x500/0xFF00 -j MARK --set-mark 0x500
/sbin/iptables -t mangle -A EBOX-SHAPER-ppp0 -m mark --mark 0x600/0xFF00 -j MARK --set-mark 0x600 failed.
Error output: iptables v1.4.4: option `--queue' requires an argument
Try `iptables -h' or 'iptables --help' for more information.
Command output: .
Exit value: 2
2012/04/27 12:52:10 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: trafficshaping
What's wrong?
My intention was to set first rule for p2p traffic (limit bandwith and reduce priority).