Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 2004 13:27:07 +0200
From:      Ondra Holecek <bln@bln.no-ip.org>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: IPFW2 tables syntax
Message-ID:  <200407161316.40936.bln@bln.no-ip.org>
In-Reply-To: <200407141545.i6EFjGeV001896@ns.networkersbg.com>
References:  <200407141545.i6EFjGeV001896@ns.networkersbg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 14 July 2004 17:45, Evgeny Ivanov wrote:
> Can you please tell me what is wrong with my syntax ?
>
>
> ns# ipfw table 1 list
> 212.116.151.30/32 0
> ns# ipfw add 50 count all from table(1) to me in
> Badly placed ()'s.
> ns#
>

root@pretender# ipfw add 10 count all from table(1) to me in
su: syntax error near unexpected token `('
root@pretender# ipfw add 10 count all from 'table(1)' to me in 
00010 count ip from table(1) to me in

I expect () being parsed by shell (bash, tcsh) instead of ipfw, so try it with 
' ' to tell shell to let this argument as is.

>
> Regards
> Evgeny Ivanov
> _______________________________________________
> freebsd-ipfw@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407161316.40936.bln>