chiark
/
gitweb
/
~ian
/
hippotat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reorg config - will break
[hippotat.git]
/
test.cfg
diff --git
a/test.cfg
b/test.cfg
index 51bd9685ca84a007822ce45c0e5ba180f016f620..0c2ebbe3491060f6194749f65d179d4ad3842b18 100644
(file)
--- a/
test.cfg
+++ b/
test.cfg
@@
-1,6
+1,11
@@
+[DEFAULT]
+ipif = PATH=/usr/local/sbin:/sbin:/usr/sbin:$PATH really /home/ian/things/Userv/userv-utils.git/ipif/service \* -- %(local)s,%(peer)s,%(mtu)s,slip '%(rnets)s'
+
[server]
addrs = 127.0.0.1
[server]
addrs = 127.0.0.1
-ipif = PATH=/usr/local/sbin:/sbin:/usr/sbin:$PATH really /home/ian/things/Userv/userv-utils.git/ipif/service \* -- %(host)s,%(relay)s,%(mtu)s,slip %(network)s
+port = 8099
+
+# ./server --debug-select=+ -c test.cfg
[virtual]
network = 192.0.2.0/24
[virtual]
network = 192.0.2.0/24
@@
-8,10
+13,10
@@
network = 192.0.2.0/24
[192.0.2.3]
password = sesame
[192.0.2.3]
password = sesame
-# normally only a client would have the [client] section and
-# only a server the other sections
+[192.0.2.3]
+ipif = PATH=/usr/local/sbin:/sbin:/usr/sbin:$PATH really ./fake-userv /home/ian/things/Userv/userv-utils.git/ipif/service \* -- %(local)s,%(peer)s,%(mtu)s,slip '%(rnets)s'
-[client]
-server = http://127.0.0.1:8099/
-password = sesame
-virtual = 192.0.2.3
+# ./client -D -c test.cfg
+
+[192.0.2.4]
+password = zorkmids