Generate error on port == 0

This commit is contained in:
Tom Eastep 2009-11-22 08:39:03 -08:00
parent 76e7dea858
commit bd9c0ac285
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,8 @@ Changes in Shorewall 4.4.5
2) Fix handling of interfaces with the 'bridge' option. 2) Fix handling of interfaces with the 'bridge' option.
3) Generate error for port number 0
Changes in Shorewall 4.4.4 Changes in Shorewall 4.4.4
1) Change STARTUP_LOG and LOG_VERBOSITY in default shorewall6.conf. 1) Change STARTUP_LOG and LOG_VERBOSITY in default shorewall6.conf.

View File

@ -187,6 +187,10 @@ Shorewall 4.4.5
Undefined subroutine &Shorewall::Rules::match_source_interface called Undefined subroutine &Shorewall::Rules::match_source_interface called
at /usr/share/shorewall/Shorewall/Rules.pm line 2319. at /usr/share/shorewall/Shorewall/Rules.pm line 2319.
3) The compiler now flags port number 0 as an error. Previously, port
0 was allowed with the result that invalid iptables-restore input
could be generated.
---------------------------------------------------------------------------- ----------------------------------------------------------------------------
K N O W N P R O B L E M S R E M A I N I N G K N O W N P R O B L E M S R E M A I N I N G
---------------------------------------------------------------------------- ----------------------------------------------------------------------------