Details
Description
Telnet connections on amqp and amqp+ssl transports remain visible in ActiveMQ (only from JMX!) even after they have been closed. Same happens for openssl connections.
This causes the maximumConnections limit to be reached and no more connections are accepted!!!
And it is therefore easy to perform a DoS.
To reproduce:
- configure ActiveMQ with the amqp or amqp+ssl transport
- monitor the connections via JMX, with jconsole (clientConnectors->amqp->remoteAddress)
- telnet on the transport port number
- see the new connection in Jconsole
- close the telnet session completely
- connection is still visible in jconsole
If you set the maximumConnections to 3, after three telnets nobody can connect!
Attachments
Issue Links
- relates to
-
AMQ-5731 AMQP: corrupted incoming frame can cause the connection to drop but not be unregistered on the Broker.
- Resolved
-
AMQ-5757 AMQP: Add support for heartbeats and inactivity monitoring.
- Resolved
-
AMQ-5587 AMQP shutdown transport if no connection attempt received after a configurable delay.
- Resolved