This is a known deficiency in the Linux TCP/IP implementation;
we discussed it on this list last month (30-Aug-1999). Th policy
should be that when the kernel allocates a local port number to a
socket, it should not use the local port number that is the same as
the remote port number for the socket; this policy will avoid the
unpredictable self-connects when a port-not-in-use error would be
expected.
The fix is very easy, so easy that I, ah, didn't distribute a
proper patch file. I'll try to do so in the next day or two, if no
one beats me to it.
Craig Milo Rogers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/