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

0001531: firewall templates contain sometimes #if $VAR without expression, which is not always what we want - MantisBT
MantisBT - Endian Firewall
View Issue Details
0001531Endian FirewallFirewall (iptables)public2009-01-13 17:302009-10-27 12:01
peter-endian 
peter-endian 
normalmajorsometimes
closedfixed 
2.2-rc3 
2.32.3 
0001531: firewall templates contain sometimes #if $VAR without expression, which is not always what we want
#if $VAR
is only false if $VAR is empty, if it is 'off', it's *not* false

most input firewall config templates have this issue as well as rules.tmpl
#if $log for example

No tags attached.
Issue History
2009-01-13 17:30peter-endianNew Issue
2009-01-13 17:30peter-endianAssigned To => peter-endian
2009-01-13 17:30peter-endianSeverityminor => major
2009-01-13 17:30peter-endianStatusnew => confirmed
2009-01-13 17:30peter-endianTarget Version => 2.3
2009-01-13 17:43peter-endianNote Added: 0001916
2009-01-13 17:52peter-endianNote Added: 0001917
2009-01-15 16:55peter-endianStatusconfirmed => resolved
2009-01-15 16:55peter-endianFixed in Version => 2.3
2009-01-15 16:55peter-endianResolutionopen => fixed
2009-10-27 12:01peter-endianStatusresolved => closed

Notes
(0001916)
peter-endian   
2009-01-13 17:43   
attention, there are scripts which fill in True or False!!
like restartopenvpn.py
(0001917)
peter-endian   
2009-01-13 17:52   
this is only an issue with efw-openssh! all other packages are ok