forked from extern/shorewall_code
Validate log level in Policy File
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6903 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7fc5e64349
commit
e26dd87513
@ -9,6 +9,8 @@ Changes in 4.0.0 Final
|
||||
4) Consolicate Common.pm + Config.pm and Interfaces.pm + Hosts.pm +
|
||||
Zones.pm.
|
||||
|
||||
5) Validate log level in policy file.
|
||||
|
||||
Changes in 4.0.0 RC 2
|
||||
|
||||
1) Fix zone type check in Tunnels File.
|
||||
|
@ -38,6 +38,9 @@ Problems corrected in 4.0.0 Final.
|
||||
specify SHOREWALL_COMPILER= and the original is saved in
|
||||
shorewall.conf.rpmsave.
|
||||
|
||||
3) The contents of the LOG LEVEL column in /etc/shorewall/policy are
|
||||
now validated at compile time by Shorewall-perl.
|
||||
|
||||
Other changes in Shorewall 4.0.0 Final.
|
||||
|
||||
1) The Perl modules in /usr/share/shorewall-perl/Shorewall/ have been
|
||||
|
@ -216,7 +216,7 @@ sub validate_policy()
|
||||
push @policy_chains, ( $chainref );
|
||||
}
|
||||
|
||||
$chainref->{loglevel} = $loglevel if defined $loglevel && $loglevel ne '';
|
||||
$chainref->{loglevel} = validate_level( $loglevel ) if defined $loglevel && $loglevel ne '';
|
||||
$chainref->{synparams} = do_ratelimit $synparams, 'ACCEPT' if $synparams ne '';
|
||||
$chainref->{default} = $default if $default;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user