forked from extern/shorewall_code
Restore version 1.4 of the rules file -- allow removing common action
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1154 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b1a544a107
commit
080bdfa9e2
@ -2428,6 +2428,8 @@ process_actions1() {
|
|||||||
esac
|
esac
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
[ -z "$xaction" ] && continue
|
||||||
|
|
||||||
[ "$xaction" = "$(chain_base $xaction)" ] || fatal_error "Invalid Action Name: $xaction"
|
[ "$xaction" = "$(chain_base $xaction)" ] || fatal_error "Invalid Action Name: $xaction"
|
||||||
|
|
||||||
if ! list_search $xaction $ACTIONS; then
|
if ! list_search $xaction $ACTIONS; then
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
# Like REDIRET but only generates the
|
# Like REDIRET but only generates the
|
||||||
# REDIRECT iptables rule and not
|
# REDIRECT iptables rule and not
|
||||||
# the companion ACCEPT rule.
|
# the companion ACCEPT rule.
|
||||||
|
#
|
||||||
# CONTINUE -- (For experts only). Do not process
|
# CONTINUE -- (For experts only). Do not process
|
||||||
# any of the following rules for this
|
# any of the following rules for this
|
||||||
# (source zone,destination zone). If
|
# (source zone,destination zone). If
|
||||||
@ -50,7 +51,8 @@
|
|||||||
# (those) zone(s).
|
# (those) zone(s).
|
||||||
# LOG -- Simply log the packet and continue.
|
# LOG -- Simply log the packet and continue.
|
||||||
# QUEUE -- Queue the packet to a user-space
|
# QUEUE -- Queue the packet to a user-space
|
||||||
# application such as p2pwall.
|
# application such as ftwall
|
||||||
|
# (http://p2pwall.sf.net).
|
||||||
# <action> -- The name of an action defined in
|
# <action> -- The name of an action defined in
|
||||||
# /etc/shorewall/actions.
|
# /etc/shorewall/actions.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user