Subject: Re: bin/19069: traceroute(8) and traceroute6(8) can send packet to udp port 0, which is illegal
To: None <itojun@itojun.org>
From: Robert Elz <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 11/17/2002 19:47:45
    Date:        Sat, 16 Nov 2002 13:14:33 +0900 (JST)
    From:        itojun@itojun.org
    Message-ID:  <20021116041433.F35897AF@starfruit.itojun.org>

  | >Description:
  | 	if you specify large starting port to traceroute(8) or traceroute6(8)
  | 	with -p, it can emit packet to udp port 0, which is illegal.
  | 	(source port 0 is legal, destinationi port 0 is illegal based on
  | 	udp spec)

I don't mind the traceroute change, but from where (which RFC) does this
"destination port 0 is illegal" come from?

It isn't in 768, which says only...

  Destination  Port has a meaning  within  the  context  of  a  particular
  internet destination address.

nor is it in 1122, which says nothing much at all about port numbers
(other than some text included by reference from tcp about well known
port numbers - which explicitly includes port 0).

Is there some other RFC I'm missing?

kre