1. 07 Feb, 2019 1 commit
  2. 04 Feb, 2019 1 commit
  3. 26 May, 2018 1 commit
  4. 23 May, 2018 1 commit
  5. 13 Feb, 2018 1 commit
    • Simon Giesecke's avatar
      Problem: network initialization and shutdown functions not available for · e8e24030
      Simon Giesecke authored
      reuse
      
      Solution: extract into functions defined in ip.hpp
      
      Problem: signaler_t::make_fdpair not reusable
      
      Solution: move make_fdpair to ip.hpp
      
      Problem: epoll worker with no fds cannot be stopped
      
      Solution: use interruptible epoll_pwait call
      
      Problem: insufficient unit tests for poller
      
      Solution: add test cases
      e8e24030
  6. 02 Feb, 2018 1 commit
  7. 31 Jul, 2017 1 commit
    • Brian Russell's avatar
      Add socket option BINDTODEVICE · b963542e
      Brian Russell authored
      Linux now supports Virtual Routing and Forwarding (VRF) as per:
      
      https://www.kernel.org/doc/Documentation/networking/vrf.txt
      
      In order for an application to bind or connect to a socket with an
      address in a VRF, they need to first bind the socket to the VRF device:
      
          setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, dev, strlen(dev)+1);
      
      Note "dev" is the VRF device, eg. VRF "blue", rather than an interface
      enslaved to the VRF.
      
      Add a new socket option, ZMQ_BINDTODEVICE, to bind a socket to a device.
      In general, if a socket is bound to a device, eg. an interface, only
      packets received from that particular device are processed by the socket.
      
      If device is a VRF device, then subsequent binds/connects to that socket
      use addresses in the VRF routing table.
      b963542e
  8. 04 Jan, 2017 1 commit
    • Luca Boccassi's avatar
      Problem: peer can close connection before SO_NOSIGPIPE is set · 31a3a068
      Luca Boccassi authored
      Solution: setsockopt returns EINVAL if the connection was closed by
      the peer after the accept returned a valid socket. This is a valid
      network error and should not cause an assert.
      To handle this we have to extract the setsockopt from the stream
      engine, as there's no clean way to return an error from the
      constructor. Instead, try to set this option before creating the
      engine in the callers, and return immediately as if the accept
      had failed to avoid churn. Do the same for the connect calls by
      setting the option in open_socket, so that the option for that
      case is set even before connecting, so there's no possible race
      condition.
      Since this has to be done in 4 places (tcp/ipc listener, socks
      connecter and open_socket) add an utility function in ip.cpp.
      Fixes #1442
      31a3a068
  9. 28 Jan, 2016 1 commit
  10. 02 Jun, 2015 1 commit
  11. 22 Jan, 2015 1 commit
  12. 02 Jan, 2014 1 commit
  13. 06 Dec, 2013 1 commit
    • Brandon Carpenter's avatar
      Add support for extending ZAP request address with IPC peer credentials. · a018ef5e
      Brandon Carpenter authored
      Another take on LIBZMQ-568 to allow filtering IPC connections, this time
      using ZAP.  This change is backward compatible.  If the
      ZMQ_ZAP_IPC_CREDS option is set, the user, group, and process IDs of the
      peer process are appended to the address (separated by colons) of a ZAP
      request; otherwise, nothing changes.  See LIBZMQ-568 and zmq_setsockopt
      documentation for more information.
      a018ef5e
  14. 25 Nov, 2013 1 commit
  15. 18 Jul, 2013 1 commit
  16. 12 Mar, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505
  17. 12 Jun, 2012 2 commits
  18. 08 Jun, 2012 1 commit
    • Hiten P's avatar
      Consolidate TCP-specific common code into their own files. · db13fbf4
      Hiten P authored
      The TCP keepalive tuning code has been moved into the newly added
      files; this also allows future TCP-specific code to be added into
      these files, without bloating the IP level code and establishes a
      known file structure for other IP-based transports.
      
      Remember: this is a no-op change, hence no API or functionality
      was changed as part of this commit.
      db13fbf4
  19. 05 Apr, 2012 1 commit
  20. 01 Nov, 2011 1 commit
  21. 31 Oct, 2011 1 commit
  22. 02 Sep, 2011 1 commit
  23. 18 Aug, 2011 2 commits
  24. 15 Aug, 2011 1 commit
  25. 08 Aug, 2011 1 commit
  26. 29 Jul, 2011 1 commit
  27. 28 Jul, 2011 1 commit
  28. 08 Mar, 2011 1 commit
  29. 02 Mar, 2011 1 commit
  30. 30 Oct, 2010 1 commit
  31. 03 Mar, 2010 1 commit
  32. 18 Feb, 2010 1 commit
  33. 23 Jan, 2010 1 commit
  34. 22 Jan, 2010 1 commit
  35. 15 Jan, 2010 1 commit
  36. 05 Jan, 2010 1 commit
  37. 03 Aug, 2009 1 commit
  38. 29 Jul, 2009 1 commit