Re: SO_REUSEADDR not allowing server and client to use same port

From: Alan Cox
Date: Mon Mar 17 2008 - 13:45:23 EST


On Mon, 17 Mar 2008 11:43:28 -0500
Nebojsa Miljanovic <neb@xxxxxxxxxxxxxxxxxx> wrote:

> Alan,
> thanks. With that additional INFO, I was able to find detailed description of
> this denial of service attack (attached below).
> Just to clarify. Having this port re-use check prevents folks from launching
> this attack as opposed to being victim of it?

Different issue. I can hijack a connection.

Imagine I have a server bound to *.5000, and someone is about to connect.
If on the server box I am able to bind and issue a connect outwards
matching the inbound connection I will get the connection not the server.
--
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/