1HTC(1) General Commands Manual HTC(1)
2
3
4
6 htc - httptunnel client
7
9 htc [options] host[:port]
10
12 This manual page briefly documents the htc command.
13
14 htc sets up a httptunnel connection to PORT at HOST (default port is
15 8888). When a connection is made, I/O is redirected from the source
16 specified by the --device or --forward-port switch to the tunnel.
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 PORT
34 use TCP port PORT 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 -A, --proxy-authorization USER:PASSWORD
47 proxy authorization
48
49 --proxy-authorization-file FILE
50 proxy authorization file
51
52 -B, --proxy-buffer-size BYTES
53 assume a proxy buffer size of BYTES bytes (k, M, and G postfixes
54 recognized)
55
56 -P, --proxy HOSTNAME[:PORT]
57 use a HTTP proxy (default port is 8080)
58
59 -T, --timeout TIME
60 timeout, in milliseconds, before sending padding to a buffering
61 proxy
62
63 -U, --user-agent STRING
64 specify User-Agent value in HTTP requests
65
66 -V, --version
67 output version information and exit
68
69
71 This manual page was contributed by Teemu Hukkanen <tjhukkan@iki.fi>,
72 and was originally written for the Debian GNU/Linux system.
73
74
75
76 HTC(1)