From 9f1c920a39f793ac8706ba248effcb5efbeae389 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 14 May 2012 10:34:11 -0700 Subject: [PATCH] Don't allow RSTs to be REJECTed --- Shorewall/action.RST | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Shorewall/action.RST b/Shorewall/action.RST index 10a8a5d99..e6b3ad198 100644 --- a/Shorewall/action.RST +++ b/Shorewall/action.RST @@ -5,7 +5,7 @@ # # This program is under GPL [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt] # -# (c) 2011 - Tom Eastep (teastep@shorewall.net) +# (c) 2012 - Tom Eastep (teastep@shorewall.net) # # Complete documentation is available at http://shorewall.net # @@ -33,14 +33,13 @@ DEFAULTS DROP,- BEGIN PERL; -use Shorewall::IPAddrs; use Shorewall::Config; use Shorewall::Chains; my ( $action, $audit ) = get_action_params( 2 ); fatal_error "Invalid parameter ($audit) to action NotSyn" if supplied $audit && $audit ne 'audit'; -fatal_error "Invalid parameter ($action) to action NotSyn" unless $action =~ /^(?:ACCEPT|DROP|REJECT)$/; +fatal_error "Invalid parameter ($action) to action NotSyn" unless $action =~ /^(?:ACCEPT|DROP)$/; my $chainref = get_action_chain; my ( $level, $tag ) = get_action_logging;