]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/mcd.texi
Add various documentation indices
[nncp.git] / doc / mcd.texi
index 0e47ce65684149c9f8f5b60beda5ddd9664c617e..282261e978fdd324ad364a5179402aaea50490d2 100644 (file)
@@ -1,4 +1,6 @@
 @node MCD
+@cindex MCD
+@cindex multicast discovery
 @unnumbered MultiCast Discovery
 
 MCD is an addition to online @ref{Sync, synchronization protocol}, that
@@ -7,11 +9,10 @@ in local area network. It is very simple:
 
 @itemize
 @item
-    @command{nncp-daemon} sends multicast messages about its presence
-    from time to time.
-    See @ref{CfgMCDSend, mcd-send} configuration option.
+    @ref{nncp-daemon} sends multicast messages about its presence from
+    time to time. See @ref{CfgMCDSend, mcd-send} configuration option.
 @item
-    When @command{nncp-caller} sees them, it adds them as the most
+    When @ref{nncp-caller} sees them, it adds them as the most
     preferred addresses to already known ones. If MCD address
     announcement was not refreshed after two minutes -- it is removed.
     See @ref{CfgMCDListen, mcd-listen} and
@@ -27,9 +28,9 @@ MCD announcement is an XDR-encoded packet with only two fields:
 @end verbatim
 
 Magic number is @verb{|N N C P D 0x00 0x00 0x01|} and sender is 32-byte
-identifier of the node. It is sent as UDP packet on IPv6 @verb{|ff02::1|}
-multicast address (all hosts in the network) and hard-coded @strong{5400}
-port. Operating system will use IPv6 link-local address as a source one,
-with the port taken from @command{nncp-daemon}'s @option{-bind} option.
-That way, IP packet itself will carry the link-scope reachable address
-of the daemon.
+identifier of the node. It is sent as UDP packet on IPv6
+@strong{@verb{|ff02::4e4e:4350|}} (hexadecimal ASCII @verb{|NNCP|})
+multicast address and @strong{5400} port. Operating system will use IPv6
+link-local address as a source one, with the port taken from
+@command{nncp-daemon}'s @option{-bind} option. That way, IP packet
+itself will carry the link-scope reachable address of the daemon.