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

0000799: Gui firewall mesaj Firewall rules have been changed and need to be applied in order to make the changes active - MantisBT
MantisBT - Endian Firewall
View Issue Details
0000799Endian FirewallGUIpublic2008-05-14 07:132008-07-27 20:18
mormogeacl 
peter-endian 
normalminoralways
closedfixed 
2.2-rc1 
2.2-rc22.2-rc2 
0000799: Gui firewall mesaj Firewall rules have been changed and need to be applied in order to make the changes active
Mesaj persist Firewall rules have been changed and need to be applied in order to make the changes active
No tags attached.
parent of 0000929closed peter-endian csvfile class need to ignore carriage returns 
jpg gui firewall1.JPG (215,462) 2008-05-14 07:13
https://bugs.endian.com/file_download.php?file_id=137&type=bug
jpg

jpg output.JPG (142,646) 2008-05-14 11:20
https://bugs.endian.com/file_download.php?file_id=139&type=bug
jpg
Issue History
2008-05-14 07:13mormogeaclNew Issue
2008-05-14 07:13mormogeaclFile Added: gui firewall1.JPG
2008-05-14 10:44peter-endianNote Added: 0001160
2008-05-14 11:20mormogeaclFile Added: output.JPG
2008-05-14 13:48peter-endianNote Added: 0001167
2008-05-14 15:47mormogeaclNote Added: 0001168
2008-05-15 05:15mormogeaclNote Edited: 0001168
2008-05-15 18:08peter-endianTarget Version => 2.2
2008-05-15 19:33peter-endianNote Added: 0001187
2008-05-15 20:03peter-endianStatusnew => assigned
2008-05-15 20:03peter-endianAssigned To => peter-endian
2008-06-03 10:06peter-endianTarget Version2.2 => 2.2-rc2
2008-06-11 08:59peter-endianNote Added: 0001303
2008-06-11 09:02peter-endianIssue cloned: 0000929
2008-06-11 09:02peter-endianRelationship addedparent of 0000929
2008-06-16 15:05peter-endianStatusassigned => resolved
2008-06-16 15:05peter-endianFixed in Version => 2.2-rc2
2008-06-16 15:05peter-endianResolutionopen => fixed
2008-07-27 20:18peter-endianStatusresolved => closed

Notes
(0001160)
peter-endian   
2008-05-14 10:44   
could you please start within console:

setportfw.py --debug

and send us the output?

and please send me the output of:
grep setportfw /etc/sudoers
(0001167)
peter-endian   
2008-05-14 13:48   
oh, that's interesting

could you please attach:

cat /var/efw/portfw/config

did you restore an older backup?
(0001168)
mormogeacl   
2008-05-14 15:47   
(edited on: 2008-05-15 05:15)
yes restore a backup

root@endian:~ # cat /var/efw/portfw/config
,,0,tcp,53,172.28.12.2,53,on,192.168.1.102,0.0.0.0/0,,UPLINK:main,off
,,0,udp,53,172.28.12.2,53,on,192.168.1.102,0.0.0.0/0,,UPLINK:main,off
,,0,tcp,80,172.28.1.10,80,on,192.168.1.10,0.0.0.0/0,,UPLINK:main,off
4,0,tcp,21,172.28.1.10,21,on,192.168.1.10,0.0.0.0/0,,UPLINK:main,on,off
root@endian:~ #

(0001187)
peter-endian   
2008-05-15 19:33   
that format is wrong. however i cannot reproduce how this can be happen.
could you please attach the file /var/efw/portfw/config ?
i think somehow it managed it to contain invalid characters
(0001303)
peter-endian   
2008-06-11 08:59   
the problem is:
the last field does not containt 'off', but 'off\r'

no idea how this can happen -> Csvfile class need to ignore carriage returns