[zeromq-dev] ZMQ monitor and zero's for remote ip's?

Greg Rogers grogers at clicksecurity.com
Fri Nov 21 16:47:11 CET 2014


Hooked up the monitor to an xpub socket per the zmq_socket_monitor man 
page but I am only getting zero's for the the ip, but getting correct 
initial port.

click-admin at grogers-ubuntu:~/Ingest-Dev$ obj/broker -s tcp://*:9053 -i 
60 -q 1000
starting monitor...
listening socket descriptor 14
listening socket address tcp://0.0.0.0:9091
accepted socket descriptor 15
accepted socket address tcp://0.0.0.0:9091
disconnected socket descriptor 15
disconnected socket address tcp://0.0.0.0:9091
accepted socket descriptor 15
accepted socket address tcp://0.0.0.0:9091
disconnected socket descriptor 15
disconnected socket address tcp://0.0.0.0:9091
accepted socket descriptor 15
accepted socket address tcp://0.0.0.0:9091
disconnected socket descriptor 15
disconnected socket address tcp://0.0.0.0:9091

These connections were local and remote hosts.

Using 4.0.5 and 4.0.4

Looks like in tcp_listener_t endpoint is used for all events instead of 
stream_engine_t::peer_address which is collected from socket info.





More information about the zeromq-dev mailing list