On Fri, 29 May 2015 17:28:03 -0700
Tom Eastep <[email protected]> wrote:

> On 5/29/2015 4:33 PM, Steven Jan Springl wrote:
> > The following rules file entry:
> >
> > NFQUEUE(,bypass)  lan  fw  icmp  8
> >
> > produces the following messages:
> >
> > Use of uninitialized value $_[0] in lc
> > at /usr/share/shorewall/Shorewall/Config.pm line 1401,
> > <$currentfile> line 23.
> >
> > Use of uninitialized value $queue1 in concatenation (.) or
> > string at /usr/share/shorewall/Shorewall/Rules.pm line 494,
> > <$currentfile> line 23.
> Please see if you can break it with the attached patch :-)
> 
> Thanks Steven,
> 
> -Tom
> 

Tom

Confirmed, the patch fixes the issue.

Policy file entry (the format use in the 'man shorewall-policy'):

lan  all  NFQUEUE(4,6)

produces the following message:

ERROR: Invalid NFQUEUE option (6) /etc/shorewall201/policy (line 13)

If I change it to (the format use in the rules file):

lan  all  NFQUEUE(4:6)

I get the message:

ERROR: Invalid policy (NFQUEUE(4) /etc/shorewall201/policy (line 13)

Am I missing something?

Steven.

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

Reply via email to