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

0001134: creating zone subnet acl if <zone>_IPS ends with , fails - MantisBT
MantisBT - Endian Firewall
View Issue Details
0001134Endian FirewallProxy HTTPpublic2008-07-16 23:532008-07-27 20:18
0001134: creating zone subnet acl if <zone>_IPS ends with , fails
if <zone>_IPS ends with , the creation of a new zone subnet acl fail because cidr from empty string can├čt be generated

Traceback (most recent call last):
  File "/usr/local/bin/", line 1628, in ?
  File "/usr/local/bin/", line 1012, in checkSubnets
  File "/usr/local/bin/", line 975, in createZoneSubnets
    newnets = map(lambda x: cidrnet2nmnet(x), newnets)
  File "/usr/local/bin/", line 975, in <lambda>
    newnets = map(lambda x: cidrnet2nmnet(x), newnets)
  File "/usr/local/bin/", line 860, in cidrnet2nmnet
    obj = iplib.CIDR(net)
  File "/usr/lib/python2.4/site-packages/", line 611, in __init__
    self.set(ip, netmask)
  File "/usr/lib/python2.4/site-packages/", line 619, in set
    raise ValueError, 'set: invalid CIDR: "' + str(ip) + '"'

No tags attached.
Issue History
2008-07-16 23:53simon-endianNew Issue
2008-07-16 23:53simon-endianStatusnew => assigned
2008-07-16 23:53simon-endianAssigned To => simon-endian
2008-07-16 23:57simon-endianStatusassigned => resolved
2008-07-16 23:57simon-endianFixed in Version => 2.2-rc2
2008-07-16 23:57simon-endianResolutionopen => fixed
2008-07-16 23:57simon-endianNote Added: 0001455
2008-07-27 20:18peter-endianStatusresolved => closed

2008-07-16 23:57   
- if <zone>_IPS in /var/efw/ethernet/settings ends with , the emtpy string in the split array is deleted