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 > [email protected] > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] 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 <[email protected]> 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
