mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 18:51:24 +02:00
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:
parent
02456616c3
commit
a95025686d
@ -37,6 +37,10 @@
|
|||||||
# ACCEPT:debugging). This causes the packet to be
|
# ACCEPT:debugging). This causes the packet to be
|
||||||
# logged at the specified level.
|
# 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
|
# You may also specify ULOG (must be in upper case) as a
|
||||||
# log level.This will log to the ULOG target for routing
|
# log level.This will log to the ULOG target for routing
|
||||||
# to a separate log through use of ulogd
|
# to a separate log through use of ulogd
|
||||||
|
@ -33,4 +33,6 @@ Changes since 2.0.3
|
|||||||
|
|
||||||
10) Port "shorewall status" changes from 2.0.7.
|
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
|
@ -4594,7 +4594,7 @@ process_blacklist_rec() {
|
|||||||
# Setup the Black List
|
# Setup the Black List
|
||||||
#
|
#
|
||||||
setup_blacklist() {
|
setup_blacklist() {
|
||||||
local hosts=$(find_hosts_by_option blacklist)
|
local hosts="$(find_hosts_by_option blacklist)"
|
||||||
local f=$(find_file blacklist)
|
local f=$(find_file blacklist)
|
||||||
local disposition=$BLACKLIST_DISPOSITION
|
local disposition=$BLACKLIST_DISPOSITION
|
||||||
|
|
||||||
|
@ -72,6 +72,20 @@
|
|||||||
# DNAT:debug). This causes the packet to be
|
# DNAT:debug). This causes the packet to be
|
||||||
# logged at the specified level.
|
# 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
|
# You may also specify ULOG (must be in upper case) as a
|
||||||
# log level.This will log to the ULOG target for routing
|
# log level.This will log to the ULOG target for routing
|
||||||
# to a separate log through use of ulogd
|
# to a separate log through use of ulogd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user