[zeromq-dev] Open file leak during DNS resolution while network is down (regression in libzmq-4.1.0 and libzmq-master) #1302

2015-01-18 Thread Tomas Krajca
Hi, I've reported this weird bug https://github.com/zeromq/libzmq/issues/1302 that we hit last week, I wonder if anybody experienced the same thing or can reproduce it. Basically, we saw a progressive file handle leak that crashed our application after about an hour of network outage. Any

Re: [zeromq-dev] Using ZeroMQ Security with gssapi

2015-01-18 Thread Mike Gatny
But there is a gist! https://gist.github.com/cbusbey/11265987 We wrote this example back when we started the gssapi implementation, in the same spirit as Pieter's blog post examples. If you need something more, I'll be happy to work something up for you. On Jan 17, 2015 6:24 PM, Pieter Hintjens

Re: [zeromq-dev] gozmq beacon

2015-01-18 Thread Andrew Hume
brian, maybe this is a setup issue. when i run it, the received beacon is empty, and the listener only returns after the timeout expires. (i changed the timeout to 5s to help debug this.) so i deduce the listener never gets what the publisher sends. can there be firewalls or some other

[zeromq-dev] zyre

2015-01-18 Thread Andrew Hume
pieter, what is the status of zyre? including near term plans and so forth? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] gozmq beacon

2015-01-18 Thread Brian Knox
Andrew: what is actually published is the IP address of the beacon = so the HI in the example is a topic, and not what is actually received. So, the publisher is publishing on topic HI, and the subscriber is subscribing on topic HI. Running locally: ./b Beacon configured on: 192.168.1.199

Re: [zeromq-dev] gozmq beacon

2015-01-18 Thread Brian Knox
Andrew - the beacon uses IPv4 UDP broadcasts - so it could very well be a networking issue. Thanks for all the feedback by the way! Feel free to file issues you run into on the issue tracker as well, or hit me up on #zeromq on freenode irc (I use the nickname taotetek there). Once I get some

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-18 Thread Benjamin
It's a very difficult and deep question, if you're building a true P2P network. If all peers are equal, nobody has some truth with regards to the identity of another peer. Say you have the following protocol: each peer starts announcing the identity of all known peers before exchange data. One

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-18 Thread Andre Caron
Yes, I understand the web of trust model. In my case, all (legitimate) nodes are controlled by the same organization, so I can afford something akin to a CA. My question stays, how could I adapt the Harmony pattern to use curve? And, back to my original question: can I assume that

Re: [zeromq-dev] zyre

2015-01-18 Thread Pieter Hintjens
Sure, we could do that. Most people use it from github master, I think. On Sun, Jan 18, 2015 at 7:18 PM, Joss Gray j...@jossgray.net wrote: Are there any plans do a new stable release? On 18 Jan 2015 18:15, Pieter Hintjens p...@imatix.com wrote: Zyre has come along nicely, it works well and

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-18 Thread André Caron
I've looked at that already and still prefer the router-router setup and have a convenient solution for discovery, which I'll get back to shortly. Obviously my immediate curve problem would be solved when using the Harmony pattern because you always create a new dealer socket for each outbound

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-18 Thread Pieter Hintjens
On Sun, Jan 18, 2015 at 7:43 PM, André Caron andre.l.ca...@gmail.com wrote: ... the Harmony pattern doesn't provide for secure exchange of public keys. It is identical to any pattern. Long term key exchange has to happen out of band. Using router-router changes nothing here. Each peer has its

Re: [zeromq-dev] zyre

2015-01-18 Thread Joss Gray
Are there any plans do a new stable release? On 18 Jan 2015 18:15, Pieter Hintjens p...@imatix.com wrote: Zyre has come along nicely, it works well and has a clean API. On Sun, Jan 18, 2015 at 4:37 PM, Andrew Hume and...@humeweb.com wrote: pieter, what is the status of zyre?

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-18 Thread Pieter Hintjens
I'd recommend reading about the Harmony pattern in the Guide. Router-to-router topologies tend to be nasty. I don't use them, and don't recommend them. On Sun, Jan 18, 2015 at 5:57 PM, André Caron andre.l.ca...@gmail.com wrote: Hi all, I've been building an example of a router-router setup in

[zeromq-dev] About CURVE and ROUTER sockets

2015-01-18 Thread André Caron
Hi all, I've been building an example of a router-router setup in which all nodes dynamically discover each other. This currently works like a charm. Now, I'm trying to add curve support for this application, which is proving a bit confusing despite the API's apparent simplicity. Basically,

Re: [zeromq-dev] zyre

2015-01-18 Thread Pieter Hintjens
Zyre has come along nicely, it works well and has a clean API. On Sun, Jan 18, 2015 at 4:37 PM, Andrew Hume and...@humeweb.com wrote: pieter, what is the status of zyre? including near term plans and so forth? ___ zeromq-dev mailing list

Re: [zeromq-dev] zyre

2015-01-18 Thread Andrew Hume
are there any Go bindings for the API? On Jan 18, 2015, at 10:14 AM, Pieter Hintjens p...@imatix.com wrote: Zyre has come along nicely, it works well and has a clean API. On Sun, Jan 18, 2015 at 4:37 PM, Andrew Hume and...@humeweb.com wrote: pieter, what is the status of zyre?

Re: [zeromq-dev] About CURVE and ROUTER sockets

2015-01-18 Thread Pieter Hintjens
You should not be changing public keys IMO. It is supported and documented and thus guaranteed, however I believe it's a misfeature that solves no real problem and rather, opens the door for confusion. On Sun, Jan 18, 2015 at 8:05 PM, Andre Caron andre.l.ca...@gmail.com wrote: Yes, I understand