On Wednesday 20 July 2011 23:54:49 Tom Eastep wrote:
> On Wed, 2011-07-20 at 23:40 +0100, Steven Jan Springl wrote:
> > Invalid rule:
> >
> > ACCEPT  lan  fw  tcp !
> >
> > generates iptables rule:
> >
> > -A lan2fw -p 6 --dport ! -j ACCEPT
> >
> > which produces the following messages:
> >
> > Using intrapositioned negation (`--option ! this`) is deprecated in favor
> > of extrapositioned (`! --option this`).
> >
> > iptables-restore v1.4.11.1: invalid port/service `-j' specified
>
> Steven,
>
> Looks like a problem in earlier versions as well.
>
> The attached patch traps that situation.
>
> Thanks,
> -Tom

Tom

Confirmed, the patch fixes the issue. Thanks

Steven.

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to