SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0003008: Qos error with mac adress as Source - MantisBT
MantisBT - Endian Firewall
View Issue Details
0003008Endian FirewallQoSpublic2010-06-15 01:262010-09-20 17:24
Renee 
 
normaltweakalways
acknowledgedopen 
2.4 
 
0003008: Qos error with mac adress as Source
I have a mac Adress as source for Red but Iptables show no rules for the red interface so i start restart qos and get some errors .It seems as is an invalid argument in the iptables command line.
2010-06-15 03:11:05,134 - restartqos.py[5603] - INFO - Loading configuration
2010-06-15 03:11:05,338 - restartqos.py[5603] - INFO - Setting QOS of device: et h2 [UPLOAD=384, DOWNLOAD=3040]
2010-06-15 03:11:06,602 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 53 -j CLASSIFY --set-class 2:2] 1
2010-06-15 03:11:06,645 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 53 -j RETURN] 1
2010-06-15 03:11:06,689 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 53 -j CLASSIFY --set-class 2:2] 1
2010-06-15 03:11:06,732 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 53 -j RETURN] 1
2010-06-15 03:11:06,776 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto udp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 53 -j CLASSIFY --set-class 2:2] 1
2010-06-15 03:11:06,819 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto udp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 53 -j RETURN] 1
2010-06-15 03:11:06,863 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto udp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 53 -j CLASSIFY --set-class 2:2] 1
2010-06-15 03:11:06,907 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto udp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 53 -j RETURN] 1
2010-06-15 03:11:06,950 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 1935 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:06,994 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 1935 -j RETURN] 1
2010-06-15 03:11:07,037 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 1935 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,081 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 1935 -j RETURN] 1
2010-06-15 03:11:07,125 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 110 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,168 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 110 -j RETURN] 1
2010-06-15 03:11:07,212 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 110 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,256 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 110 -j RETURN] 1
2010-06-15 03:11:07,300 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 143 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,344 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 143 -j RETURN] 1
2010-06-15 03:11:07,388 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 143 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,432 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 143 -j RETURN] 1
2010-06-15 03:11:07,474 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 25 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,518 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 25 -j RETURN] 1
2010-06-15 03:11:07,561 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 25 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,605 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 25 -j RETURN] 1
2010-06-15 03:11:07,649 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 993 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,693 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 993 -j RETURN] 1
2010-06-15 03:11:07,736 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 993 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,779 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 993 -j RETURN] 1
2010-06-15 03:11:07,822 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 995 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,866 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 995 -j RETURN] 1
2010-06-15 03:11:07,910 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 995 -j CLASSIFY --set-class 2:3] 1
2010-06-15 03:11:07,953 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 995 -j RETURN] 1
2010-06-15 03:11:07,997 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 20 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,040 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 20 -j RETURN] 1
2010-06-15 03:11:08,084 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 20 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,128 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 20 -j RETURN] 1
2010-06-15 03:11:08,172 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 21 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,214 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 21 -j RETURN] 1
2010-06-15 03:11:08,258 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 21 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,302 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 21 -j RETURN] 1
2010-06-15 03:11:08,345 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 80 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,390 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 80 -j RETURN] 1
2010-06-15 03:11:08,434 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 80 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,478 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 80 -j RETURN] 1
2010-06-15 03:11:08,522 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 443 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,582 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 443 -j RETURN] 1
2010-06-15 03:11:08,626 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 443 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,676 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 443 -j RETURN] 1
2010-06-15 03:11:08,723 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 8080 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,771 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 8080 -j RETURN] 1
2010-06-15 03:11:08,816 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 8080 -j CLASSIFY --set-class 2:4] 1
2010-06-15 03:11:08,859 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 8080 -j RETURN] 1
2010-06-15 03:11:08,903 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 22 -j CLASSIFY --set-class 2:5] 1
2010-06-15 03:11:08,946 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 22 -j RETURN] 1
2010-06-15 03:11:08,990 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 22 -j CLASSIFY --set-class 2:5] 1
2010-06-15 03:11:09,033 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 22 -j RETURN] 1
2010-06-15 03:11:09,077 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 5190:5194 -j CLASSIFY --set-class 2:5] 1
2010-06-15 03:11:09,123 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 5190:5194 -j RETURN] 1
2010-06-15 03:11:09,167 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 5190:5194 -j CLASSIFY --set-class 2:5] 1
2010-06-15 03:11:09,210 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 5190:5194 -j RETURN] 1
2010-06-15 03:11:09,254 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 0:65535 -j CLASSIFY --set-class 2:6] 1
2010-06-15 03:11:09,297 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 0:65535 -j RETURN] 1
2010-06-15 03:11:09,341 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 0:65535 -j CLASSIFY --set-class 2:6] 1
2010-06-15 03:11:09,384 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto tcp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 0:65535 -j RETURN] 1
2010-06-15 03:11:09,427 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto udp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 0:65535 -j CLASSIFY --set-class 2:6] 1
2010-06-15 03:11:09,470 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto udp -m mac --mac-source 00:00:d1:1b:91:b1 --source-po rt 0:65535 -j RETURN] 1
2010-06-15 03:11:09,514 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto udp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 0:65535 -j CLASSIFY --set-class 2:6] 1
2010-06-15 03:11:09,557 - restartqos.py[5603] - ERROR - RETURNCODE [iptables -t mangle -A QOS_ETH2 --proto udp -m mac --mac-source 00:00:d1:1b:91:b1 --destinati on-port 0:65535 -j RETURN] 1
2010-06-15 03:11:09,573 - restartqos.py[5603] - INFO - Setting QOS of device: br 0 [UPLOAD=102400, DOWNLOAD=102400]
2010-06-15 03:11:13,381 - restartqos.py[5603] - INFO - Setting QOS of device: br 2 [UPLOAD=102400, DOWNLOAD=102400]
2010-06-15 03:11:13,716 - restartqos.py[5603] - ERROR - RETURNCODE [ip link set dev ifb2 up] 255
2010-06-15 03:11:13,871 - restartqos.py[5603] - ERROR - RETURNCODE [tc filter ad d dev br2 parent ffff: protocol ip u32 match u32 0 0 flowid 5:1 action mirred eg ress redirect dev ifb2 > /dev/null 2>&1] 1
2010-06-15 03:11:14,008 - restartqos.py[5603] - ERROR - RETURNCODE [tc qdisc add dev ifb2 root handle 5: htb default 2] 1
2010-06-15 03:11:14,078 - restartqos.py[5603] - ERROR - RETURNCODE [tc class add dev ifb2 parent 5: classid 5:1 htb rate 98304kbit ceil 98304kbit] 1
2010-06-15 03:11:14,150 - restartqos.py[5603] - ERROR - RETURNCODE [tc class add dev ifb2 parent 5:1 classid 5:2 htb rate 98304kbit ceil 98304kbit prio 0] 1
2010-06-15 03:11:14,219 - restartqos.py[5603] - ERROR - RETURNCODE [tc qdisc add dev ifb2 parent 5:2 handle 502: sfq perturb 10 ] 1
No tags attached.
child of 0003045confirmed peter-endian TODO: QoS rework - QoS collecting ticket 
Issue History
2010-06-15 01:26ReneeNew Issue
2010-07-05 16:40peter-endianRelationship addedchild of 0003045
2010-09-20 16:25peter-endianCategoryFirewall (iptables) => QoS
2010-09-20 16:29peter-endianStatusnew => acknowledged

There are no notes attached to this issue.