mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 04:04:10 +01:00
Add CONTINUE to allowed targets in an action
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1151 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
588270621f
commit
73667a8f85
@ -24,6 +24,9 @@
|
||||
# LOG -- Simply log the packet and continue.
|
||||
# QUEUE -- Queue the packet to a user-space
|
||||
# application such as p2pwall.
|
||||
# CONTINUE -- Discontinue processing this action
|
||||
# and return to the point where the
|
||||
# action was invoked.
|
||||
# <action> -- An <action> defined in
|
||||
# /etc/shorewall/actions. The <action>
|
||||
# must appear in that file BEFORE the
|
||||
|
@ -2295,6 +2295,9 @@ process_action() # $1 = action
|
||||
REJECT)
|
||||
target=reject
|
||||
;;
|
||||
CONTINUE)
|
||||
target=RETURN
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
@ -2433,7 +2436,7 @@ process_actions1() {
|
||||
expandv xtarget
|
||||
temp="${xtarget%:*}"
|
||||
case "${temp%<*}" in
|
||||
ACCEPT|DROP|REJECT|LOG|QUEUE)
|
||||
ACCEPT|DROP|REJECT|LOG|QUEUE|CONTINUE)
|
||||
;;
|
||||
*)
|
||||
if list_search $temp $ACTIONS; then
|
||||
|
@ -174,5 +174,11 @@ New Features:
|
||||
setting of DISABLE_IPV6=No is assumed in which case, Shorewall will
|
||||
not touch any IPv6 settings except during "shorewall clear".
|
||||
|
||||
8) The CONTINUE target is now available in action definitions. CONTINUE
|
||||
terminates processing of the current action and returns to the point
|
||||
where that action was invoked.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user