chiark / gitweb /
sort out error handling for server rx slip frames
[hippotat.git] / test / test.cfg
1 # Copyright 2021 Ian Jackson and contributors to Hippotat
2 # SPDX-License-Identifier: GPL-3.0-or-later
3 # There is NO WARRANTY.
4
5 [SERVER]
6
7 ipif = exec /usr/lib/userv/ipif \* -- %(local)s,%(peer)s,%(mtu)s,slip '%(rnets)s'
8
9 addrs = 198.51.100.1
10 port = 8099
11 vnetwork = 192.0.2.0/24
12
13 # ./hippotatd --debug-select=+ -c test.cfg
14
15 # nc -n -v -l -p 8100 -c 'dd of=/dev/null'
16
17 [192.0.2.3]
18 secret = sesame
19
20 [192.0.2.3]
21 ipif = exec /usr/lib/userv/ipif \* -- %(local)s,%(peer)s,%(mtu)s,slip '%(rnets)s'
22
23 # ./hippotat -D -c test.cfg
24
25 [192.0.2.4]
26 #secret = zorkmids
27
28 # dd if=/dev/urandom bs=1024 count=16384 | nc -q 0 -n -v 192.0.2.1 8100