Subject: misc/16499: syntax rule in ipf(5) not referenced anywhere
To: None <gnats-bugs@gnats.netbsd.org>
From: Klaus Heinz <klaus.heinz@onlinehome.de>
List: netbsd-bugs
Date: 04/25/2002 23:47:18
>Number: 16499
>Category: misc
>Synopsis: syntax rule in ipf(5) not referenced anywhere
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 25 14:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Klaus Heinz
>Release: NetBSD 1.5.2
>Organization:
none
>Environment:
netbsd-current src from 2002-04-23
>Description:
I have had a closer look at ipf(5) and I did notice a (IMO) wrong
syntax rule:
withopt = [ "not" | "no" ] opttype [ withopt ] .
-> opttype = "ipopts" | "short" | "frag" | "opt" ipopts .
optname = ipopts [ "," optname ] .
ipopts = optlist | "sec-class" [ secname ] .
'optname' isn't used anywhere in the grammar. I _guess_ the rule for
'opttype' should use 'optname' instead of 'ipopts' at the end.
>How-To-Repeat:
Look at src/dist/ipf/man/ipf.5 (version 1.7 2002/01/24)
>Fix:
Ask someone with more knowledge about ipfilter and then _maybe_
change the rule for 'opttype' to
opttype = "ipopts" | "short" | "frag" | "opt" optname .
>Release-Note:
>Audit-Trail:
>Unformatted: