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:
teastep 2004-02-15 18:03:23 +00:00
parent 588270621f
commit 73667a8f85
3 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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.