4 Except for common @code{-mtu}, @code{-stats}, options server has the
9 Address (@code{host:port} format) we must bind to.
11 Path to the directory containing peers information, database.
14 Peers directory must contain subdirectories with the names of client's
15 identities in hexadecimal notation. Each subdirectory has the following
21 @strong{Required}. Contains corresponding authentication PSK key in
25 @strong{Required}. up-script executes each time connection with the
26 client is established. It's @emph{stdout} output must contain TAP
27 interface name on the first string. This script can be simple
28 @code{echo tap10}, or maybe more advanced like this:
31 $tap=$(ifconfig tap create)
32 ifconfig $tap inet6 fc00::1/96 mtu 1412 up
37 Optional. Same as @code{up.sh} above, but executes when connection is
41 Optional. Contains human readable username. Used to beauty output of
45 Optional. Contains @ref{Timeout} setting (decimal notation) in seconds.
46 Otherwise default minute timeout will be used.
49 Optional. Contains allowable @ref{Nonce difference} setting (decimal
53 Optional. Contains either "1" (enable @ref{Noise} adding), or "0".
56 Optional. Contains @ref{CPR} setting (decimal notation) in KiB/sec.
60 Each minute server refreshes peers directory contents and adds newly
61 appeared identities, deletes an obsolete ones.
63 You can use convenient @code{utils/newclient.sh} script for new client
67 % ./utils/newclient.sh Alice
68 9b40701bdaf522f2b291cb039490312
71 @code{9b40701bdaf522f2b291cb039490312} is client's identification.
72 @code{peers/9b40701bdaf522f2b291cb039490312/name} contains @emph{Alice},
73 @code{peers/9b40701bdaf522f2b291cb039490312/key} contains authentication key and
74 @code{peers/9b40701bdaf522f2b291cb039490312/up.sh} contains currently
75 dummy empty up-script.