[zeromq-dev] Even more fun with accept

Dhammika Pathirana dhammika at gmail.com
Fri May 1 18:18:01 CEST 2009


Hi,

I was referring to the possibility of another application rebinding
server port and impersonating the server.
Isn't this a cause for concern, ie. think of clients connecting to a
market data feed.


Dhammika



On Fri, May 1, 2009 at 7:18 AM, Erich Heine <sophacles at gmail.com> wrote:
> Id go a step further, and say that this is actually less exploitable than
> the original method. Here is my reasoning:
> A. Both methods are susceptible to boring resource (fd) exhuastion attacks.
> However all tcp software suffers from some form of this (heck most
> networking does). Hence the label boring.
> B. The original method also suffers from CPU exhuastion during A. This can
> degrade the performance of existing connetions.
> C. The new method does not (theoretically...) suffer from the CPU problem
> during A.
> As an attacker I would much prefer to attack the original method,
> (susceptible to A and B) because I do not necessarily need to fill the pipe
> to DoS existing communications. Under the new method (A and C) I must first
> succed with A, and/or fill the pipe do DoS comms for B.
> Another thought on this, due to the low latency requirements for many of hte
> systems 0mq is designed to work with, the A,B combo could do worse than
> vanilla DoS, such as provide that little bit of latency which causes a
> trading system to miss its profit window. (A friend of mine keeps talking
> about shaving microseconds for just this reason).
> Regards,
> Erich
>
> On Fri, May 1, 2009 at 6:11 AM, Pieter Hintjens <ph at imatix.com> wrote:
>>
>> On Fri, May 1, 2009 at 10:05 AM, Dhammika Pathirana <dhammika at gmail.com>
>> wrote:
>>
>> > Isn't this exploitable? Another application on the server can
>> > basically hijack the service.
>>
>> Nope, this is not about the listening socket but about new incoming
>> connections.
>>
>> -Pieter
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>



More information about the zeromq-dev mailing list