From eb20283a55ee81cc3a0378ea75fb577d4624e583 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 21 Dec 2012 14:00:05 -0800 Subject: [PATCH] Replace $1-$5 with @1-@5 in the standard actions. Signed-off-by: Tom Eastep --- Shorewall/action.Drop | 18 +++++++++--------- Shorewall/action.Reject | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Shorewall/action.Drop b/Shorewall/action.Drop index 0d65c681a..2842cd238 100644 --- a/Shorewall/action.Drop +++ b/Shorewall/action.Drop @@ -33,7 +33,7 @@ ############################################################################### FORMAT 2 # -# The following magic provides different defaults for $2 thru $5, when $1 is +# The following magic provides different defaults for @2 thru @5, when @1 is # 'audit'. # ?BEGIN PERL; @@ -66,31 +66,31 @@ COUNT # # Reject 'auth' # -Auth($2) +Auth(@2) # # Don't log broadcasts # -Broadcast(DROP,$1) +Broadcast(DROP,@1) # # ACCEPT critical ICMP types # -AllowICMPs($4) - - icmp +AllowICMPs(@4) - - icmp # # Drop packets that are in the INVALID state -- these are usually ICMP packets # and just confuse people when they appear in the log. # -Invalid(DROP,$1) +Invalid(DROP,@1) # # Drop Microsoft noise so that it doesn't clutter up the log. # -SMB($3) -DropUPnP($5) +SMB(@3) +DropUPnP(@5) # # Drop 'newnotsyn' traffic so that it doesn't get logged. # -NotSyn(DROP,$1) - - tcp +NotSyn(DROP,@1) - - tcp # # Drop late-arriving DNS replies. These are just a nuisance and clutter up # the log. # -DropDNSrep($5) +DropDNSrep(@5) diff --git a/Shorewall/action.Reject b/Shorewall/action.Reject index c25189e03..6adb34ca0 100644 --- a/Shorewall/action.Reject +++ b/Shorewall/action.Reject @@ -29,7 +29,7 @@ ############################################################################### FORMAT 2 # -# The following magic provides different defaults for $2 thru $5, when $1 is +# The following magic provides different defaults for @2 thru @5, when @1 is # 'audit'. # ?BEGIN PERL; @@ -62,33 +62,33 @@ COUNT # # Don't log 'auth' -- REJECT # -Auth($2) +Auth(@2) # # Drop Broadcasts so they don't clutter up the log # (broadcasts must *not* be rejected). # -Broadcast(DROP,$1) +Broadcast(DROP,@1) # # ACCEPT critical ICMP types # -AllowICMPs($4) - - icmp +AllowICMPs(@4) - - icmp # # Drop packets that are in the INVALID state -- these are usually ICMP packets # and just confuse people when they appear in the log (these ICMPs cannot be # rejected). # -Invalid(DROP,$1) +Invalid(DROP,@1) # # Reject Microsoft noise so that it doesn't clutter up the log. # -SMB($3) -DropUPnP($5) +SMB(@3) +DropUPnP(@5) # # Drop 'newnotsyn' traffic so that it doesn't get logged. # -NotSyn(DROP,$1) - - tcp +NotSyn(DROP,@1) - - tcp # # Drop late-arriving DNS replies. These are just a nuisance and clutter up # the log. # -DropDNSrep($5) +DropDNSrep(@5)