1HTS(1) General Commands Manual HTS(1)
2
3
4
6 hts - httptunnel server
7
9 hts [options] [port]
10
12 This manual page briefly documents the hts command.
13
14 hts listens for incoming httptunnel connections at PORT (default port
15 is 8888). When a connection is made, I/O is redirected to the destina‐
16 tion specified by the --device or --forward-port switch.
17
19 The program follows the usual GNU command line syntax, with long
20 options starting with two dashes (`-'). A summary of options are
21 included below.
22
23 -h, --help
24 Show summary of options.
25
26 -c, --content-length BYTES
27 use HTTP PUT requests of BYTES size (k, M, and G postfixes rec‐
28 ognized)
29
30 -d, --device DEVICE
31 use DEVICE for input and output
32
33 -F, --forward-port HOST:PORT
34 connect to PORT at HOST and use it for input and output
35
36 -k, --keep-alive SECONDS
37 send keepalive bytes every SECONDS seconds (default is 5)
38
39 -M, --max-connection-age SEC
40 maximum time a connection will stay open is SEC seconds (default
41 is 300)
42
43 -S, --strict-content-length
44 always write Content-Length bytes in requests
45
46 -V, --version
47 output version information and exit
48
49 -p, --pid-file LOCATION
50 write a PID file to LOCATION
51
53 This manual page was contributed by Teemu Hukkanen <tjhukkan@iki.fi>,
54 and was originally written for the Debian GNU/Linux system.
55
56
57
58 HTS(1)