[zeromq-dev] Even more fun with accept

Pieter Hintjens ph at imatix.com
Sat May 2 09:45:18 CEST 2009


On Fri, May 1, 2009 at 6:18 PM, Dhammika Pathirana <dhammika at gmail.com> wrote:

> I was referring to the possibility of another application rebinding
> server port and impersonating the server.

Yes, that was clear I think.  This is possible only if the server
actually stops and then before it restarts, another application opens
the same listening port.  This is not the scenario we have here.

One strategy to prevent bogus servers occupying ports is to use ports
below 4096 (on Unix systems) so that superuser access is needed to
open the port.

-Pieter



More information about the zeromq-dev mailing list