chiark / gitweb /
wip fixes
[hippotat.git] / test.cfg
index 62afbf0e1deeb50d7659de1b9ae2e3177f49d688..d858da7f58b83d4b87b8f62a24be65eb27786dbe 100644 (file)
--- a/test.cfg
+++ b/test.cfg
@@ -1,17 +1,20 @@
-[server]
+[SERVER]
+
+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'
+
 addrs = 127.0.0.1
-ipif = PATH=/usr/local/sbin:/sbin:/usr/sbin:$PATH really /home/ian/things/Userv/userv-utils.git/ipif/service \* -- %(local)s,%(relay)s,%(mtu)s,slip %(network)s
+port = 8099
+vnetwork = 192.0.2.0/24
 
-[virtual]
-network = 192.0.2.0/24
+# ./server --debug-select=+ -c test.cfg
 
 [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