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