From: Ian Jackson Date: Wed, 4 Aug 2021 23:30:26 +0000 (+0100) Subject: import test.cfg from python hippotat X-Git-Tag: hippotat/1.0.0~327 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=42ddf9aa14de5256caa289336a6bfbd6643199fe;p=hippotat.git import test.cfg from python hippotat Imported from the version in dce21e00c38132b17ec973923f4f7d0cbf47049f Signed-off-by: Ian Jackson --- diff --git a/test.cfg b/test.cfg new file mode 100644 index 0000000..9cc92d9 --- /dev/null +++ b/test.cfg @@ -0,0 +1,24 @@ +[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 +port = 8099 +vnetwork = 192.0.2.0/24 + +# ./hippotatd --debug-select=+ -c test.cfg + +# nc -n -v -l -p 8100 -c 'dd of=/dev/null' + +[192.0.2.3] +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 + +[192.0.2.4] +#secret = zorkmids + +# dd if=/dev/urandom bs=1024 count=16384 | nc -q 0 -n -v 192.0.2.1 8100