X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=blobdiff_plain;f=README.config;h=a9d36d72a85907c2f808f67fb8443bf17753e215;hp=fc2922f0e8aef5bab7722026a10943b57a770fdf;hb=dce21e00c38132b17ec973923f4f7d0cbf47049f;hpb=f754eec46013979bd2e634cece1c1cd4290e4bbc diff --git a/README.config b/README.config index fc2922f..a9d36d7 100644 --- a/README.config +++ b/README.config @@ -4,8 +4,8 @@ Sections [ - ] [] - [] usually [SERVER] - [DEFAULT] + [] often [SERVER] + [COMMON] Keys are looked up in that order, unless otherwise specified. is the client's virtual address. @@ -15,13 +15,13 @@ Exceptional settings: server Specifies . - Is looked up in [SERVER] and [DEFAULT] only. + Is looked up in [SERVER] and [COMMON] only. If not specified there, it is SERVER. Used by server to select the appropriate parts of the rest of the configuration. Ignored by the client. - password + secret Looked up in the usual way, but used by client and server to determine which possible peerings to try to set up, and which to ignore. @@ -32,19 +32,19 @@ Exceptional settings: (LIMIT sections do not count.) The server queue packets for, and accept requests from, each - putative client for which the config search yields a password. + putative client for which the config search yields a secret. Each client will create a local interface, and try to communicate with the server, for each possible pair (putative server, - putative client) for which the config search yields a password. + putative client) for which the config search yields a secret. ipif 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 %(rnet)s - on server - on client + %(local)s %(peer)s %(rnet)s %(ifname)s + on server + on client ["userv root ipif %(local)s,%(peer)s,%(mtu)s,slip %(rnets)s"] On server: applies to all clients; not looked up in @@ -54,7 +54,7 @@ Exceptional settings: Capped settings: Values in [ LIMIT] and [LIMIT] are a cap (maximum) on - those from the other sections (including DEFAULT). + those from the other sections (including COMMON). max_batch_down Size limit for response payloads (used by server only) @@ -114,7 +114,13 @@ Ordinary settings, used by both, not client-specific: On client: used only to construct default url. mtu - Must match exactly. (checked) [1500 bytes] + Must match exactly. (UNCHECKED) [1500 bytes] + + ifname_server + Virtual interface name on the server. [shippo%d] + ifname_client + Virtual interface name on the client. [hippo%d] + Any %d is interpolated (by the kernel). Ordinary settings, used by client only: