Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8, 0.9
-
None
-
Worst on WinXP, slightly less bad on Win Server 2003+
Description
SO_REUSEADDR is a fine idea for sockets on POSIX operating systems. SO_REUSEADDR on Windows operates differently though. This MSDN article explains the behavior:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms740621.aspx
Long story short, with SO_REUSEADDR, a hostile process owned by another user can steal your port.