[zeromq-dev] Duplicate identities - #325

Pieter Hintjens ph at imatix.com
Mon Mar 26 18:15:40 CEST 2012

On Sat, Mar 24, 2012 at 10:59 AM, Chuck Remes <lists at chuckremes.com> wrote:

> FYI, this patch was rejected by crossroads-io. They prefer it be handled by
> closing the offending connection rather than silently allowing it to connect
> but with an auto identity.

The problem here is that the protocol is unable to report errors back.
(We're running on an amateurish protocol, sadly.)

So if you're facing a buggy client, you can't help it in any way.
Closing the connection won't help (it'll just retry). Asserting in the
server is pathological. Switching to an automatic identity isn't great

If you're facing a hostile client, switching to an automatic identity
is a decent strategy since it'll keep the client busy.


More information about the zeromq-dev mailing list