Fix multiple blacklist interface bug

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1498 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-07-25 23:26:52 +00:00
parent 02456616c3
commit a95025686d
4 changed files with 22 additions and 2 deletions

View File

@ -37,6 +37,10 @@
# ACCEPT:debugging). This causes the packet to be
# logged at the specified level.
#
# The special log level 'none' does not result in logging
# but rather exempts the rule from being overridden by a
# non-forcing log level when the action is invoked.
#
# You may also specify ULOG (must be in upper case) as a
# log level.This will log to the ULOG target for routing
# to a separate log through use of ulogd

View File

@ -33,4 +33,6 @@ Changes since 2.0.3
10) Port "shorewall status" changes from 2.0.7.
11) All config files are now empty.
11) All config files are now empty.
12) Port blacklisting fix from 2.0.7

View File

@ -4594,7 +4594,7 @@ process_blacklist_rec() {
# Setup the Black List
#
setup_blacklist() {
local hosts=$(find_hosts_by_option blacklist)
local hosts="$(find_hosts_by_option blacklist)"
local f=$(find_file blacklist)
local disposition=$BLACKLIST_DISPOSITION

View File

@ -72,6 +72,20 @@
# DNAT:debug). This causes the packet to be
# logged at the specified level.
#
# If the ACTION names an action devined in
# /etc/shorewall/actions or in
# /usr/share/shorewall/actions.std then:
#
# - If the log level is followed by "!' then all rules
# in the action are logged at the log level.
#
# - If the log level is not followed by "!" then only
# those rules in the action that do not specify
# logging are logged at the specified level.
#
# - The special log level 'none!' suppresses logging
# by the action.
#
# You may also specify ULOG (must be in upper case) as a
# log level.This will log to the ULOG target for routing
# to a separate log through use of ulogd