[
https://issues.apache.org/jira/browse/QPID-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13648723#comment-13648723
]
Andrew Stitcher commented on QPID-3772:
---------------------------------------
I think this is the solution, not a "first step".
>From my reading of the windows documentation, SO_REUSEADDR isn't needed on
>windows anyway, but SO_EXCLUSIVEADDRUSE is to stop another process from
>opening your port.
> Qpid broker on Windows allows multiple, simultaneous processes to listen to
> broker port
> ---------------------------------------------------------------------------------------
>
> Key: QPID-3772
> URL: https://issues.apache.org/jira/browse/QPID-3772
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.14
> Environment: Windows broker
> Reporter: Chuck Rolke
> Labels: security
> Fix For: Future
>
>
> Socket code on windows allows multiple, simultaneous listening processes on
> broker port.
> C:\Windows\system32>netstat -anb
> TCP 0.0.0.0:5672 0.0.0.0:0 LISTENING
> [qpidd2.exe]
> TCP 0.0.0.0:5672 0.0.0.0:0 LISTENING
> [qpidd.exe]
> This is a security issue as it allows a rogue process to hijack connections
> directed to the broker.
> A simple first step is in Socket.cpp to change SO_REUSEADDR to
> SO_EXCLUSIVEADDRUSE as described in
> http://msdn.microsoft.com/en-us/library/windows/desktop/cc150667%28v=vs.85%29.aspx
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]