Re: [zeromq-dev] Using Strawhouse security pattern with ZeroMQ

2014-12-16 Thread Pieter Hintjens
czmqpp wraps CZMQ so provides the same classes. You use zauth to do the authentication. On Mon, Dec 15, 2014 at 11:40 PM, Check Peck comptechge...@gmail.com wrote: Hi Pieter, Is there any example for Strawhouse security pattern using C++ czmq wrapper? This link http://hintjens.com/blog:49

Re: [zeromq-dev] Using Strawhouse security pattern with ZeroMQ

2014-12-15 Thread Check Peck
Thanks Pieter, Yes it worked fine after I remove older version of libzmq. One question I have on Strawhouse pattern is - Does it always work with IP Address? I cannot use hostname to white list it? If I try to replace 127.0.0.1 with localhost or the actual machine name, then it doesn't work.

Re: [zeromq-dev] Using Strawhouse security pattern with ZeroMQ

2014-12-15 Thread Pieter Hintjens
You can't white/blacklist on domain names without a lot more work. The zauth class uses the IP address as provided by the network. On Mon, Dec 15, 2014 at 9:57 PM, Check Peck comptechge...@gmail.com wrote: Thanks Pieter, Yes it worked fine after I remove older version of libzmq. One question I

Re: [zeromq-dev] Using Strawhouse security pattern with ZeroMQ

2014-12-15 Thread Check Peck
Ok got it. I have another question on zauth which I have asked separately in another question with the subject name. How to use ZeroMQ context with zauth? See if you can help me out. On Mon, Dec 15, 2014 at 1:17 PM, Pieter Hintjens p...@imatix.com wrote: You can't white/blacklist on domain

Re: [zeromq-dev] Using Strawhouse security pattern with ZeroMQ

2014-12-15 Thread Check Peck
Hi Pieter, Is there any example for Strawhouse security pattern using C++ czmq wrapper? This link http://hintjens.com/blog:49 only talks about c way of doing it. I found github repository https://github.com/zeromq/czmqpp which looks like it's a C++ wrapper for czmq but not able to find any

Re: [zeromq-dev] Using Strawhouse security pattern with ZeroMQ

2014-12-13 Thread Pieter Hintjens
You presumably have two versions of libzmq installed on your system, and gcc is complaining they both have the same symbols. I'd recommend removing the older version. On Sat, Dec 13, 2014 at 1:29 AM, Check Peck comptechge...@gmail.com wrote: I am trying to use Strawhouse security pattern in my

[zeromq-dev] Using Strawhouse security pattern with ZeroMQ

2014-12-12 Thread Check Peck
I am trying to use Strawhouse security pattern in my zero-mq development. I was following this wiki http://hintjens.com/blog:49 and when I try to run below simple program to make sure I have everything installed, I got an error - #include czmq.h int main (void) { zctx_t *ctx = zctx_new ();