On 04/11/2013 01:23 PM, Steven Jan Springl wrote:
> On Thursday 11 Apr 2013 18:03:55 Tom Eastep wrote:
>> Beta 3 is now available for testing
> 
> Rule:
> 
> A_ACCEPT!  lan  all  tcp  99
> 
> Produces the following error message:
> 
> ERROR: Unknown ACTION (A_ACCEPT!) /etc/shorewall2A26/rules (line 19)
> 

The attached patch fixes it.

Thanks Steven,
-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 \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm
index 25d0bda..b586902 100644
--- a/Shorewall/Perl/Shorewall/Chains.pm
+++ b/Shorewall/Perl/Shorewall/Chains.pm
@@ -2598,6 +2598,7 @@ sub initialize_chain_table($) {
 		    'ACCEPT!'         => STANDARD,
 		    'A_ACCEPT'        => STANDARD  + AUDIT,
 		    'A_ACCEPT+'       => STANDARD  + NONAT + AUDIT,
+		    'A_ACCEPT!'       => STANDARD  + AUDIT,
 		    'NONAT'           => STANDARD  + NONAT + NATONLY,
 		    'AUDIT'           => STANDARD  + AUDIT,
 		    'DROP'            => STANDARD,
@@ -2660,6 +2661,7 @@ sub initialize_chain_table($) {
 		    'ACCEPT+'         => STANDARD  + NONAT,
 		    'ACCEPT!'         => STANDARD,
 		    'A_ACCEPT+'       => STANDARD  + NONAT + AUDIT,
+		    'A_ACCEPT!'       => STANDARD  + AUDIT,
 		    'AUDIT'           => STANDARD  + AUDIT,
 		    'A_ACCEPT'        => STANDARD  + AUDIT,
 		    'NONAT'           => STANDARD  + NONAT + NATONLY,

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Shorewall-devel mailing list
Shorewall-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to