Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2006 16:34:24 GMT
From:      Joao Rocha Braga Filho<goffredo@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/106382: parentesis bug in IPFW command
Message-ID:  <200612051634.kB5GYOaS025825@www.freebsd.org>
Resent-Message-ID: <200612051640.kB5GeL7b056091@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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