]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/server.texi
Ability to use HTTP proxies for accessing server
[govpn.git] / doc / server.texi
index 4fd074c0d391d220a6b1b328994c733e1fd3bbb4..e86d86a3b5155f3f8430553084f61e35b1299683 100644 (file)
@@ -1,14 +1,23 @@
 @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 -proto
+@ref{Network transport} to use. Can be @emph{udp}, @emph{tcp} or @emph{all}.
+
 @item -bind
 Address (@code{host:port} format) we must bind to.
+
 @item -peers
 Path to the directory containing peers information, database.
+
+@item -proxy
+Start trivial HTTP @ref{Proxy} server on specified @emph{host:port}.
+
 @end table
 
 Peers directory must contain subdirectories with the names of client's
@@ -17,9 +26,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 +55,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 +71,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.