On 04/03/2016 12:03 PM, Sven Kirmess wrote:
> The following rule, as first entry under
> 
> ?SECTION NEW
> Invalid(DROP):NFLOG(4)          all             all
> 
> generates these entries. (I reproduced it on a test system, let me know
> if you would like the config and I'll tar it up.)
> 
> The Invalid action is mentioned in the Shorewall6 example for the three
> interface setup.
> 

Patch attached.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________
--- shorewall-4.6.13.4/Perl/Shorewall/Config.pm.orig	2016-04-04 08:41:39.972012000 -0700
+++ shorewall-4.6.13.4/Perl/Shorewall/Config.pm	2016-04-04 08:41:56.644012000 -0700
@@ -3192,9 +3192,9 @@
     $actparms{caller}      = $caller;
     $actparms{disposition} = '' if $chainref->{action};
     #
-    # The Shorewall variable '@chain' has the non-word charaters removed
+    # The Shorewall variable '@chain' has some characters removed
     #
-    ( $actparms{chain} = $chainref->{name} ) =~ s/[^\w]//g;
+    ( $actparms{chain} = $chainref->{name} ) =~ s/[^\w-]//g;
 
     \%oldparms;
 }

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to