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

0004222: System Access rules per IP are wrong - MantisBT
MantisBT - Endian Firewall
View Issue Details
0004222Endian FirewallFirewall (iptables)public2011-12-12 11:092011-12-12 11:10
luca-endian 
peter-endian 
normalmajoralways
resolvedfixed 
2.4.1 
2.5 
0004222: System Access rules per IP are wrong
If you add a system access rule with Source interface a specific uplink ip (and not the whole interface/uplink) the iptables rule add the ip as source and not as destination.

Here an example:
0 0 ACCEPT tcp -- eth3 * 94.80.x.x 0.0.0.0/0 tcp dpt:25

This problem prevent users to enable the listening of services (especially smtp) on a specific ip only and not the whole public assigned subnet.
purple
Issue History
2011-12-12 11:09luca-endianNew Issue
2011-12-12 11:09luca-endianStatusnew => confirmed
2011-12-12 11:09luca-endianTag Attached: purple
2011-12-12 11:10peter-endianNote Added: 0007572
2011-12-12 11:10peter-endianStatusconfirmed => resolved
2011-12-12 11:10peter-endianFixed in Version => 2.5
2011-12-12 11:10peter-endianResolutionopen => fixed
2011-12-12 11:10peter-endianAssigned To => peter-endian

Notes
(0007572)
peter-endian   
2011-12-12 11:10   
ip was used as source ip instead of destination ip during explosion of the rule