OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / user / httptunnel / htc.1
1 .TH HTC 1
2 .SH NAME
3 htc \- httptunnel client
4 .SH SYNOPSIS
5 .B htc
6 .I "[options] host[:port]"
7 .SH "DESCRIPTION"
8 This manual page briefly documents the
9 .B htc
10 command.
11 .PP
12 .B htc
13 sets up a httptunnel connection to PORT at HOST (default port is 8888).
14 When a connection is made, I/O is redirected from the source specified
15 by the --device or --forward-port switch to the tunnel.
16 .SH OPTIONS
17 The program follows the usual GNU command line syntax, with long
18 options starting with two dashes (`-').
19 A summary of options are included below.
20 .TP
21 .B \-h, \-\-help
22 Show summary of options.
23 .TP
24 .B \-c, \-\-content-length BYTES
25 use HTTP PUT requests of BYTES size (k, M, and G postfixes recognized)
26 .TP
27 .B \-d, \-\-device DEVICE
28 use DEVICE for input and output
29 .TP
30 .B \-F, \-\-forward\-port PORT
31 use TCP port PORT for input and output
32 .TP
33 .B \-k, \-\-keep\-alive SECONDS
34 send keepalive bytes every SECONDS seconds (default is 5)
35 .TP
36 .B \-M, \-\-max\-connection\-age SEC
37 maximum time a connection will stay open is SEC seconds (default is 300)
38 .TP
39 .B \-S, \-\-strict\-content\-length
40 always write Content-Length bytes in requests
41 .TP
42 .B \-A, \-\-proxy\-authorization USER:PASSWORD
43 proxy authorization
44 .TP
45 .B \-\-proxy\-authorization\-file FILE
46 proxy authorization file
47 .TP
48 .B \-B, \-\-proxy\-buffer\-size BYTES
49 assume a proxy buffer size of BYTES bytes
50 (k, M, and G postfixes recognized)
51 .TP
52 .B \-P, \-\-proxy HOSTNAME[:PORT]
53 use a HTTP proxy (default port is 8080)
54 .TP
55 .B \-T, \-\-timeout TIME
56 timeout, in milliseconds, before sending padding to a buffering proxy
57 .TP
58 .B \-U, \-\-user-agent STRING
59 specify User-Agent value in HTTP requests
60 .TP
61 .B \-V, \-\-version
62 output version information and exit
63
64 .SH AUTHOR
65 This manual page was contributed by Teemu Hukkanen <tjhukkan@iki.fi>,
66 and was originally written for the Debian GNU/Linux system.