bin/106382: parentesis bug in IPFW command
Joao Rocha Braga Filho
goffredo at gmail.com
Tue Dec 5 08:41:00 PST 2006
>Number: 106382
>Category: bin
>Synopsis: parentesis bug in IPFW command
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 05 16:40:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Joao Rocha Braga Filho
>Release: 6.2 RC1
>Organization:
Paratyinfo
>Environment:
FreeBSD goffredo.paratyinfo.com.br 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #3: Sat Dec 2 10:45:17 BRST 2006 goffredo at goffredo.paratyinfo.com.br:/usr/obj/usr/src/sys/GOFFREDO amd64
>Description:
The man page says
"
Additionally, sets of alternative match patterns (or-blocks) can be con-
structed by putting the patterns in lists enclosed between parentheses (
) or braces { }, and using the or operator as follows:
ipfw add 100 allow ip from { x or not y or z } to any
"
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 ")"
>How-To-Repeat:
Repeat the command.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list