Fix DYNAMIC_ZONES=Yes is shorewall-shell

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8575 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-06-18 22:06:56 +00:00
parent 7501a1f189
commit 81bde95ce0
3 changed files with 12 additions and 2 deletions

View File

@ -16,6 +16,9 @@ Changes in 4.2.0-Beta1
2) Allow upper-case A-F in hex representation of MARK in tcclasses.
3) De-implement DYNAMIC_ZONES=Yes in Shorewall-perl and fix it in
Shorewall-shell.
Changes in 4.1.8
1) Fix some parsing issues with absurd configurations.

View File

@ -91,6 +91,13 @@ Problems Corrected in Shorewall-perl 4.2.0 Beta 2
'!' to specify that matching IP addresses are not members of the
set.
Problems Corrected in Shorewall-shell 4.2.0 Beta 2.
1) When DYNAMIC_ZONES=Yes, certain configurations would produce an
invalid /var/lib/shorewall/chains file at run-time. The invalid file
contents resulted in errors during processing of the "shorewall add"
command.
Other Changes in Shoreall 4.2.0 Beta 2.
1) A 'save' extension script is added. The script is run after

View File

@ -4330,8 +4330,8 @@ activate_rules()
fi
if [ -n "$DYNAMIC_ZONES" ]; then
echo "$FW $zone $chain1" >> $STATEDIR/chains
echo "$zone $FW $chain2" >> $STATEDIR/chains
[ -n "$chain1" ] && echo "$FW $zone $chain1" >> $STATEDIR/chains
[ -n "$chain2" ] && echo "$zone $FW $chain2" >> $STATEDIR/chains
fi
need_broadcast=