- 14 Oct, 2014 1 commit
-
-
Pieter Hintjens authored
-
- 12 Aug, 2014 2 commits
-
-
Pieter Hintjens authored
Solution: change setsockopts on printable keys to expect 41, nor 40 bytes. Code still accepts 40 bytes for compatibility, and copies the key to a well-terminated string before using it. Fixes #1148
-
Pieter Hintjens authored
-
- 07 Aug, 2014 1 commit
-
-
Goswin von Brederlow authored
-
- 20 Jun, 2014 1 commit
-
-
Mike Gatny authored
-
- 16 May, 2014 1 commit
-
-
Pieter Hintjens authored
Applications that use ZMQ_IDENTITY can be trapped by the artificial restriction on not using a binary zero as first byte. It's specially nasty on random generated identities, e.g. UUIDs, as the chance of a binary zero is low, so it will pass 255 out of 256 times. Solution: remove the restriction.
-
- 09 May, 2014 1 commit
-
-
Will Strang authored
-
- 22 Jan, 2014 1 commit
-
-
KIU Shueng Chuan authored
-
- 21 Jan, 2014 1 commit
-
-
Tim M authored
Added assert on duplicate id in ROUTER and STREAM sockets. Updated man to reflect this change. Modified test case to match.
-
- 20 Jan, 2014 1 commit
-
-
Tim M authored
Updated man entries, and added behavior in case the user duplicates peer ids. In this case the socket reverts to default behavior.
-
- 01 Jan, 2014 4 commits
-
-
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?
-
Pieter Hintjens authored
- put into alphabetical order - there was no consistency in previous ordering
-
Pieter Hintjens authored
-
Pieter Hintjens authored
Minor layout fix Whitespace fix
-
- 23 Dec, 2013 1 commit
-
-
KIU Shueng Chuan authored
-
- 06 Dec, 2013 2 commits
-
-
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.
-
Brandon Carpenter authored
-
- 04 Dec, 2013 2 commits
-
-
Brandon Carpenter authored
Adds ZMQ_IPC_ACCEPT_FILTER_{PID,UID,GID} socket options to add processs, user, and group IDs to the IPC filter sets. Fixes LIBZMQ-568.
-
Shane Hubred authored
-
- 25 Nov, 2013 1 commit
-
-
Chris Laws authored
-
- 07 Nov, 2013 1 commit
-
-
Mark Barbisan authored
-
- 23 Oct, 2013 2 commits
-
-
Pieter Hintjens authored
-
Pieter Hintjens authored
-
- 09 Oct, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 20 Sep, 2013 1 commit
-
-
Pieter Hintjens authored
* ZMQ_REQ_STRICT was negative option (default 1) which goes against the standard, where defaults are zero. I renamed this to ZMQ_REQ_RELAXED. * ZMQ_REQ_REQUEST_IDS felt clumsy and describes the technical solution rather than the problem/requirement. I changed to ZMQ_REQ_CORRELATE which seems more explicit.
-
- 17 Sep, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 09 Sep, 2013 1 commit
-
-
Pieter Hintjens authored
* This is passed to the ZAP handler in the 'domain' field * If not set, or empty, then NULL security does not call the ZAP handler * This resolves the phantom ZAP request syndrome seen with sockets where security was never intended (e.g. in test cases) * This means if you install a ZAP handler, it will not get any requests for new connections until you take some explicit action, which can be setting a username/password for PLAIN, a key for CURVE, or the domain for NULL.
-
- 29 Aug, 2013 1 commit
-
-
Guido Goldstein authored
-
- 17 Aug, 2013 1 commit
-
-
danielkr authored
-
- 03 Aug, 2013 1 commit
-
-
Christian Kamm authored
It defaults to enabled. Switch it off to be able to send a new message before the previous reply has been received.
-
- 28 Jul, 2013 1 commit
-
-
Christian Kamm authored
This allows making a new request on a REQ socket by sending a new message. Without the option set, calling send() after the first message is done will continue to return an EFSM error. It's useful for when a REQ is not getting a response. Previously that meant creating a new socket or switching to DEALER.
-
- 26 Jul, 2013 1 commit
-
-
Christian Kamm authored
* Documentation: The default behavior of REQ sockets is to rely on the ordering of messages to match requests and responses and that is usually sufficient. When this option is set to 1, the REQ socket will prefix outgoing messages with an extra frame containing a request id. That means the full message is (request id, 0, user frames...). The REQ socket will discard all incoming messages that don't begin with these two frames. * Behavior change: When a REQ socket gets an invalid reply, it used to discard the message and return EAGAIN. REQ sockets still discard invalid messages, but keep looking at the next one automatically until a good one is found or there are no more messages. * Add test_req_request_ids.
-
- 28 Jun, 2013 2 commits
-
-
Pieter Hintjens authored
The use of binary for CURVE keys is painful; you cannot easily copy these in e.g. email, or use them directly in source code. There are various encoding possibilities. Base16 and Base64 are not optimal. Ascii85 is not safe for source (it generates quotes and escapes). So, I've designed a new Base85 encoding, Z85, which is safe to use in code and elsewhere, and I've modified libzmq to use this where it also uses binary keys (in get/setsockopt). Very simply, if you use a 32-byte value, it's Base256 (binary), and if you use a 40-byte value, it's Base85 (Z85). I've put the Z85 codec into z85_codec.hpp, it's not elegant C++ but it is minimal and it works. Feel free to rewrap as a real class if this annoys you.
-
Pieter Hintjens authored
-
- 27 Jun, 2013 1 commit
-
-
Pieter Hintjens authored
- designed for TCP clients and servers - added HTTP client / server example in tests/test_stream.cpp - same as ZMQ_ROUTER + ZMQ_ROUTER_RAW + ZMQ_ROUTER_MANDATORY - includes b893ce set ZMQ_IDENTITY on outgoing connect - deprecates ZMQ_ROUTER_RAW
-
- 22 Jun, 2013 1 commit
-
-
Pieter Hintjens authored
-
- 20 Jun, 2013 2 commits
-
-
Pieter Hintjens authored
-
Pieter Hintjens authored
- ZMQ_CURVE_PUBLICKEY for clients and servers - ZMQ_CURVE_SECRETKEY for clients - ZMQ_CURVE_SERVERKEY for clients - ZMQ_CURVE_SERVER for servers - added tools/curve_keygen.c as example - updated man pages
-
- 05 Jun, 2013 2 commits
-
-
Pieter Hintjens authored
- renamed to ZMQ_PROBE_ROUTER
-
Pieter Hintjens authored
- Cleaned up man page a little - Wrote test case tests/test_router_probe.cpp
-