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

0002221: Destination Network/IP in a Qos Rule crashs the Interface the qos with 500 Internal error - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002221Endian FirewallOther Servicespublic2009-09-28 17:342009-10-27 11:58
Renee 
peter-endian 
normalcrashalways
closedfixed 
2.3-rc1 
2.32.3 
0002221: Destination Network/IP in a Qos Rule crashs the Interface the qos with 500 Internal error
Destination Network/IP in a Qos Rule crashs the Interface the qos with 500 Internal error You must remove the ip adresses in /var/efw/shaping/config and restart the qos to remove the error.
No tags attached.
zip Qos error.zip (163,213) 2009-09-28 17:34
https://bugs.endian.com/file_download.php?file_id=276&type=bug
Issue History
2009-09-28 17:34ReneeNew Issue
2009-09-28 17:34ReneeFile Added: Qos error.zip
2009-09-28 17:51ReneeNote Added: 0003024
2009-09-28 18:45ReneeNote Edited: 0003024
2009-09-29 09:15luca-endianNote Added: 0003028
2009-09-29 09:15luca-endianStatusnew => confirmed
2009-09-29 09:15luca-endianReproducibilityhave not tried => always
2009-09-29 14:49peter-endianStatusconfirmed => new
2009-09-29 14:49peter-endianAssigned To => peter-endian
2009-10-06 15:49peter-endianAssigned Topeter-endian => simon-endian
2009-10-06 15:49peter-endianTarget Version => 2.3
2009-10-06 21:59peter-endianAssigned Tosimon-endian => peter-endian
2009-10-06 22:00peter-endianStatusnew => resolved
2009-10-06 22:00peter-endianFixed in Version => 2.3
2009-10-06 22:00peter-endianResolutionopen => fixed
2009-10-27 11:58peter-endianStatusresolved => closed

Notes
(0003024)
Renee   
2009-09-28 17:51   
(edited on: 2009-09-28 18:45)
I found the Problem the editor Script for Qos provide a comma at the wrong place namely at the end and not as needed between interface and the Ip address.If then one config from hand changes functioned it.

/edit/ Nevertheless, OK does not function the Ips are written in services and the port becomes a Tos value. Although so only surely might not function...

(0003028)
luca-endian   
2009-09-29 09:15   
Confirmed, problem is in the "Destination Network/IP" field.
If you specify more than one ips the error occurs.

There's no log in /var/log/emi

This is the written config line:
root@kenny:/var/efw/shaping # cat config
&192.168.0.16",,,,,EN,,,"192.168.0.15

Debug info:
root@kenny:~ # restartqos.py --debug
2009-09-29 11:12:56,695 - restartqos.py[11342] - ERROR - Migration has to be fixed!!!
2009-09-29 11:12:56,705 - restartqos.py[11342] - INFO - Loading configuration
Traceback (most recent call last):
  File "/usr/local/bin/restartqos.py", line 26, in ?
    setup()
  File "/usr/lib/python2.4/site-packages/endian/qos/commands.py", line 10, in setup
  File "/usr/lib/python2.4/site-packages/endian/qos/qos.py", line 325, in setup
  File "/usr/lib/python2.4/site-packages/endian/qos/qos.py", line 194, in init
  File "/usr/lib/python2.4/site-packages/endian/qos/qos.py", line 71, in parseSettings
  File "/usr/lib/python2.4/site-packages/endian/emi/storage/datasourcestorage.py", line 114, in load
  File "/usr/lib/python2.4/site-packages/endian/emi/storage/datasourcestorage.py", line 162, in getData
  File "/usr/lib/python2.4/site-packages/endian/data/ds.py", line 107, in get
  File "/usr/lib/python2.4/site-packages/endian/data/drivers/csvfile.py", line 33, in _csvGetConfig
  File "/usr/lib/python2.4/site-packages/endian/data/container/csvconfig.py", line 34, in __init__
  File "/usr/lib/python2.4/site-packages/endian/data/container/abstractconfig.py", line 80, in __init__
  File "/usr/lib/python2.4/site-packages/endian/data/container/csvconfig.py", line 49, in _parse
_csv.Error: newline inside string