I recommend this patch -- it restores proper logging behavior in Actions.

Will apply with a rather large offset.

-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 \________________________________________________
From 7d41e4b38c178be422e36faadd2a0477c1c94980 Mon Sep 17 00:00:00 2001
From: Tom Eastep <[email protected]>
Date: Tue, 28 Dec 2010 16:04:55 -0800
Subject: [PATCH] Restore level merge behavior with nested actions

---
 Shorewall/Perl/Shorewall/Rules.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Shorewall/Perl/Shorewall/Rules.pm 
b/Shorewall/Perl/Shorewall/Rules.pm
index 64a03c6..b0e35ec 100644
--- a/Shorewall/Perl/Shorewall/Rules.pm
+++ b/Shorewall/Perl/Shorewall/Rules.pm
@@ -612,7 +612,7 @@ sub process_action3( $$$$$$ ) {
            next;
        }
 
-       process_rule_common( $chainref, $target, '', $source, $dest, $proto, 
$ports, $sports, $origdest, $rate, $user, $mark, $connlimit, $time, $headers, 0 
);
+       process_rule_common( $chainref, merge_levels( "$action:$level:$tag", 
$target ), '', $source, $dest, $proto, $ports, $sports, $origdest, $rate, 
$user, $mark, $connlimit, $time, $headers, 0 );
     }
 
     clear_comment;
-- 
1.7.0.1

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to