forked from extern/shorewall_code
Disallow exclusion with CONTINUE in /etc/shorewall/tcrules
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5222 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
ef446fe35c
commit
a1a08d2daf
@ -201,6 +201,10 @@ process_tc_rule()
|
|||||||
[ "x$sport" = "x-" ] || r="${r}--sport $sport "
|
[ "x$sport" = "x-" ] || r="${r}--sport $sport "
|
||||||
|
|
||||||
if [ -n "${excludesources}${excludedests}" ]; then
|
if [ -n "${excludesources}${excludedests}" ]; then
|
||||||
|
|
||||||
|
[ $target = RETURN ] && \
|
||||||
|
fatal_error "Exclusion is currently not supported with CONTINUE"
|
||||||
|
|
||||||
build_exclusion_chain chain1 mangle "$excludesources" "$excludedests"
|
build_exclusion_chain chain1 mangle "$excludesources" "$excludedests"
|
||||||
|
|
||||||
run_iptables2 -t mangle -A $chain $r -j $chain1
|
run_iptables2 -t mangle -A $chain $r -j $chain1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user