Re: [PATCH] port_reuse listen fix (allow simultaneous single listen + outgoing connects from same port)

From: Ross Biro (ross.biro_at_gmail.com)
Date: 12/09/04

  • Next message: Andy: "Re: Rereading disk geometry without reboot"
    Date:	Thu, 9 Dec 2004 10:36:08 -0500
    To: Ilya Pashkovsky <ilya.pashkovsky@gmail.com>
    
    

    On Thu, 9 Dec 2004 13:25:26 +0200, Ilya Pashkovsky
    <ilya.pashkovsky@gmail.com> wrote:
    > This is the latest patch with removed bool > 1 check and ipv6 support.
    > http://puding.mine.nu/patches/
    > http://puding.mine.nu/patches/patch-reuse-bool-ipv6
    >
    > 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).

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


  • Next message: Andy: "Re: Rereading disk geometry without reboot"

    Relevant Pages