bin/106382: parentesis bug in IPFW command
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Tue Dec 5 10:52:32 PST 2006
On Tue, 5 Dec 2006, Joao Rocha Braga Filho wrote:
> but when I use
>
> root:goffredo[627] ipfw add 2 count tcp from any to '(' any 22 to any 23 ')'
> ipfw: missing ")"
>
> root:goffredo[628] ipfw add 2 count tcp from any to \( any 22 to any 23 \)
> ipfw: missing ")"
>
> root:goffredo[629] ipfw add 2 count tcp from any to '{' any 22 to any 23 '}'
> ipfw: missing ")"
>
> root:goffredo[630] ipfw add 2 count tcp from any to \{ any 22 to any 23 \}
> ipfw: missing ")"
that's a bad output from the parser giving you a false impression of
the error. The command is wrong. it says
to any 22 to any 23
you mean s,to,or, inside the () so it would be
to any 22
or
to any 23
Could you try this:
ipfw add 2 count tcp from any to any \( 22 or 23 \)
?
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
More information about the freebsd-bugs
mailing list