2 @unnumbered Configuration file
4 NNCP uses single file configuration file in @url{https://hjson.org/,
5 Hjson} format. Initially it is created with @ref{nncp-cfgnew} command
6 and at minimum it can look like this:
10 log: /var/spool/nncp/log
14 exchpub: 2NZKH...CMI7A
15 exchprv: KETPP...2OJZA
16 signpub: EXD7M...YAOFA
17 signprv: B3EMS..XMAHCQ
18 noiseprv: 3TJDF...2D7DQ
19 noisepub: MIXYN...BGNDQ
25 exchpub: 2NZKH...CMI7A
26 signpub: EXD7M...YAOFA
27 noisepub: MIXYN...BGNDQ
32 And for being able to communicate with at least one other node, you just
33 need to add single key to the @code{neigh} section similar to the "self".
35 All configuration file can be separated on five sections:
38 * General options: CfgGeneral.
39 * Self-node keypairs: CfgSelf.
40 * Notifications: CfgNotify.
41 * Neighbours: CfgNeigh.
45 @include cfg/general.texi
46 @include cfg/self.texi
47 @include cfg/notify.texi
48 @include cfg/neigh.texi
49 @include cfg/areas.texi