1. 12 Mar, 2014 1 commit
  2. 03 Mar, 2014 1 commit
  3. 14 Feb, 2014 1 commit
  4. 13 Feb, 2014 3 commits
  5. 28 Jan, 2014 1 commit
  6. 24 Jan, 2014 1 commit
  7. 19 Jan, 2014 2 commits
    • Pieter Hintjens's avatar
      Cleaned up option to force identity on outgoing connection · 50bd28c0
      Pieter Hintjens authored
      - renamed to ZMQ_CONNECT_RID
      - fixed whitespace malformating around previous patch
      - renamamed next_peer_id to next_rid in preparation for
        larger rename of IDENTITY to ROUTING_ID
      
      Note: ZMQ_CONNECT_RID has no test case and no entry in the man
      page, as yet.
      50bd28c0
    • Tim M's avatar
      Fixed compile issue with missing member of socket_base. Changed… · b1920bdf
      Tim M authored
      Fixed compile issue with missing member of socket_base.  Changed ZMQ_NEXT_IDENTITY to ZMQ_NEXT_CONNECT_PEER_ID.
      
      Fixed case where ZMQ_NEXT_CONNECT_PEER_ID is used in ROUTER, and ROUTER does not read the identity message from the connected pipe.
      b1920bdf
  8. 17 Jan, 2014 2 commits
    • Tim M's avatar
      fixed define value in header · f13512a9
      Tim M authored
      f13512a9
    • Tim M's avatar
      Both STREAM and ROUTER sockets suffer from a naming problem on outbound… · 5d4860ea
      Tim M authored
      Both STREAM and ROUTER sockets suffer from a naming problem on outbound connections. While these connections can be created, they can't be immediately used. Traffic must be received before it can be sent. This prevents practical, minimal usage of STREAM or ROUTER as a true N fan in/out socket.
      
      This change simply provides the user with a socket option that sets a user defined name of the next outbound connection:
      
      zmq_setsockopt(routerSock,ZMQ_NEXT_IDENTITY,"myname",6);
      if(0 > zmq_connect(routerSock,"tcp://127.0.0.1:1234")) return 1;
      ret = zmq_send(routerSock,"myname",6,ZMQ_SNDMORE);
      zmq_send(routerSock,b.mem,b.used,0);
      
      In this example, the socket is immediately given the name "myname", and is capable of immediately sending traffic.
      
      This approach is more effective in three ways:
      1) It prevents all sorts of malicious peer naming attacks that can cause undefined behavior in existing ROUTER connections. (Two connections are made that both transmit the same name to the ROUTER, the ROUTER behavior is undefined)
      2) It allows immediate control of connections made to external parties for STREAM sockets. Something that is not possible right now. Before an outbound connection had no name for STREAM or ROUTER sockets because outbound connections cannot be sent to without first receiving traffic.
      3) It is simpler and more general than expecting two ROUTER sockets to handshake on assigned connection names. Plus it allows inline sending to new connections on ROUTER.
      5d4860ea
  9. 07 Jan, 2014 1 commit
  10. 06 Jan, 2014 1 commit
  11. 02 Jan, 2014 1 commit
  12. 01 Jan, 2014 1 commit
    • Pieter Hintjens's avatar
      Removed ZMQ_ZAP_IPC_CREDS option · 5bf96f64
      Pieter Hintjens authored
      - This seems redundant; is there a use case for NOT providing
        the IPC credentials to the ZAP authenticator?
      
      - More, why is IPC authentication done via libzmq instead of ZAP?
        Is it because we're missing the transport type on the ZAP request?
      5bf96f64
  13. 06 Dec, 2013 2 commits
  14. 04 Dec, 2013 1 commit
  15. 25 Nov, 2013 1 commit
  16. 24 Nov, 2013 1 commit
  17. 11 Nov, 2013 1 commit
  18. 01 Nov, 2013 1 commit
  19. 31 Oct, 2013 1 commit
  20. 18 Oct, 2013 2 commits
  21. 08 Oct, 2013 2 commits
  22. 04 Oct, 2013 2 commits
  23. 02 Oct, 2013 1 commit
  24. 24 Sep, 2013 1 commit
  25. 20 Sep, 2013 2 commits
  26. 17 Sep, 2013 4 commits
  27. 15 Sep, 2013 1 commit
    • Pieter Hintjens's avatar
      Added z85 codec to ZMQ API · 576e3ca5
      Pieter Hintjens authored
      * Removed redundant Z85 code and include files from project
      * Simplified use of headers in test cases (now they all just use testutil.hpp)
      * Export zmq_z85_encode() and zmq_z85_decode() in API
      * Added man pages for these two functions
      576e3ca5
  28. 10 Sep, 2013 1 commit