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 Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002711Endian FirewallMigrationpublic2010-02-22 19:332010-11-22 12:06
Reporterpeter-endian 
Assigned Topeter-endian 
PrioritynormalSeveritymajorReproducibilitysometimes
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.3 
Target Version2.3.1Fixed in Version2.3.1 
Summary0002711: migration of portfw rules which have no continuous rule-number increase will crash with a traceback
Descriptionthere 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
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-02-22 19:33 peter-endian New Issue
2010-02-22 19:33 peter-endian Assigned To => peter-endian
2010-02-22 19:33 peter-endian Status new => resolved
2010-02-22 19:33 peter-endian Fixed in Version => 2.3.1
2010-02-22 19:33 peter-endian Resolution open => fixed
2010-11-22 12:06 peter-endian Status resolved => closed

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker