On 5/30/11 2:16 PM, Steven Jan Springl wrote:

> The attached config: produces the following error messages:
> 
> Use of uninitialized value in numeric gt (>) 
> at /usr/share/shorewall/Shorewall/Chains.pm line 815.
> 
> ERROR: Internal error in Shorewall::Chains::decrement_reference_count 
> at /usr/share/shorewall/Shorewall/Chains.pm line 815

Steven,

That one took a while; bugs that show up in the optimizer with a large
and complex configuration are harder to find.

Thanks,
-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/Rules.pm 
b/Shorewall/Perl/Shorewall/Rules.pm
index 24fd7b0..dd03038 100644
--- a/Shorewall/Perl/Shorewall/Rules.pm
+++ b/Shorewall/Perl/Shorewall/Rules.pm
@@ -1160,7 +1160,7 @@ sub ensure_audit_chain( $;$ ) {
        if ( $action eq 'REJECT' ) {
            add_jump $ref , 'reject', 1;
        } else {
-           add_rule $ref , "-j $action";
+           add_jump $ref , "-j $action", 0;
        }
     }
 

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to