Apply Patrik Varmeck��'s tunnel patch; add ipset modules to modules file

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2107 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-05-12 14:23:11 +00:00
parent c95bbe4d72
commit 72c9e6364e
4 changed files with 13 additions and 3 deletions

View File

@ -273,7 +273,7 @@ createchain2() # $1 = chain name, $2 = If "yes", create default rules
#
# Determine if a chain exists
#
# When we create a chain "chain", we create a variable named exists_chain and
# When we create a chain "x", we create a variable named exists_x and
# set its value to Yes. This function tests for the "exists_" variable
# corresponding to the passed chain having the value of "Yes".
#

View File

@ -19,4 +19,9 @@
loadmodule ip_nat_ftp
loadmodule ip_nat_tftp
loadmodule ip_nat_irc
loadmodule ip_set
loadmodule ip_set_iphash
loadmodule ip_set_ipmap
loadmodule ip_set_macipmap
loadmodule ip_set_portmap

View File

@ -3,7 +3,12 @@ Shorewall 2.3.0
-----------------------------------------------------------------------
Problems corrected in version 2.3.0
None.
1) A typo in the 'tunnel' script has been corrected (thanks to Patrik
Varmecký).
2) Previously, if "shorewall save" was done with SAVE_IPSETS=Yes then
Shorewall would fail to start on reboot because the ipset modules
were not loaded.
-----------------------------------------------------------------------
New Features in version 2.3.0

View File

@ -108,7 +108,7 @@ do_start() {
case $tunnel_type in
gre)
ip tunnel add $tunnel mode gre remote $gateway local $myrealip ttl 255 ${key:+key $key)
ip tunnel add $tunnel mode gre remote $gateway local $myrealip ttl 255 ${key:+key $key}
;;
*)
ip tunnel add $tunnel mode ipip remote $gateway