4 Except for common @code{-mtu}, @code{-stats}, @code{-egd} options server
5 has the following ones:
10 @ref{Network transport} to use. Can be @emph{udp}, @emph{tcp} or @emph{all}.
13 Address (@code{host:port} format) we must bind to.
16 Path to the directory containing peers information, database.
19 Start trivial HTTP @ref{Proxy} server on specified @emph{host:port}.
23 Peers directory must contain subdirectories with the names of client's
24 identities in hexadecimal notation. Each subdirectory has the following
30 @strong{Required}. Contains corresponding verifier used to authenticate
31 the client in hexadecimal notation. See @ref{Verifier} for how
35 @strong{Required}. up-script executes each time connection with the
36 client is established. It's @emph{stdout} output must contain TAP
37 interface name on the first string. This script can be simple
38 @code{echo tap10}, or maybe more advanced like this:
41 $tap=$(ifconfig tap create)
42 ifconfig $tap inet6 fc00::1/96 mtu 1412 up
47 Optional. Same as @code{up.sh} above, but executes when connection is
51 Optional. Contains human readable username. Used to beauty output of
55 Optional. Contains @ref{Timeout} setting (decimal notation) in seconds.
56 Otherwise default minute timeout will be used.
59 Optional. Contains either "1" (enable @ref{Noise} adding), or "0".
62 Optional. Contains @ref{CPR} setting (decimal notation) in KiB/sec.
66 Each minute server refreshes peers directory contents and adds newly
67 appeared identities, deletes an obsolete ones.
69 You can use convenient @code{utils/newclient.sh} script for new client
73 % ./utils/newclient.sh Alice
74 Place verifier to peers/9b40701bdaf522f2b291cb039490312/verifier
77 @code{9b40701bdaf522f2b291cb039490312} is client's identification.
78 @code{peers/9b40701bdaf522f2b291cb039490312/name} contains @emph{Alice},
79 @code{peers/9b40701bdaf522f2b291cb039490312/verifier} contains dummy
80 verifier and @code{peers/9b40701bdaf522f2b291cb039490312/up.sh} contains
81 currently dummy empty up-script.