Hi MfG,
    Do you mean use zmq_proxy() to monitor inbound messages of a XPUB
socket?
- Zhichang


2014-06-12 16:06 GMT+08:00 Goswin von Brederlow <goswin-...@web.de>:

> You can get infos through a monitoring socket and through a ZAP handler.
>
> MfG
>         Goswin
>
> On Thu, Jun 12, 2014 at 10:44:49AM +0800, ????????? wrote:
> > I'm looking for debug and/or log information. Thanks for your suggestion!
> > - Zhichang
> >
> >
> > 2014-06-12 10:25 GMT+08:00 Michel Pelletier <pelletier.mic...@gmail.com
> >:
> >
> > > That would break the transport abstraction in 0mq, not all transports
> are
> > > IP based.  If you're thinking of using IP addresses as a
> > > whitelist/blacklist security mechanism, I would suggest looking at the
> > > curve security stuff instead.  IP based security is easily defeated.
> > >
> > > http://curvezmq.org/
> > >
> > > If you're looking to just log connections, you can get that from the
> OS,
> > > for example on Linux:
> > >
> > > http://gr8idea.info/os/tutorials/security/iptables5.html
> > >
> > > -Michel
> > > On Wed, Jun 11, 2014 at 7:16 PM, ????????? <yuzhich...@gmail.com>
> wrote:
> > >
> > >> Hi Michel,
> > >>     XPUB looks good. However I want more details info: the SUBs'
> address
> > >> info(IP + TCP port). Is that possible?
> > >> Regards,
> > >> Zhichang
> > >>
> > >>
> > >> 2014-06-12 9:40 GMT+08:00 Michel Pelletier <
> pelletier.mic...@gmail.com>:
> > >>
> > >> Subscriptions are received in the form of incoming messages you get by
> > >>> calling recv on the xpub socket.
> > >>>
> > >>> http://api.zeromq.org/3-2:zmq-socket
> > >>>
> > >>> "Same as ZMQ_PUB except that you can receive subscriptions from the
> > >>> peers in form of incoming messages. Subscription message is a byte 1
> (for
> > >>> subscriptions) or byte 0 (for unsubscriptions) followed by the
> subscription
> > >>> body."
> > >>>
> > >>> -Michel
> > >>>
> > >>>
> > >>> On Wed, Jun 11, 2014 at 6:26 PM, ????????? <yuzhich...@gmail.com>
> wrote:
> > >>>
> > >>>> I don't see routines to dump xpub_t::subscriptions.
> > >>>>
> > >>>> Regards,
> > >>>> Zhichang
> > >>>>
> > >>>> _______________________________________________
> > >>>> zeromq-dev mailing list
> > >>>> zeromq-dev@lists.zeromq.org
> > >>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> > >>>>
> > >>>>
> > >>>
> > >>> _______________________________________________
> > >>> zeromq-dev mailing list
> > >>> zeromq-dev@lists.zeromq.org
> > >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> > >>>
> > >>>
> > >>
> > >> _______________________________________________
> > >> zeromq-dev mailing list
> > >> zeromq-dev@lists.zeromq.org
> > >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> > >>
> > >>
> > >
> > > _______________________________________________
> > > zeromq-dev mailing list
> > > zeromq-dev@lists.zeromq.org
> > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> > >
> > >
>
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev@lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to