X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fmulticast.texi;h=1c8913f357a337938bbd5bd49fdba6f8cb253f0a;hb=HEAD;hp=fbb31adf94ce0c6444c0d0c85cb06131822a3e17;hpb=0639e0c1eb295d1a8e2be31c906ee22394a51d20;p=nncp.git diff --git a/doc/multicast.texi b/doc/multicast.texi index fbb31ad..1c8913f 100644 --- a/doc/multicast.texi +++ b/doc/multicast.texi @@ -1,4 +1,5 @@ @node Multicast +@cindex multicast area @unnumbered Multicast areas NNCP has ability to multicast packets: send single packet to multiple @@ -10,7 +11,8 @@ networks). Each multicast group is identified by so-called @strong{area}. Area consists of private/public Curve25519 keypairs for @ref{Encrypted area, packets encryption}, identity (BLAKE2b-256 hash of the public key) and -possible subscribers. Areas are created with @ref{nncp-cfgnew} command. +possible subscribers. Areas are created with @command{@ref{nncp-cfgnew}} +command. You can make either file or exec transmissions to the areas. Those ordinary file/exec packets are double wrapped in: @@ -23,6 +25,7 @@ that encrypted packet to the others) can should it to the subscribers further @end itemize +@vindex MsgHash Area's message identity (@code{MsgHash}) is the hash of the encrypted packet header. Because the area packet, containing the encrypted packet, is relayed as-is without any modifications, that area message's hash @@ -106,13 +109,13 @@ $ nncp-toss -node self @enumerate @item -@command{nncp-file} creates an encrypted packet with area packet and +@command{@ref{nncp-file}} creates an encrypted packet with area packet and encrypted packet inside it, with our own @code{self} node as a recipient (in the @file{SPOOL/SELF/tx} directory). It also creates the @file{SPOOL/SELF/area/AREA/MsgHash} file. @item -@command{nncp-toss} sees @file{tx/} file and "opens" it, applying the +@command{@ref{nncp-toss}} sees @file{tx/} file and "opens" it, applying the area message tossing procedure as described above. That will create outgoing packets in @file{SPOOL/nodeB/tx} and @file{SPOOL/nodeD/tx} directories with @file{SPOOL/nodeB/area/AREA/MsgHash}