summaryrefslogtreecommitdiffstats
path: root/doc/example.mux
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-17 22:06:12 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-17 22:06:12 +0200
commit3f35a946ca00996b354a73831ef51aa269e8e623 (patch)
treea569ebdf52183b9629221278740bf8f552912846 /doc/example.mux
parent80f7b54c85386d171b6b8924e925026d25e4ad47 (diff)
downloaddabmux-3f35a946ca00996b354a73831ef51aa269e8e623.tar.gz
dabmux-3f35a946ca00996b354a73831ef51aa269e8e623.tar.bz2
dabmux-3f35a946ca00996b354a73831ef51aa269e8e623.zip
Add CURVE authentification support for dabInputZMQ
Diffstat (limited to 'doc/example.mux')
-rw-r--r--doc/example.mux25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/example.mux b/doc/example.mux
index 26a231c..c1657a1 100644
--- a/doc/example.mux
+++ b/doc/example.mux
@@ -141,6 +141,31 @@ subchannels {
; Network latency jitter can make it temporarily go lower or higher.
; Encoder clock drift will make the buffer either slowly fill or
; empty, which will create intermittent glitches.
+
+
+ ; the ZMQ inputs support encryption using the CURVE method.
+ ; The multiplexer must have a public and a private key, which
+ ; can be shared among several zmq inputs.
+ ;
+ ; each encoder also has a public and private key, and the
+ ; encoder *public* key has to be known to the multiplexer.
+ ; Using this system, the multiplexer can be sure that
+ ; only the encoder possessing the right secret key can
+ ; connect here. This inhibits third parties to hijack the
+ ; input.
+
+ ; by default, it is disabled, set encryption to 1 to enable
+ encryption 1
+
+ ; the multiplexer key pair. Keep these secret.
+ secret-key "keys/mux.sec"
+ public-key "keys/mux.pub"
+
+ ; The public key from the encoder. Only the encoder you want
+ ; to accept must know the corresponding secret key.
+ encoder-key "keys/encoder1.pub"
+
+ ; key pairs can be generated using the zmqinput-keygen tool.
}
sub-ri2 {