From: Sergey Matveev Date: Sun, 16 Jan 2022 13:50:18 +0000 (+0300) Subject: Yggdrasil's bind addresses are URLs too X-Git-Tag: v8.2.0^2~2 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=1d3492ddae200e3b027529942531c76b7e670a1a Yggdrasil's bind addresses are URLs too --- diff --git a/doc/yggdrasil.texi b/doc/yggdrasil.texi index 3d1c73f..75c4d61 100644 --- a/doc/yggdrasil.texi +++ b/doc/yggdrasil.texi @@ -75,12 +75,12 @@ allowed incoming connections, identified by a public key, and optionally a list of another similar listening peers, through which you can route and discover packets to the other nodes. @option{-yggdrasil} option takes that information in form of: -@code{PRV;BIND[,...];[PUB,...];[PEER,...]}, where @code{PEER} is in -Yggdrasil's URL format, like @code{tcp://HOST:PORT} or -@code{tcp://HOST:PORT?key=PUBKEY}. +@code{PRV;BIND[,...];[PUB,...];[PEER,...]}, where +@code{BIND}/@code{PEER} is in Yggdrasil's URL format, like +@code{tcp://HOST:PORT} or @code{tcp://HOST:PORT?key=PUBKEY}. @example -$ nncp-daemon -yggdrasil "571f...07ea;[::]:1234,[::1]:2345;;tcp://some.peer?key=ITSPUBKEY" +$ nncp-daemon -yggdrasil "571f...07ea;tcp://[::]:1234,tcp://[::1]:2345;;tcp://some.peer?key=ITSPUBKEY" @end example Here we did not specify any allowable public key -- anyone can connect @@ -94,8 +94,8 @@ section, where you can alias all of entities and reference them in @verbatim yggdrasil-aliases: { myprv: 571f...07ea - bindPublic: [::]:1234 - bindLocalhost: [::1]:2345 + bindPublic: tcp://[::]:1234 + bindLocalhost: tcp://[::1]:2345 peerBE: tcp://some.peer.be?key=BEPUBKEY peerRU: tcp://some.peer.ru?key=RUPUBKEY defPeers: peerBE,peerRU