-
Notifications
You must be signed in to change notification settings - Fork 103
/
htc.1
69 lines (68 loc) · 1.85 KB
/
htc.1
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.TH HTC 1
.SH NAME
htc \- httptunnel client
.SH SYNOPSIS
.B htc
.I "[options] host[:port]"
.SH "DESCRIPTION"
This manual page briefly documents the
.B htc
command.
.PP
.B htc
sets up a httptunnel connection to PORT at HOST (default port is 8888).
When a connection is made, I/O is redirected from the source specified
by the \-\-device or \-\-forward\-port switch to the tunnel.
.SH OPTIONS
The program follows the usual GNU command line syntax, with long
options starting with two dashes (`\-').
A summary of options are included below.
.TP
.B \-h, \-\-help
Show summary of options.
.TP
.B \-c, \-\-content-length BYTES
use HTTP PUT requests of BYTES size (k, M, and G postfixes recognized)
.TP
.B \-d, \-\-device DEVICE
use DEVICE for input and output
.TP
.B \-F, \-\-forward\-port PORT
use TCP port PORT for input and output
.TP
.B \-k, \-\-keep\-alive SECONDS
send keepalive bytes every SECONDS seconds (default is 5)
.TP
.B \-M, \-\-max\-connection\-age SEC
maximum time a connection will stay open is SEC seconds (default is 300)
.TP
.B \-S, \-\-strict\-content\-length
always write Content-Length bytes in requests
.TP
.B \-A, \-\-proxy\-authorization USER:PASSWORD
proxy authorization
.TP
.B \-z, \-\-proxy\-authorization\-file FILE
proxy authorization file
.TP
.B \-B, \-\-proxy\-buffer\-size BYTES
assume a proxy buffer size of BYTES bytes
(k, M, and G postfixes recognized)
.TP
.B \-P, \-\-proxy HOSTNAME[:PORT]
use a HTTP proxy (default port is 8080)
.TP
.B \-T, \-\-timeout TIME
timeout, in milliseconds, before sending padding to a buffering proxy
.TP
.B \-U, \-\-user-agent STRING
specify User-Agent value in HTTP requests
.TP
.B \-V, \-\-version
output version information and exit
.TP
.B \-w, \-\-no-daemon
don't fork into the background
.SH AUTHOR
This manual page was contributed by Teemu Hukkanen <tjhukkan@iki.fi>,
and was originally written for the Debian GNU/Linux system.