~mdw
/
hippotat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ResponseConsumer: tolerate daft exception PotentialDataLoss
[hippotat]
/
test.cfg
diff --git
a/test.cfg
b/test.cfg
index
51bd968
..
9cc92d9
100644
(file)
--- a/
test.cfg
+++ b/
test.cfg
@@
-1,17
+1,24
@@
-[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
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
+vnetwork = 192.0.2.0/24
+
+# ./hippotatd --debug-select=+ -c test.cfg
-[virtual]
-network = 192.0.2.0/24
+# nc -n -v -l -p 8100 -c 'dd of=/dev/null'
[192.0.2.3]
[192.0.2.3]
-password = sesame
+secret = sesame
+
+[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'
+
+# ./hippotat -D -c test.cfg
-# normally only a client would have the [client] section and
-#
only a server the other section
s
+[192.0.2.4]
+#
secret = zorkmid
s
-[client]
-server = http://127.0.0.1:8099/
-password = sesame
-virtual = 192.0.2.3
+# dd if=/dev/urandom bs=1024 count=16384 | nc -q 0 -n -v 192.0.2.1 8100