chiark / gitweb /
packaging: fix init script user name (again)
[hippotat.git] / README.config
index 552843bdb8ba824e6254a649bbc8c54a91f71cf1..842573cd6a153ca9d9f1e1f7041a2c066e8ea468 100644 (file)
@@ -2,43 +2,14 @@
 
 Sections
 
-  [<servername> <client>]
+  [<servername> <client>]
   [<client>]
   [<servername>]      often [SERVER]
   [COMMON]
 
 Keys are looked up in that order, unless otherwise specified.
 <client> is the client's virtual address.
-<servername> must be a valid lowercase DNS hostname and not look like 
-an address, or be COMMON, DEFAULT or SERVER.
-
-There are also:
-
-  [<servername> LIMIT]
-  [LIMIT]
-
-Things not in a section are an error.
-
-
-Both client and server read the files
-  /etc/hippotat/main.cfg
-  /etc/hippotat/config.d/*
-  /etc/hippotat/secrets.d/*
-and in each case if it's a directory, all contained files whose
-names consists of only ascii alphanumerics plus '-' and '_'.
-
-The ini file format sections from these files are all unioned.
-Later files (in the list above, or alphabetically later) can
-override settings from earlier ones.
-
-Note that although it is conventional for information for a particular
-server or client to be in a file named after that endpoint, there is
-no semantic link: all the files are always read and the appropriate
-section from each is applied to every endpoint.
-
-(If main.cfg does not exist, master.cfg will be tried for backward
-compatibility reasons.)
-
+<servername> must be a valid DNS hostname and not look like an address.
 
 Exceptional settings:
 
@@ -71,7 +42,7 @@ Exceptional settings:
      Command to run to create and communicate with local network
      interface.  Passed to sh -c.  Must speak SLIP on stdin/stdout.
      The following additional interpolations aare substituted:
-                       %(local)s  %(peer)s  %(rnets)s   %(ifname)s
+                       %(local)s  %(peer)s  %(rnet)s    %(ifname)s
           on server    <vaddr>    <vrelay>  <vnetwork>  <ifname_server>
           on client    <client>   <vaddr>   <vroutes>   <ifname_client>
      ["userv root ipif %(local)s,%(peer)s,%(mtu)s,slip %(rnets)s"]
@@ -130,7 +101,6 @@ Ordinary settings, used by both, not client-specific:
 
   vaddr
      Address of server's virtual interface.
-     [first host entry in <vnetwork>, so 172.24.230.193]
 
   vrelay
      Virtual point-to-point address used for tunnel routing
@@ -144,8 +114,7 @@ Ordinary settings, used by both, not client-specific:
      On client: used only to construct default url.
 
   mtu
-     Of virtual interface.  Must match exactly at each end.
-     (UNCHECKED) [1500 bytes]
+     Must match exactly.  (UNCHECKED) [1500 bytes]
 
   ifname_server
      Virtual interface name on the server.  [shippo%d]