]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/server.texi
Replace -noncediff with the hash keeping up to 256 seen nonces
[govpn.git] / doc / server.texi
index 4fd074c0d391d220a6b1b328994c733e1fd3bbb4..989a8a8a8f8e17f0964a7e15a36d82aed7d3fa4f 100644 (file)
@@ -1,8 +1,8 @@
 @node Server part
 @section Server part
 
-Except for common @code{-mtu}, @code{-stats}, options server has the
-following ones:
+Except for common @code{-mtu}, @code{-stats}, @code{-egd} options server
+has the following ones:
 
 @table @code
 @item -bind
@@ -17,9 +17,10 @@ files:
 
 @table @code
 
-@item key
-@strong{Required}. Contains corresponding authentication PSK key in
-hexadecimal notation.
+@item verifier
+@strong{Required}. Contains corresponding verifier used to authenticate
+the client in hexadecimal notation. See @ref{Verifier} for how
+to create it.
 
 @item up.sh
 @strong{Required}. up-script executes each time connection with the
@@ -45,10 +46,6 @@ Optional. Contains human readable username. Used to beauty output of
 Optional. Contains @ref{Timeout} setting (decimal notation) in seconds.
 Otherwise default minute timeout will be used.
 
-@item noncediff
-Optional. Contains allowable @ref{Nonce difference} setting (decimal
-notation).
-
 @item noise
 Optional. Contains either "1" (enable @ref{Noise} adding), or "0".
 
@@ -65,11 +62,11 @@ creation:
 
 @example
 % ./utils/newclient.sh Alice
-9b40701bdaf522f2b291cb039490312
+Place verifier to peers/9b40701bdaf522f2b291cb039490312/verifier
 @end example
 
 @code{9b40701bdaf522f2b291cb039490312} is client's identification.
 @code{peers/9b40701bdaf522f2b291cb039490312/name} contains @emph{Alice},
-@code{peers/9b40701bdaf522f2b291cb039490312/key} contains authentication key and
-@code{peers/9b40701bdaf522f2b291cb039490312/up.sh} contains currently
-dummy empty up-script.
+@code{peers/9b40701bdaf522f2b291cb039490312/verifier} contains dummy
+verifier and @code{peers/9b40701bdaf522f2b291cb039490312/up.sh} contains
+currently dummy empty up-script.