> (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:
> 22.214.171.124:32790 -> 126.96.36.199:23
> 188.8.131.52:32789 -> 184.108.40.206:23
> 220.127.116.11:32788 -> 18.104.22.168:23
> 22.214.171.124:32787 -> 126.96.36.199: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 email@example.com
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