mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-19 17:28:35 +02:00
Fix multiple blacklist interface bug
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1496 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4ad2796b2b
commit
0a25b97f5b
@ -40,3 +40,5 @@ Changes in 2.0.7
|
|||||||
2) Consult PKTTYPE when generating 'REJECT' rules.
|
2) Consult PKTTYPE when generating 'REJECT' rules.
|
||||||
|
|
||||||
3) Enhance IP/Routing output in "shorewall status".
|
3) Enhance IP/Routing output in "shorewall status".
|
||||||
|
|
||||||
|
4) Correct handling of multiple 'blacklist' interfaces.
|
@ -4538,7 +4538,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
|
||||||
|
|
||||||
|
@ -48,6 +48,9 @@ Problems Corrected in version 2.0.7
|
|||||||
support are likely to see messages reporting this violation.
|
support are likely to see messages reporting this violation.
|
||||||
Setting PKTTYPE=No should cause these messages to cease.
|
Setting PKTTYPE=No should cause these messages to cease.
|
||||||
|
|
||||||
|
2) Multiple interfaces with the 'blacklist' option no longer result in
|
||||||
|
an error message at startup.
|
||||||
|
|
||||||
New Features in version 2.0.7
|
New Features in version 2.0.7
|
||||||
|
|
||||||
1) To improve supportability, the "shorewall status" command now
|
1) To improve supportability, the "shorewall status" command now
|
||||||
|
Loading…
x
Reference in New Issue
Block a user