[zeromq-dev] [Proposal] Add ZMQ_EVENT_SUBSCRIBED and ZMQ_EVENT_UNSUBSCRIBED to monitor events

Greg Rogers grogers at clicksecurity.com
Tue Nov 25 17:25:30 CET 2014


We would like to set up logging on a proxy to monitor connections and 
traffic, but would also like to know what messages are going where.

I forked libzmq and have a working version.
https://github.com/greroger/libzmq

Basically just added the new events, the methods in socket_base_t, then 
added the calls to xpub_t::xread_activated().

Just need input on how to format the message. It is currently set up to 
replace the address part with the subscription text, but wondering if 
it should be another message part in addition to address?

Thanks





More information about the zeromq-dev mailing list