Check for the existance of the firewall zone

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6036 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-20 14:58:11 +00:00
parent 8f406123b5
commit 5fe9aa1c94
3 changed files with 14 additions and 1 deletions

View File

@ -22,6 +22,10 @@ Changes in 3.9.3
11) Fix all->z rules with 'NONE' policy.
12) Check for reserved zone names.
13) Add check for firewall zone existance.
Changes in 3.9.2
1) Implement '-C {shell|perl}'.

View File

@ -55,6 +55,12 @@ Problems corrected in Shorewall 3.9.3
ERROR: Rules may not override a NONE policy
10) The reserved zone names 'all' and 'none' were not being flagged
when used as the name of a zone.
11) The Shorewall-perl compiler now raises an error if there is no
firewall zone declared.
Other changes in Shorewall 3.9.3
1) An 'optional' option has been added to
@ -92,7 +98,8 @@ Other changes in Shorewall 3.9.3
these options with a wildcard interface (one ending with '+').
3) Thanks to Paul Gear, an IPPServer macro has been added. Be sure to
read the comments in the macro file before trying to use this macro.
read the comments in the macro file before trying to use this
macro.
Migration Considerations:

View File

@ -256,6 +256,8 @@ sub determine_zones()
push @z, $zone;
}
fatal_error "No firewall zone defined" unless $firewall_zone;
my $pushed = 1;
my %ordered;