[zeromq-dev] Indentify message sender

Simon.Giesecke at btc-ag.com Simon.Giesecke at btc-ag.com
Thu Oct 19 15:27:17 CEST 2017


you can query the User-Id in the message metadata. See the example code on http://api.zeromq.org/4-2:zmq-msg-gets

Best regards

Von: zeromq-dev [mailto:zeromq-dev-bounces at lists.zeromq.org] Im Auftrag von Andrei Bica
Gesendet: Donnerstag, 19. Oktober 2017 15:16
An: zeromq-dev at lists.zeromq.org
Betreff: [zeromq-dev] Indentify message sender

I'm using CURVE mechanism to authenticate clients connecting to a server and using its services trough ZeroMQ (ROUTER/DEALER). Is it possible to identify who sent the request? Which client sent the request so I can perform authorisation checks (e.g. if the client has the proper permissions to do some operation)? Or ZeroMQ and CURVE was not intended to be used this way?
Andrei Bica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171019/f0d9d9f2/attachment.htm>

More information about the zeromq-dev mailing list