File: test.cfg

package info (click to toggle)
hippotat 1.3.2
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 700 kB
  • sloc: sh: 407; makefile: 132; perl: 84; python: 79; ansic: 34
file content (28 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2021-2022 Ian Jackson and contributors to Hippotat
# SPDX-License-Identifier: GPL-3.0-or-later WITH LicenseRef-Hippotat-OpenSSL-Exception
# There is NO WARRANTY.

[SERVER]

ipif = exec /usr/lib/userv/ipif \* -- %(local)s,%(peer)s,%(mtu)s,slip '%(rnets)s'

addrs = 198.51.100.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 = exec /usr/lib/userv/ipif \* -- %(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