X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fserver.texi;h=b3e9ac7d8118c551af7ba05ed4bb30452a8c6519;hb=fa2fbe9b374fe5ac0949291e11b2a6bc5b4b53cd;hp=0d44b798d14fd5e4c9731cdcd4be5d8db10461b6;hpb=805fcd7473fcc3f4d9aae04827251edfa40afd74;p=govpn.git diff --git a/doc/server.texi b/doc/server.texi index 0d44b79..b3e9ac7 100644 --- a/doc/server.texi +++ b/doc/server.texi @@ -25,7 +25,7 @@ Configuration file is YAML file with following example structure: @verbatim stargrave: <-- Peer human readable name - iface: tap10 <-- OPTIONAL TAP interface name + iface: tap10 <-- OPTIONAL TUN/TAP interface name mtu: 1515 <-- OPTIONAL overriden MTU up: ./stargrave-up.sh <-- OPTIONAL up-script down: ./stargrave-down.sh <-- OPTIONAL down-script @@ -34,13 +34,13 @@ stargrave: <-- Peer human readable name noise: No <-- OPTIONAL noise enabler cpr: 64 <-- OPTIONAL constant packet rate, KiB/sec encless: No <-- OPTIONAL Encryptionless mode - verifier: $argon2d... <-- verifier received from client + verifier: $baloon... <-- verifier received from client [...] @end verbatim At least one of either @code{iface} or @code{up} must be specified. If you specify @code{iface}, then it will be forcefully used to determine -what TAP interface will be used. If it is not specified, then +what TUN/TAP interface will be used. If it is not specified, then up-@ref{Scripts, script} must output interface's name to stdout (first output line). @@ -63,25 +63,25 @@ creation: @verbatim % ./utils/newclient.sh Alice [...] -Your client verifier is: $argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg +Your client verifier is: $balloon$s=32768,t=16,p=2$bwR5VjeCYIQaa8SeaI3rqg Place the following YAML configuration entry on the server's side: Alice: up: /path/to/up.sh - iface: or TAP interface name - verifier: $argon2d$m=4096,t=128,p=1$bwR5VjeCYIQaa8SeaI3rqg$KCNIqfS4DGsBTtVytamAzcISgrlEWvNxan1UfBrFu10 + iface: or TUN/TAP interface name + verifier: $balloon$s=32768,t=16,p=2$bwR5VjeCYIQaa8SeaI3rqg$KCNIqfS4DGsBTtVytamAzcISgrlEWvNxan1UfBrFu10 @end verbatim Example configuration file: @verbatim stargrave: iface: tap0 - verifier: $argon2d$m=4096,t=128,p=1$VMirzcshcHuG2V4jhUsEjw$X5fC07L8k61h3S1Oro/rC76+m0oGDTA9Bq+aWJ1uOgY + verifier: $balloon$s=32768,t=16,p=2$VMirzcshcHuG2V4jhUsEjw$X5fC07L8k61h3S1Oro/rC76+m0oGDTA9Bq+aWJ1uOgY slow: iface: tap1 encless: Yes mtu: 9000 cpr: 384 - verifier: $argon2d$m=4096,t=128,p=1$YbIA5garDqCOhtI/2EZVNg$gOo5vcEGynmpeepNscwclicfZsWxzgYFRLbgG21EZ1U + verifier: $balloon$s=32768,t=16,p=2$YbIA5garDqCOhtI/2EZVNg$gOo5vcEGynmpeepNscwclicfZsWxzgYFRLbgG21EZ1U @end verbatim