[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080315133426.1f48c99c@the-village.bc.nu>
Date: Sat, 15 Mar 2008 13:34:26 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Nebojsa Miljanovic <neb@...atel-lucent.com>
Cc: linux-kernel@...r.kernel.org,
"Kittlitz, Edward (Ned)" <nkittlitz@...atel-lucent.com>,
asweeney@...atel-lucent.com,
"Polhemus, William (Bart)" <bpolhemus@...atel-lucent.com>
Subject: Re: SO_REUSEADDR not allowing server and client to use same port
On Thu, 13 Mar 2008 14:18:15 -0500
Nebojsa Miljanovic <neb@...atel-lucent.com> wrote:
> Alan,
> I would appreciate it if you could elaborate on the security issue. Can you
> describe the simultaneous connect scenario?
>
> We have a system we are migrating to Linux from Lynx. We have always had the
> ability to re-use ports. We are wondering if this security issue is something we
> should take seriously. Or, maybe it is not likely to be seen with our system
> running well defined set of applications (i.e. not a PC where anybody could run
> anything).
See RFC 793. It is permissible for a connection to be created between two
end points both making a connection (crossing SYN frames are both
acked). Thus if you allow such reuse it is possible (although usually
very very hard) to mount a timing based attack.
It's not a very practical attack in most scenarios so we block it out of
correctness and concerns for completely robust and proper behaviour
rather than because it is seen in the wild.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists