Subject: bin/25993: ipf parser accepts invalid flags in rules
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <grant@NetBSD.org>
List: netbsd-bugs
Date: 06/21/2004 20:59:30
>Number:         25993
>Category:       bin
>Synopsis:       ipf parser accepts invalid flags in rules
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 21 11:00:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD gw 2.0_BETA NetBSD 2.0_BETA (_gw_) #0: Sat Jun 19 14:52:27 EST 2004 grant@mofo:/data1/netbsd/netbsd-2-0/src/sys/arch/i386/compile/_gw_ i386
Architecture: i386
Machine: i386
>Description:
[maybe bin/kern?]

consider a udp rule that was cut-n-paste from a tcp rule :)

pass in on fxp0 proto udp from any to any flags S keep state

the rule parser accepts the invalid flags without warning and
installs them into the kernel. packets don't match the rule :)

>How-To-Repeat:
see above.
>Fix:
unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: