Simplify dynamic blacklist restoration

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1829 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-12-14 19:55:51 +00:00
parent 8e0daba796
commit 368b397c99
3 changed files with 5 additions and 2 deletions

View File

@ -183,3 +183,6 @@ Changes since 2.0.3
89) Clarify add/delete syntax in /sbin/shorewall usage summary. 89) Clarify add/delete syntax in /sbin/shorewall usage summary.
90) Implement OpenVPN TCP support 90) Implement OpenVPN TCP support
91) Simplify the absurdly over-engineered code that restores the
dynamic chain.

View File

@ -5685,7 +5685,7 @@ initialize_netfilter () {
while read target ignore1 ignore2 address rest; do while read target ignore1 ignore2 address rest; do
case $target in case $target in
DROP|reject) DROP|reject)
run_iptables2 -A dynamic $(source_ip_range $address) -j $target run_iptables -A dynamic -s $address -j $target
;; ;;
*) *)
;; ;;

View File

@ -193,7 +193,7 @@ Problems corrected since 2.2.0 Beta 8:
help summary produced by /sbin/shorewall. help summary produced by /sbin/shorewall.
----------------------------------------------------------------------- -----------------------------------------------------------------------
Issues when migrating from Shorewall 2.0 to Shorewall 2.1: Issues when migrating from Shorewall 2.0 to Shorewall 2.2:
1) Shorewall configuration files except shorewall.conf are now empty 1) Shorewall configuration files except shorewall.conf are now empty
(they contain only comments). If you wish to retain the defaults (they contain only comments). If you wish to retain the defaults