[zeromq-dev] Pub/Sub questions
Joshua Foster
jhawk28 at gmail.com
Tue Jul 19 00:59:37 CEST 2011
If you use a payload encryption, you could pass out shared decryption keys using a req/rep. If the filtering needed to change, you could detect it (decryption fails) and the clients would then request a new decryption key. The ones that are not allowed to see that data would be rejected.
Joshua
On Jul 18, 2011, at 2:37 PM, Marc Ilgen wrote:
> Hello
> Suppose I set up a client/server system with SUB and PUB sockets. I want the
> client to have to authenticate its ability to subscribe and I want the
> server to have the ability to unsubscribe a specific named client in the
> case that the client's subscription credentials expire or become invalid for
> any reason.
>
> How can I do this? The only way I can think of to subscribe is to have the
> client connect to the server in a REQ/REP fashion and send authenticate
> information that way. But I can't see how a PUB socket can drop a
> subscriber. Any ideas?
>
> ----------------------------------------------------------------------------
> ------
> Marc Ilgen
> marc at westofpluto.com
>
> -----Original Message-----
> From: zeromq-dev-bounces at lists.zeromq.org
> [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Pieter Hintjens
> Sent: Monday, July 18, 2011 4:10 AM
> To: ZeroMQ development list
> Subject: Re: [zeromq-dev] assert error: what's up with 0mq v3?
>
> On Sun, Jul 17, 2011 at 1:53 AM, Marc Ilgen <marc at westofpluto.com> wrote:
>
>> OK I tried this very same code with release 2.1.7 of 0mq and it works
> fine,
>> no crashes.
>
> 3.0.0 is a first packaging of a new version, so it's fair to assume
> there are some issues there.
>
> At this stage, 3.0.x is really only for people who want the new
> functionality and are willing to help make this version mature.
>
> Please, do make minimal test cases and report any issues you find via
> https://zeromq.jira.com.
>
> Cheers
> Pieter
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list