X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/034284c3d2f1bdc9c9c4e7762b40b34a9713f566..216519e342072164533ae340141d585c638db8e2:/test.cfg diff --git a/test.cfg b/test.cfg index ba1b09a..9cc92d9 100644 --- a/test.cfg +++ b/test.cfg @@ -1,11 +1,24 @@ -[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 + +# ./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] +secret = sesame [192.0.2.3] -password = sesame +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 + +[192.0.2.4] +#secret = zorkmids + +# dd if=/dev/urandom bs=1024 count=16384 | nc -q 0 -n -v 192.0.2.1 8100