forked from zeromq/zeromq4-x
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added configuration for PLAIN security
* ZMQ_PLAIN_SERVER, ZMQ_PLAIN_USERNAME, ZMQ_PLAIN_PASSWORD options * Man page changes to zmq_setsockopt and zmq_getsockopt * Man pages for ZMQ_NULL, ZMQ_PLAIN, and ZMQ_CURVE * Test program test_security
- Loading branch information
Showing
14 changed files
with
710 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
zmq_curve(7) | ||
============ | ||
|
||
|
||
NAME | ||
---- | ||
zmq_curve - clear-text authentication | ||
|
||
|
||
SYNOPSIS | ||
-------- | ||
The CURVE mechanism defines a mechanism for secure authentication and | ||
confidentiality for communications between a client and a server. CURVE | ||
is intended for use on public networks. The CURVE mechanism is defined | ||
by this document: <http://rfc.zeromq.org/spec:25>. | ||
|
||
|
||
SERVER AND CLIENT ROLES | ||
----------------------- | ||
To use CURVE, the server shall set the ZMQ_CURVE_SERVER option, and the | ||
client shall set the ZMQ_CURVE_PUBLICKEY and ZMQ_CURVE_SERVERKEY socket | ||
options. Which peer binds, and which connects, is not relevant. | ||
|
||
NOTE: this isn't implemented and not fully defined. The server keypair | ||
needs to be persistent, and it would be sensible to define a format for | ||
this in CurveZMQ | ||
|
||
|
||
SEE ALSO | ||
-------- | ||
linkzmq:zmq_setsockopt[3] | ||
linkzmq:zmq_null[7] | ||
linkzmq:zmq_plain[7] | ||
linkzmq:zmq[7] | ||
|
||
|
||
AUTHORS | ||
------- | ||
This page was written by the 0MQ community. To make a change please | ||
read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
zmq_null(7) | ||
=========== | ||
|
||
|
||
NAME | ||
---- | ||
zmq_null - no security or confidentiality | ||
|
||
|
||
SYNOPSIS | ||
-------- | ||
The NULL mechanism is defined by the ZMTP 3.0 specification: | ||
<http://rfc.zeromq.org/spec:23>. This is the default security mechanism | ||
for ZeroMQ sockets. | ||
|
||
|
||
SEE ALSO | ||
-------- | ||
linkzmq:zmq_plain[7] | ||
linkzmq:zmq_curve[7] | ||
linkzmq:zmq[7] | ||
|
||
|
||
AUTHORS | ||
------- | ||
This page was written by the 0MQ community. To make a change please | ||
read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
zmq_plain(7) | ||
============ | ||
|
||
|
||
NAME | ||
---- | ||
zmq_plain - clear-text authentication | ||
|
||
|
||
SYNOPSIS | ||
-------- | ||
The PLAIN mechanism defines a simple username/password mechanism that | ||
lets a server authenticate a client. PLAIN makes no attempt at security | ||
or confidentiality. It is intended for use on internal networks where | ||
security requirements are low. The PLAIN mechanism is defined by this | ||
document: <http://rfc.zeromq.org/spec:24>. | ||
|
||
|
||
USAGE | ||
----- | ||
To use PLAIN, the server shall set the ZMQ_PLAIN_SERVER option, and the | ||
client shall set the ZMQ_PLAIN_USERNAME and ZMQ_PLAIN_PASSWORD socket | ||
options. Which peer binds, and which connects, is not relevant. | ||
|
||
|
||
SEE ALSO | ||
-------- | ||
linkzmq:zmq_setsockopt[3] | ||
linkzmq:zmq_null[7] | ||
linkzmq:zmq_curve[7] | ||
linkzmq:zmq[7] | ||
|
||
|
||
AUTHORS | ||
------- | ||
This page was written by the 0MQ community. To make a change please | ||
read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.