> (2) Alexy, you probably know this by heart. I thought that the port
> used in response to a TCP/IP connection request, was supposed to be a
> "random short int with a value above 1000".
> This is what I get:
> 18.104.22.168:32790 -> 22.214.171.124:23
> 126.96.36.199:32789 -> 188.8.131.52:23
> 184.108.40.206:32788 -> 220.127.116.11:23
> 18.104.22.168:32787 -> 22.214.171.124:23
> No, port numbers for outbound connections are normally allocated
> linearly. TCP sequence numbers are pseudo-random.
The key point here is that the you cannot rely on the value here. Most
kernels will allocate linearly avoiding in use ports, but you cannot know
that it will. The phrase is intended to indicate this possibility.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:15 EST