From: Ian Jackson Date: Sat, 24 Jul 2021 14:30:47 +0000 (+0100) Subject: config: Tidy defaults and move some info to README.config X-Git-Tag: hippotat/1.0.0~473 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=e7162b74df97a6e4780a6a4d37f0ad963b5c5fd1;hp=1fd87079c151ed1dc6371118824589a8773ddc92;p=hippotat.git config: Tidy defaults and move some info to README.config Signed-off-by: Ian Jackson --- diff --git a/README.config b/README.config index 4afc45a..a6db64e 100644 --- a/README.config +++ b/README.config @@ -143,7 +143,8 @@ Ordinary settings, used by both, not client-specific: On client: used only to construct default url. mtu - Must match exactly. (UNCHECKED) [1500 bytes] + Of virtual interface. Must match exactly at each end. + (UNCHECKED) [1500 bytes] ifname_server Virtual interface name on the server. [shippo%d] diff --git a/src/config.rs b/src/config.rs index b9cb744..2d45bd4 100644 --- a/src/config.rs +++ b/src/config.rs @@ -22,24 +22,11 @@ ifname_client = hippo%%d ifname_server = shippo%%d max_clock_skew = 300 -#[server] or [] overrides ipif = userv root ipif %(local)s,%(peer)s,%(mtu)s,slip,%(ifname)s %(rnets)s -# relating to virtual network mtu = 1500 -# addrs = 127.0.0.1 ::1 -# url - -# relating to virtual network vvnetwork = 172.24.230.192 -# vnetwork = / -# vaddr = -# vrelay = - - -# [] -# secret = # used by both, must match [LIMIT] max_batch_down = 262144