Subject: Re: first TCP port used
To: None <tech-net@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-net
Date: 10/06/1997 11:36:18
>> In in_pcb.c, in_pcbinit, we set inpt_lastport to

>> [...] sometimes my compile/reboo test box cycle is so fast that I
>> wind up reusing a previous TCP port.

>> I'm wondering if there is any value in starting inpt_lastport from a
>> more "random" value.
> It's probably too late to deal with this for 1.3, but please submit a
> PR.  I would suggest that we use the (probably in post 1.3) kernel
> RNG mechanism to pick the initial value.

I think a better idea would be to do what should have been done all
along: implement the quiet time on boot, per RFC793 page 28ff, for
ports where the machine might have rebooted fast enough for it to be a

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B