[Top] [All Lists]

Re: [PATCH] port_reuse listen fix (allow simultaneous single listen + ou

To: Ilya Pashkovsky <ilya.pashkovsky@xxxxxxxxx>
Subject: Re: [PATCH] port_reuse listen fix (allow simultaneous single listen + outgoing connects from same port)
From: Ross Biro <ross.biro@xxxxxxxxx>
Date: Thu, 9 Dec 2004 10:36:08 -0500
Cc: netdev@xxxxxxxxxxx, YOSHIFUJI Hideaki / åèèæ <yoshfuji@xxxxxxxxxxxxxx>, davem@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=az0uWqSjg5OpimMv+wrUdr0H7bI4NGVDognwZd/CqJoatyoNQDQxVjEgGplbjjXhXUptJ40YsfbDrAZwfpufOxBg4Wa/vMPH02u1y25UdeAmcdQnsDYTQU11kCqIJgNdH+7BPQOq7Tlwyli/ZSAPogZmHJbupFgwjGTkoLGAzDU=
In-reply-to: <>
References: <>
Reply-to: Ross Biro <ross.biro@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 9 Dec 2004 13:25:26 +0200, Ilya Pashkovsky
<ilya.pashkovsky@xxxxxxxxx> wrote:
> This is the latest patch with removed bool > 1 check and ipv6 support.
> to check, you can use netcat (sets SO_REUSEADDR by default).
> on one host (host A): nc -v -l -p 9999
> on another/same host (host B): nc -v -l -p 9000
> on host A: nc -v -p 9999 host.B.ip.addr 9000
> on host B: nc -v host.A.ip.addr 9999

What happens if on host B you do 

nc -v -p 9000 host.A.ip.addr 9999?

Seems to me you will break the rule that a connection is uniquely
identified by (srcpip, destip, srcport, destport).


<Prev in Thread] Current Thread [Next in Thread>