activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <>
Subject [jira] [Resolved] (AMQ-498) Secure the server from simple DoS attacks
Date Thu, 09 Jun 2011 16:33:59 GMT


Dejan Bosanac resolved AMQ-498.

       Resolution: Fixed
    Fix Version/s:     (was: 6.0.0)

I added maxFrameSize to the OpenWireFormat with default size of 100MB. 

The size will be checked before message unmarshalling (if size prefix is used) and before
reading the content in non-blocking case. This should be suffice to protect the broker from
DoS attacks.

I can imagine a few more variants that we should protect from, but we can deal with them in
separate issues.

> Secure the server from simple DoS attacks
> -----------------------------------------
>                 Key: AMQ-498
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>         Environment: An untrusted network.  DoS attack attempts are common.
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>             Fix For: 5.6.0
> Originating from
> Simply start the 4.0 server (I used the stock config) 
> in another window telnet to localhost 61616 
> you will receieve: 
> ActiveMQ^[[?1;2c 
> type asdfasdf 
> The connection will close by itself. 
> All future TCP connections, either from telnet or from real JMS clients, will hang. 

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message