Stefan Engel's fix for 'shorewall delete'

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1306 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-05-04 00:25:15 +00:00
parent 8014f3a824
commit 3b2513e612
3 changed files with 11 additions and 2 deletions

View File

@ -39,3 +39,9 @@ Changes since 2.0.1
18) 'shorewall forget'
19) SNAT/MASQUERADE by proto/port(s)
20) Shorewall 2.0.2 Beta 1 changes.
21) Fix ALL INTERFACES column parsing.
22) Correct "shorewall delete" processing.

View File

@ -5740,7 +5740,7 @@ delete_from_zone() # $1 = <interface>[:<hosts>] $2 = zone
hosts=${h#*:}
if [ "$iface" != "$interface" -o "$hosts" != "$host" ]; then
qt iptables -D $source_chain -s $host -o $iface $(match_source_hosts $hosts) -j $chain
qt iptables -D $source_chain -s $host -o $iface $(match_dest_hosts $hosts) -j $chain
fi
done
fi

View File

@ -12,10 +12,13 @@ Problems Corrected since 2.0.1
2) A meaningless warning message out of the proxyarp file processing
has been eliminated.
3) The "shorewall delete" command now correctly removes all dynamic
rules pertaining to the host(s) being deleted.
Problems Corrected since 2.0.2 Beta 1
1) The ALL INTERFACES column in the /etc/shorewall/nat file may now
once again be entered as "yes".
once again be entered as "yes".
-----------------------------------------------------------------------
Issues when migrating from Shorewall 2.0.0 to Shorewall 2.0.1: