~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config reading: log correct filenames
[hippotat]
/
README.config
diff --git
a/README.config
b/README.config
index
fc2922f
..
81f791d
100644
(file)
--- a/
README.config
+++ b/
README.config
@@
-4,7
+4,7
@@
Sections
[<servername> - <client>]
[<client>]
[<servername> - <client>]
[<client>]
- [<servername>]
usually
[SERVER]
+ [<servername>]
often
[SERVER]
[DEFAULT]
Keys are looked up in that order, unless otherwise specified.
[DEFAULT]
Keys are looked up in that order, unless otherwise specified.
@@
-42,9
+42,9
@@
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:
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 <vaddr>
<vrelay> <vnetwork
>
- on client <client>
<vaddr> <vroutes
>
+ %(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"]
On server: applies to all clients; not looked up in
["userv root ipif %(local)s,%(peer)s,%(mtu)s,slip %(rnets)s"]
On server: applies to all clients; not looked up in
@@
-114,7
+114,13
@@
Ordinary settings, used by both, not client-specific:
On client: used only to construct default url.
mtu
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:
Ordinary settings, used by client only: