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

0002711: migration of portfw rules which have no continuous rule-number increase will crash with a traceback - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002711Endian FirewallMigrationpublic2010-02-22 19:332010-11-22 12:06
peter-endian 
peter-endian 
normalmajorsometimes
closedfixed 
2.3 
2.3.12.3.1 
0002711: migration of portfw rules which have no continuous rule-number increase will crash with a traceback
there are portfw config files numbered like this:

2,0,udp,
4,0,udp,
7,0,tcp,

current migration script uses the linenumber instead of the keynumber for identifying a portfw rule, which will fail when the numbering is not continuous:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/endian/firewallgui/migration/step__efw_firewall__2__2_3_48__0_endian18.py", line 177, in ?
  File "/usr/lib/python2.4/site-packages/endian/migration/migration.py", line 454, in mainHandler
  File "/usr/lib/python2.4/site-packages/endian/firewallgui/migration/step__efw_firewall__2__2_3_48__0_endian18.py", line 174, in main
  File "/usr/lib/python2.4/site-packages/endian/firewallgui/migration/step__efw_firewall__2__2_3_48__0_endian18.py", line 72, in portfwToDnat
  File "/usr/lib/python2.4/site-packages/endian/core/speciallist.py", line 54, in __getitem__
IndexError: list index out of range
No tags attached.
Issue History
2010-02-22 19:33peter-endianNew Issue
2010-02-22 19:33peter-endianAssigned To => peter-endian
2010-02-22 19:33peter-endianStatusnew => resolved
2010-02-22 19:33peter-endianFixed in Version => 2.3.1
2010-02-22 19:33peter-endianResolutionopen => fixed
2010-11-22 12:06peter-endianStatusresolved => closed

There are no notes attached to this issue.