Re: [zeromq-dev] Router socket to force peer disconnect

2014-01-11 Thread Pieter Hintjens
JeroMQ is easier to use and is becoming the main Java stack for
ZeroMQ. However it doesn't yet support encryption. So for that you can
use jzmq on top of libzmq 4.0

On Fri, Jan 10, 2014 at 1:23 PM, Dmitriy Vsekhvalnov
dvsekhval...@gmail.com wrote:
 Thanks Pieter,

 i was under impression that jeromq is preferable project in java space. I'll
 take a look.


 On Fri, Jan 10, 2014 at 12:31 AM, Pieter Hintjens p...@imatix.com wrote:

 JZMQ runs on ZeroMQ v4.0 and supports the security layers.

 On Thu, Jan 9, 2014 at 5:03 PM, Dmitriy Vsekhvalnov
 dvsekhval...@gmail.com wrote:
  I'd like to. But it doesn't seem to be possible with Java or CLR at the
  moment. And we don't have time/budget to invest in support right now.
 
  Thanks for answer.
 
 
  On Thu, Jan 9, 2014 at 6:19 PM, Pieter Hintjens p...@imatix.com wrote:
 
  If you don't trust your peers you should probably be using ZeroMQ 4.x
  and security. Then you will only see authenticated peers.
 
  On Wed, Jan 8, 2014 at 12:32 PM, Dmitriy Vsekhvalnov
  dvsekhval...@gmail.com wrote:
   Hi All,
  
   continue my little evaluation of zeromq and wanted to ask next
   question:
   is
   it possible to force disconnect of client from router side? (e.g.
   disconnect
   req or dealer).
  
   If it is not possible are those clients who connected to router
   socket
   consume resources? A lot? Even if no messages send/received from
   them?
  
   We are in environment where we don't trust peers until they complete
   handshake with router socket.
   And would like to disconnect them if handshake failed. (i know we can
   simply
   ignore them and keep connected).
  
   Thanks.
  
   ___
   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


Re: [zeromq-dev] Router socket to force peer disconnect

2014-01-10 Thread Dmitriy Vsekhvalnov
Thanks Pieter,

i was under impression that jeromq is preferable project in java space.
I'll take a look.


On Fri, Jan 10, 2014 at 12:31 AM, Pieter Hintjens p...@imatix.com wrote:

 JZMQ runs on ZeroMQ v4.0 and supports the security layers.

 On Thu, Jan 9, 2014 at 5:03 PM, Dmitriy Vsekhvalnov
 dvsekhval...@gmail.com wrote:
  I'd like to. But it doesn't seem to be possible with Java or CLR at the
  moment. And we don't have time/budget to invest in support right now.
 
  Thanks for answer.
 
 
  On Thu, Jan 9, 2014 at 6:19 PM, Pieter Hintjens p...@imatix.com wrote:
 
  If you don't trust your peers you should probably be using ZeroMQ 4.x
  and security. Then you will only see authenticated peers.
 
  On Wed, Jan 8, 2014 at 12:32 PM, Dmitriy Vsekhvalnov
  dvsekhval...@gmail.com wrote:
   Hi All,
  
   continue my little evaluation of zeromq and wanted to ask next
 question:
   is
   it possible to force disconnect of client from router side? (e.g.
   disconnect
   req or dealer).
  
   If it is not possible are those clients who connected to router socket
   consume resources? A lot? Even if no messages send/received from them?
  
   We are in environment where we don't trust peers until they complete
   handshake with router socket.
   And would like to disconnect them if handshake failed. (i know we can
   simply
   ignore them and keep connected).
  
   Thanks.
  
   ___
   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


Re: [zeromq-dev] Router socket to force peer disconnect

2014-01-09 Thread Pieter Hintjens
If you don't trust your peers you should probably be using ZeroMQ 4.x
and security. Then you will only see authenticated peers.

On Wed, Jan 8, 2014 at 12:32 PM, Dmitriy Vsekhvalnov
dvsekhval...@gmail.com wrote:
 Hi All,

 continue my little evaluation of zeromq and wanted to ask next question: is
 it possible to force disconnect of client from router side? (e.g. disconnect
 req or dealer).

 If it is not possible are those clients who connected to router socket
 consume resources? A lot? Even if no messages send/received from them?

 We are in environment where we don't trust peers until they complete
 handshake with router socket.
 And would like to disconnect them if handshake failed. (i know we can simply
 ignore them and keep connected).

 Thanks.

 ___
 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


Re: [zeromq-dev] Router socket to force peer disconnect

2014-01-09 Thread Dmitriy Vsekhvalnov
I'd like to. But it doesn't seem to be possible with Java or CLR at the
moment. And we don't have time/budget to invest in support right now.

Thanks for answer.


On Thu, Jan 9, 2014 at 6:19 PM, Pieter Hintjens p...@imatix.com wrote:

 If you don't trust your peers you should probably be using ZeroMQ 4.x
 and security. Then you will only see authenticated peers.

 On Wed, Jan 8, 2014 at 12:32 PM, Dmitriy Vsekhvalnov
 dvsekhval...@gmail.com wrote:
  Hi All,
 
  continue my little evaluation of zeromq and wanted to ask next question:
 is
  it possible to force disconnect of client from router side? (e.g.
 disconnect
  req or dealer).
 
  If it is not possible are those clients who connected to router socket
  consume resources? A lot? Even if no messages send/received from them?
 
  We are in environment where we don't trust peers until they complete
  handshake with router socket.
  And would like to disconnect them if handshake failed. (i know we can
 simply
  ignore them and keep connected).
 
  Thanks.
 
  ___
  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


Re: [zeromq-dev] Router socket to force peer disconnect

2014-01-09 Thread Pieter Hintjens
JZMQ runs on ZeroMQ v4.0 and supports the security layers.

On Thu, Jan 9, 2014 at 5:03 PM, Dmitriy Vsekhvalnov
dvsekhval...@gmail.com wrote:
 I'd like to. But it doesn't seem to be possible with Java or CLR at the
 moment. And we don't have time/budget to invest in support right now.

 Thanks for answer.


 On Thu, Jan 9, 2014 at 6:19 PM, Pieter Hintjens p...@imatix.com wrote:

 If you don't trust your peers you should probably be using ZeroMQ 4.x
 and security. Then you will only see authenticated peers.

 On Wed, Jan 8, 2014 at 12:32 PM, Dmitriy Vsekhvalnov
 dvsekhval...@gmail.com wrote:
  Hi All,
 
  continue my little evaluation of zeromq and wanted to ask next question:
  is
  it possible to force disconnect of client from router side? (e.g.
  disconnect
  req or dealer).
 
  If it is not possible are those clients who connected to router socket
  consume resources? A lot? Even if no messages send/received from them?
 
  We are in environment where we don't trust peers until they complete
  handshake with router socket.
  And would like to disconnect them if handshake failed. (i know we can
  simply
  ignore them and keep connected).
 
  Thanks.
 
  ___
  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] Router socket to force peer disconnect

2014-01-08 Thread Dmitriy Vsekhvalnov
Hi All,

continue my little evaluation of zeromq and wanted to ask next question: is
it possible to force disconnect of client from router side? (e.g.
disconnect req or dealer).

If it is not possible are those clients who connected to router socket
consume resources? A lot? Even if no messages send/received from them?

We are in environment where we don't trust peers until they complete
handshake with router socket.
And would like to disconnect them if handshake failed. (i know we can
simply ignore them and keep connected).

Thanks.
___
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev