IPFW2 tables syntax

Ondra Holecek bln at bln.no-ip.org
Fri Jul 16 04:27:22 PDT 2004


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 at pretender# ipfw add 10 count all from table(1) to me in
su: syntax error near unexpected token `('
root at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"



More information about the freebsd-ipfw mailing list