On Monday 31 January 2011 21:39:13 Tom Eastep wrote:
> On 1/31/11 12:40 PM, Steven Jan Springl wrote:
> >> The following accounting rule:
> >>
> >> ACCOUNT()  -  eth0  br0
> >>
> >> produces the following error message from the "Optimizing Ruleset" 
> >> phase:
> >>
> >> ERROR: Internal error in Shorewall::Chains::delete_jumps
> >> at /usr/share/shorewall/Shorewall/Chains.pm line 1169
> >>
> >> Steven.
> >
> > Tom
> >
> > In addition to the above.
> >
> > Accounting rule:
> >
> > ACCOUNT(  -  eth0  br0
> >
> > produces the following error message from the "Optimizing Ruleset" phase:
> >
> > Unmatched ( in regex; marked by <-- HERE in m/ -[gj] ACCOUNT( <-- HERE
> > (\s+-m comment .*)?\s*$/ at /usr/share/shorewall/Shorewall/Chains.pm line
> > 1161.
>
> Both issues are corrected by the attached patch. In addition, I'm adding
> additional constraints on the names of accounting chains to avoid
> similar errors. That change won't apply to Beta 3 since it is based on
> some additional constraints that I've already added for the next Beta/RC.
>
> Thanks again, Steven
>
> -Tom

Tom

Confirmed, the patch fixes both problems. Thanks.

To get the patch to apply, I had to remove the second ';' from the end of line 
13.
Line 25 also has two ';' at the end of the line, is this correct?

------------------------------------------------------------------------------------------------------------------------

Accounting rule:

ACCOUNT)  -  eth0  br0

produces the following error message:

Unmatched ) in regex; marked by <-- HERE in m/ -[gj] ACCOUNT) <-- HERE (\s+-m 
comment .*)?\s*$/ at /usr/share/shorewall/Shorewall/Chains.pm line 1161.

Steven.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to