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

0002675: QOS doesn't work - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002675Endian FirewallQoSpublic2010-02-11 14:242010-09-20 17:24
Eagle 
peter-endian 
normalmajoralways
acknowledgedopen 
2.3 
future 
0002675: QOS doesn't work
I've configured main uplink for QOS 2000kbit/s Up/Down and enabled it.
the Firewall creates 4 Classes
i created a new class called 'technic' (without ')
QOS Device: UPLINK:main
name: technic
reserved: 10%
limit: 10%
Priority: 1

net i created a rule:

Source: <ANY>
Class: technic
Destination Network/IP: (none) I leaved it blank
Service: <ANY>
Protocol: <ANY>
TOS: <ANY>

I've applied the rule.
Tested...... 2000kbit/s UP/Down :-(
This Rule does not work!

I've tried to restart qos manualy:

root@FIREWALL:~ # restartqos
2010-02-11 15:03:00,235 - restartqos.py[13487] - ERROR - Migration has to be fixed!!!
2010-02-11 15:03:00,236 - restartqos.py[13487] - INFO - Loading configuration
2010-02-11 15:03:00,264 - restartqos.py[13487] - ERROR - RETURNCODE [iptables -t mangle -N QOS 2> /dev/null] 1
2010-02-11 15:03:00,335 - restartqos.py[13487] - INFO - Setting QOS of device: eth1 [UPLOAD=2000, DOWNLOAD=2000]
2010-02-11 15:03:00,384 - restartqos.py[13487] - ERROR - RETURNCODE [iptables -t mangle -N QOS_ETH1 2> /dev/null] 1
2010-02-11 15:03:00,427 - restartqos.py[13487] - ERROR - RETURNCODE [iptables -t mangle -D QOS -o eth1 -j QOS_ETH1 2> /dev/null] 1
Skipping invalid rule: {'inputdev': '', 'protocol': '', 'src': '', 'tos': '', 'dst': '', 'dscp_class': '', 'dscp': '', 'classname': 'class0003', 'mac': '', 'dport': '', 'sport': ''}

.....
ok, a the rule was skipped

I've deleted the rule.
I've created a new rule

Source: IP
IP: 192.168.123.30 (IP of my PC in GREEN Subnet)
Class: technic
Destination Network/IP: (none) I leaved it blank
Service: <ANY>
Protocol: <ANY>
TOS: <ANY>

I've applied the rule.
Tested......near 2000kbit/s UP/Down :-(
This Rule also does not work!

I've tried to restart qos manualy:

root@FIREWALL:~ # restartqos
2010-02-11 15:03:00,235 - restartqos.py[13487] - ERROR - Migration has to be fixed!!!
2010-02-11 15:03:00,236 - restartqos.py[13487] - INFO - Loading configuration
2010-02-11 15:03:00,264 - restartqos.py[13487] - ERROR - RETURNCODE [iptables -t mangle -N QOS 2> /dev/null] 1
2010-02-11 15:03:00,335 - restartqos.py[13487] - INFO - Setting QOS of device: eth1 [UPLOAD=2000, DOWNLOAD=2000]
2010-02-11 15:03:00,384 - restartqos.py[13487] - ERROR - RETURNCODE [iptables -t mangle -N QOS_ETH1 2> /dev/null] 1
2010-02-11 15:03:00,427 - restartqos.py[13487] - ERROR - RETURNCODE [iptables -t mangle -D QOS -o eth1 -j QOS_ETH1 2> /dev/null] 1


What's gonig wrong?
tryed an other endian 2.3, same result
No tags attached.
child of 0003045confirmed peter-endian TODO: QoS rework - QoS collecting ticket 
Issue History
2010-02-11 14:24EagleNew Issue
2010-02-11 14:47EagleNote Added: 0003765
2010-03-12 14:46ra-endianAssigned To => peter-endian
2010-03-12 14:46ra-endianStatusnew => acknowledged
2010-06-07 13:46peter-endianTarget Version => future
2010-07-05 16:39peter-endianRelationship addedchild of 0003045
2010-09-20 17:24peter-endianCategoryOther Services => QoS

Notes
(0003765)
Eagle   
2010-02-11 14:47   
4 Info:
I wanted to reduce the up & download for some PCs in the network....