Applied Stijn Jonker's fix for shorewall add

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1319 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-05-09 15:18:35 +00:00
parent 8dba29c478
commit 84858b81f5
3 changed files with 9 additions and 3 deletions

View File

@ -52,4 +52,6 @@ Changes since 2.0.1
25) Added 'initialized' extension script.
26) Renamed 'initialized' to 'initdone'
26) Renamed 'initialized' to 'initdone'
27) Applied Stijn Jonker's fix for "shorewall add"

View File

@ -5616,7 +5616,7 @@ add_to_zone() # $1 = <interface>[:<hosts>] $2 = zone
chain=${zone}_dnat
if nat_chain_exists $chain; then
do_iptables -t nat -A $(dynamic_in) -s $host -j $chain
do_iptables -t nat -A $(dynamic_in $interface) -s $host -j $chain
fi
#
# Insert new rules into the filter table for the passed interface

View File

@ -24,6 +24,10 @@ Problems Corrected since 2.0.2 Beta 2
1) A missing '#' in the rules file caused errors when processing the
file.
2) "shorewall add" returns an error if there are DNAT rules whose
source zone is the zone being added to. Thanks to Stijn Jonker for
providing this correction.
-----------------------------------------------------------------------
Issues when migrating from Shorewall 2.0.0 to Shorewall 2.0.1:
@ -223,4 +227,4 @@ New Features:
at the same point as the 'common' script was previously and is useful for
users who mis-used that script under Shorewall 1.x (the script was intended
for adding rules to the 'common' chain but many users treated it as a script
for adding rules before Shorewall's).
for adding rules before Shorewall's).