1. 28 May, 2012 1 commit
  2. 18 Apr, 2012 2 commits
  3. 13 Apr, 2012 1 commit
  4. 12 Apr, 2012 1 commit
    • Sergey KHripchenko's avatar
      Implement ZMQ_TCP_ACCEPT_FILTER setsockopt() for listening TCP sockets. · acba6bdd
      Sergey KHripchenko authored
      Assign arbitrary number of filters that will be applied for each new TCP transport
      connection on a listening socket.
      If no filters applied, then TCP transport allows connections from any ip.
      If at least one filter is applied then new connection source ip should be matched.
      To clear all filters call zmq_setsockopt(socket, ZMQ_TCP_ACCEPT_FILTER, NULL, 0).
      Filter is a null-terminated string with ipv6 or ipv4 CIDR.
      
      For example:
      localhost
      127.0.0.1
      mail.ru/24
      ::1
      ::1/128
      3ffe:1::
      3ffe:1::/56
      
      Returns -1 if the filter couldn't be assigned(format error or ipv6 filter with ZMQ_IPV4ONLY set)
      
      P.S.
      The only thing that worries me is that I had to re-enable 'default assign by reference constructor/operator'
      for 'tcp_address_t' (and for my inherited class tcp_address_mask_t) to store it in std::vector in 'options_t'...
      acba6bdd
  5. 27 Mar, 2012 3 commits
  6. 25 Mar, 2012 1 commit
    • Martin Hurton's avatar
      Don't set the AI_V4MAPPED flag on FreeBSD · c2e9997a
      Martin Hurton authored
      The problem is that even though the AI_V4MAPPED flag is defined
      on FreeBSD, the getaddrinfo function does not support it and
      returns EAI_BADFLAGS.
      
      The patch also sets the flag on Windows if it is defined there.
      This is true for Windows Vista and later.
      
      Fixes issue #331.
      c2e9997a
  7. 16 Feb, 2012 1 commit
  8. 11 Feb, 2012 1 commit
  9. 08 Feb, 2012 1 commit
  10. 15 Nov, 2011 1 commit
  11. 04 Nov, 2011 1 commit
  12. 01 Nov, 2011 1 commit
  13. 31 Oct, 2011 1 commit
  14. 03 Sep, 2011 1 commit
  15. 02 Sep, 2011 1 commit
  16. 19 Aug, 2011 1 commit
  17. 18 Aug, 2011 3 commits
  18. 15 Aug, 2011 2 commits
  19. 14 Aug, 2011 2 commits
  20. 08 Aug, 2011 2 commits
  21. 29 Jul, 2011 1 commit
  22. 28 Jul, 2011 1 commit
  23. 29 Jun, 2011 1 commit
  24. 17 May, 2011 1 commit
  25. 15 May, 2011 1 commit
  26. 21 Apr, 2011 1 commit
  27. 09 Mar, 2011 1 commit
  28. 08 Mar, 2011 1 commit
  29. 02 Mar, 2011 1 commit
  30. 22 Feb, 2011 1 commit
  31. 30 Oct, 2010 1 commit
  32. 21 Jul, 2010 1 commit