X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=blobdiff_plain;f=doc%2Fcfg%2Fneigh.texi;h=332c1c7153fb5d366d943fe0ad0e6978527969ee;hp=53eed465317da22ac9b18f11d17ab42bfdce3169;hb=203dfe36da7adf2b3089e4fa4017a67409cbad70;hpb=ab7c7eca0e53661f0ba904c2a6ba752990bea367 diff --git a/doc/cfg/neigh.texi b/doc/cfg/neigh.texi index 53eed46..332c1c7 100644 --- a/doc/cfg/neigh.texi +++ b/doc/cfg/neigh.texi @@ -1,6 +1,8 @@ @node CfgNeigh +@cindex neighbour configuration options @section Configuration neighbour options +@vindex neigh @strong{neigh} section contains all known neighbours information. It always has @strong{self} neighbour that is copy of our node's public data (public keys). It is useful for copy-paste sharing with your @@ -27,12 +29,12 @@ neigh: { addrs: { lan: "[fe80::1234%igb0]:5400" internet: alice.com:3389 - proxied: "|ssh remote.host nncp-daemon -inetd" + proxied: "|ssh remote.host nncp-daemon -ucspi" } calls: [ { cron: "*/2 * * * *" - }, + } ] } bob: { @@ -65,8 +67,10 @@ node has the following fields: If present, then node can be online called using @ref{Sync, synchronization protocol}. Contains authentication public key. +@vindex exec +@pindex sendmail @anchor{CfgExec} - @item exec +@item exec Dictionary consisting of handles and corresponding command line arguments. In example above there are @command{sendmail} handles, @command{warcer}, @command{wgeter} and @command{flag} one. Remote @@ -87,11 +91,13 @@ NNCP_NICE=64 \ feeding @verb{|hello world\n|} to that started @command{sendmail} process. +@vindex incoming @anchor{CfgIncoming} @item incoming Full path to directory where all file uploads will be saved. May be omitted to forbid file uploading on that node. +@vindex freq @anchor{CfgFreq} @item freq @table @code @@ -108,6 +114,7 @@ NNCP_NICE=64 \ transmission. @end table +@vindex via @anchor{CfgVia} @item via An array of node identifiers that will be used as a relay to that @@ -116,6 +123,7 @@ NNCP_NICE=64 \ nodes. May be omitted if direct connection exists and no relaying is required. +@vindex addrs @anchor{CfgAddrs} @item addrs Dictionary containing known network addresses of the node. Each key @@ -127,9 +135,15 @@ NNCP_NICE=64 \ @verb{#|some command#} format. @code{/bin/sh -c "some command"} will start and its @code{stdin}/@code{stdout} used as a connection. + To use @ref{Yggdrasil} network for connectivity, use + @verb{|yggdrasil:PUB;PRV;PEER[,...]|} format, read about + @ref{CfgYggdrasilAliases, possible aliases} usage. + May be omitted if either no direct connection exists, or @ref{nncp-call} is used with forced address specifying. +@vindex rxrate +@vindex txrate @anchor{CfgXxRate} @item rxrate/txrate If greater than zero, then at most *rate packets per second will be @@ -137,6 +151,7 @@ NNCP_NICE=64 \ bandwidth traffic shaper: each packet has at most 64 KiB payload size. If omitted -- no rate limits. +@vindex onlinedeadline @anchor{CfgOnlineDeadline} @item onlinedeadline Online connection deadline of nodes inactivity in seconds. It is the @@ -147,6 +162,7 @@ NNCP_NICE=64 \ delays), wait for appearing packets ready to send and notifying remote side about their appearance. +@vindex maxonlinetime @anchor{CfgMaxOnlineTime} @item maxonlinetime If greater than zero, then it is maximal time of single connection.