2.4/2.6 local TCP connect oddity

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Sunday, October 21, 2007 - 11:53 am

Hi,

I've run into a problem where a process trying to connect to a local
port within the local port range eventually ends up connected to itself,
with source port = dest port.

similar behavior can be gotten by running netcat as follows:
nc -p 1025 localhost 1025

I'm not really sure if that's a bug, but the original case was at least
unexpected.

Regards,
	Tal Kelrich

-- 
Tal Kelrich
PGP fingerprint: 3EDF FCC5 60BB 4729 AB2F  CAE6 FEC1 9AAC 12B9 AA69
Key Available at: http://www.hasturkun.com/pub.txt
----
Administration:  An ingenious abstraction in politics, designed to
receive the kicks and cuffs due to the premier or president.
-- Ambrose Bierce
----

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.4/2.6 local TCP connect oddity, Tal Kelrich, (Sun Oct 21, 11:53 am)
Re: 2.4/2.6 local TCP connect oddity, Willy Tarreau, (Sun Oct 21, 1:29 pm)
Re: 2.4/2.6 local TCP connect oddity, Tal Kelrich, (Sun Oct 21, 4:53 pm)
Re: 2.4/2.6 local TCP connect oddity, Willy Tarreau, (Sun Oct 21, 11:21 pm)