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

0002260: dnat: if target port is empty dnat script assumes dst_port instead of leaving it away - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002260Endian FirewallFirewall (iptables)public2009-10-08 20:352009-10-27 11:58
peter-endian 
peter-endian 
normalminorhave not tried
closedfixed 
2.3-rc1 
2.32.3 
0002260: dnat: if target port is empty dnat script assumes dst_port instead of leaving it away
If there is no target_port configured the user want to let the port untouched. If the dst_port will be used as target_port the port will be translated to dst_port.
This will normally not change, but if dst_port is a port-range target-port will become a port-range too.
BUT, thats not the same in iptables. iptables would do a round-robin on the target-port if that's a port range. That's not what one would expect.

-> If target-port is empty it should remain empty and not substituted by dst_port
No tags attached.
Issue History
2009-10-08 20:35peter-endianNew Issue
2009-10-08 20:35peter-endianAssigned To => peter-endian
2009-10-08 20:35peter-endianStatusnew => resolved
2009-10-08 20:35peter-endianFixed in Version => 2.3
2009-10-08 20:35peter-endianResolutionopen => fixed
2009-10-27 11:58peter-endianStatusresolved => closed

There are no notes attached to this issue.