[zeromq-dev] zero MQ 2.0 app remote shutdown when probing port with nmap.

Martin Sustrik sustrik at fastmq.com
Mon Sep 14 13:56:22 CEST 2009


Martin Sustrik wrote:
> Alexandre,
> 
> Skrzyniarz Alexandre wrote:
>> Hello.
>>
>> Probing a port used by a zmq application causes application shutdown:
>>
>> ./local_lat lo:5555 1 1
>> nmap -p 5555 -P0 localhost
>> --->
>> Assertion failed: false (zmq_listener_init.cpp:95)
>> Aborted
> 
> This happens when someone connects to your listening application and the 
> connection fails before initial 0MQ handshaking is complete.
> 
> The listener should drop the connection silently rather than abort.
> 
> Thanks for reporting the problem. It will be solved shortly.

Fixed in GIT rev. 2bc9419
The fix will be available in alpha2 release (to be expected later on 
this week).

Martin




More information about the zeromq-dev mailing list