Subject: misc/16499: syntax rule in ipf(5) not referenced anywhere
To: None <email@example.com>
From: Klaus Heinz <firstname.lastname@example.org>
Date: 04/25/2002 23:47:18
>Synopsis: syntax rule in ipf(5) not referenced anywhere
>Arrival-Date: Thu Apr 25 14:56:00 PDT 2002
>Originator: Klaus Heinz
>Release: NetBSD 1.5.2
netbsd-current src from 2002-04-23
I have had a closer look at ipf(5) and I did notice a (IMO) wrong
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.
Look at src/dist/ipf/man/ipf.5 (version 1.7 2002/01/24)
Ask someone with more knowledge about ipfilter and then _maybe_
change the rule for 'opttype' to
opttype = "ipopts" | "short" | "frag" | "opt" optname .