Fix problems with oddball shells; updated documentation

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@260 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2002-09-28 00:31:15 +00:00
parent f536d805b0
commit 86d7723602
3 changed files with 9 additions and 7 deletions

View File

@ -13,4 +13,6 @@ Changes since 1.3.8
5. Don't insist on state NEW for protocols other than tcp, udp and 5. Don't insist on state NEW for protocols other than tcp, udp and
icmp. Workaround for conntrack glitches in other protocols. icmp. Workaround for conntrack glitches in other protocols.
6. Move 'functions' and 'firewall' to /usr/lib/shorewall. 6. Move 'functions', 'version' and 'firewall' to /usr/lib/shorewall.
7. Fix problems with oddball shells.

View File

@ -74,7 +74,7 @@ list_search() # $1 = element to search for , $2-$n = list
# Function to count list elements # # Function to count list elements #
############################################################################### ###############################################################################
list_count() { list_count() {
local temp=`separate_list $1` local temp="`separate_list $1`"
echo $temp | wc -w echo $temp | wc -w
} }
@ -592,7 +592,7 @@ validate_rule() {
# Ensure that the passed comma-separated list has 15 or fewer elements # Ensure that the passed comma-separated list has 15 or fewer elements
# #
validate_list() { validate_list() {
local temp=`separate_list $1` local temp="`separate_list $1`"
[ `echo $temp | wc -w` -le 15 ] [ `echo $temp | wc -w` -le 15 ]
} }

View File

@ -11,7 +11,7 @@ New features include:
3. Shorewall startup is now disabled after initial installation until 3. Shorewall startup is now disabled after initial installation until
the file /etc/shorewall/shorewall_disabled is removed. the file /etc/shorewall/shorewall_disabled is removed.
4. The 'functions' file and the 'firewall' symbolic link have been 4. The 'functions' and 'version' files and the 'firewall' symbolic link
moved from /var/lib/shorewall to /usr/lib/shorewall to appease the have been moved from /var/lib/shorewall to /usr/lib/shorewall to
LFS police at Debian. Bering users may now insert "var/lib/shorewall" appease the LFS police at Debian. Bering users may now insert
back into /var/lib/lrpkg/root.exclude.list. "var/lib/shorewall" back into /var/lib/lrpkg/root.exclude.list.