The Matahari Project (http:://matahariproject.org for the uninitiated) has
run into an issue with our use of Qpid in that IANA policy is now to refuse
to assign separate TCP ports for SSL/TLS-wrapped versions of protocols,
which leaves us with only a single port assigned to Matahari.
We would like to be able to accept both SSL and non-SSL connections on the
same port. The following patch implements this when the SSL Plugin is
enabled and both AMQP and AMQPS are configured to use the same port (i.e.
port == ssl-port).
We would like to work with the Qpid community to hopefully see this feature
or something equivalent implemented in Fedora 16 (Qpid 0.12). Any questions
or comments are, of course, most welcome.
thanks,
Zane.
---
Zane Bitter (1):
Multiplex SSL and non-SSL connections on the same port
qpid/cpp/src/qpid/sys/Socket.h | 2
qpid/cpp/src/qpid/sys/SslPlugin.cpp | 145 ++++++++++++++++++++++++----
qpid/cpp/src/qpid/sys/TCPIOPlugin.cpp | 33 ++++++
qpid/cpp/src/qpid/sys/ssl/SslIo.cpp | 20 +++-
qpid/cpp/src/qpid/sys/ssl/SslIo.h | 16 ++-
qpid/cpp/src/qpid/sys/ssl/SslSocket.cpp | 159 +++++++++++++++++++------------
qpid/cpp/src/qpid/sys/ssl/SslSocket.h | 44 ++-------
7 files changed, 283 insertions(+), 136 deletions(-)