[zeromq-dev] Removing auth on the current connection

Agniva De Sarker agniva.quicksilver at gmail.com
Fri Mar 24 05:42:00 CET 2017

Hi there,

I have been trying to setup a secure zmq communication using plain auth. I
want to be able to dynamically add and remove users without restarting my
service. However, when I do zmq.AuthPlainRemove(in golang), the socket
still accepts data from the user whom I have just banned.

I understand that once a socket starts accepting data, it keeps on doing
so, even if I have removed auth. And I need to close and open a new socket
for that. Is that correct ?

And if it is, what would be the most ideal way to achieve this ? I am
thinking to send a signal to the client and then have the client close the
socket (signifying that it has been banned). Are there any better ways to
do this ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170324/92c1d59a/attachment.htm>

More information about the zeromq-dev mailing list