X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=blobdiff_plain;f=test.cfg;h=d44a090f7f23991c72d224d363dbb08dbc6e45f8;hp=0c2ebbe3491060f6194749f65d179d4ad3842b18;hb=a53aba4d6a664204ac335b44a830210e79f2af07;hpb=c7fb640effd718bb66548327c4feddcc64416234 diff --git a/test.cfg b/test.cfg index 0c2ebbe..d44a090 100644 --- a/test.cfg +++ b/test.cfg @@ -1,14 +1,14 @@ -[DEFAULT] +[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' -[server] addrs = 127.0.0.1 port = 8099 +vnetwork = 192.0.2.0/24 -# ./server --debug-select=+ -c test.cfg +# ./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] password = sesame @@ -16,7 +16,9 @@ password = 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' -# ./client -D -c test.cfg +# ./hippotat -D -c test.cfg [192.0.2.4] -password = zorkmids +#password = zorkmids + +# dd if=/dev/urandom bs=1024 count=16384 | nc -q 0 -n -v 192.0.2.1 8100