[zeromq-dev] Authentication and filtering

Dmitriy Vsekhvalnov dvsekhvalnov at gmail.com
Fri Dec 27 19:33:43 CET 2013


Hi all,

looking for some advice where to start/patterns with zeromq for the
following requirements:

 - there is bunch of events (tasks) generated by some external parties
 - each events is going to be processed by worker
 - worker have to be authenticated with username/password to
broker/router/whatever
 - events have to be routed to particular workers based on authenticated
identity (worker's identity).  - every single event have to be processed
exactly once (not a pub/sub model).
 - fully async on pushing event to worker and collecting result from worker
 - if no workers for given set of events at particular moment - fine to
loose messages


Or in other words: non-authenticated workers should never receive anything.
authenticated should never receive events related to other parties.

My main questions are:

1. zerommq and auth? Is zeromq supports it (i need pure CLR to pure JVM
impls if it matters). If not can it be done during initial "handshaker?

2. how to track workers identity to route only related events?

3. how to drop non-authenticated connections from routes?

Any general guidelines or ideas very appreciated.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131227/6c7da7e5/attachment.htm>


More information about the zeromq-dev mailing list