Subject: kern/9137: udp and spec issues
To: None <gnats-bugs@gnats.netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@itojun.org>
List: netbsd-bugs
Date: 01/08/2000 05:25:34
	Note: There was a bad value `|' for the field `>Confidential:'.
	It was set to the default value of `yes'.


>Number:         9137
>Category:       kern
>Synopsis:       udp and spec issues
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan  6 16:00:00 2000
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Organization:
	itojun.org
>Release:        NetBSD 1.4.1 and current
>Environment:
System: NetBSD lychee.itojun.org 1.4.1 NetBSD 1.4.1 (LYCHEE.v6) #487: Fri Jan 7 08:45:58 JST 2000 itojun@lychee.itojun.org:/export/home/itojun/k/kame/netbsd/sys/arch/i386/compile/LYCHEE.v6 i386


>Description:
	udp_usrreq.c disagrees with RFC768 in the following issues:
	- there's no way to transmit UDP packet with src port == 0
	  (it is legal)
	- input routine accepts dst port == 0 (it looks illegal)

	Not sure if it is real problem or not, but the code and spec
	seem inconsistent.
>How-To-Repeat:
>Fix:
	latter one is trivial.
>Audit-Trail:
>Unformatted: