Re: BUG: Unusual TCP Connect() results.

From: Willy Tarreau
Date: Fri Jun 10 2005 - 17:46:11 EST


On Sat, Jun 11, 2005 at 12:26:45AM +0200, Willy TARREAU wrote:

> $ sudo hping2 -c 1 -k -a 10.0.0.1 -s 80 -I lo 10.0.0.1 -p 80 -S -M 12345678

Sorry, it was -s 10000 and -p 10000, I copy-pasted the wrong history line.

I also have verified that 2.4.30 behaves the same way with the netcat test.
So the difference between old and new versions should be that new versions
are able to allocate a source port for connect() eventhough this one should
be marked as used because of the bind(). This does not seem critical at all
anyway.

Regards,
Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/