On 05/25/2012 05:08 PM, Andrew Stitcher wrote:
On Fri, 2012-05-25 at 16:39 +0100, Gordon Sim wrote:
...

FWIW I really don't like that code.

Neither do I, possibly for different reasons.


It doesn't actually protect from badly behaved client code anyway, only
from one specific case. Provided you send a valid AMQP header you can
still use up all the connections without doing anything further and
without authenticating.

Fair point. It doesn't protect you from all badly behaved code, but it
is a step wise improvement from the previous state.

I don't think it is, really. It means instead of using a telnet client to use up connections you need to write a few lines of code. What benefit do you see from that?

Rather than having a maximum time to negotiate the protocol version what
is really needed is a maximum time to authenticate.

I agree.

I'll see if there is an obviously equally safe place to detect we've
authenticated.

Of course this still won't protect you from a massive DDoS.

Agreed.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to