| 1 |
.TH HTS 1 |
| 2 |
.SH NAME |
| 3 |
hts \- httptunnel server |
| 4 |
.SH SYNOPSIS |
| 5 |
.B hts |
| 6 |
.I "[options] [port]" |
| 7 |
.SH "DESCRIPTION" |
| 8 |
This manual page briefly documents the |
| 9 |
.BR hts |
| 10 |
command. |
| 11 |
.PP |
| 12 |
.B hts |
| 13 |
listens for incoming httptunnel connections at PORT (default port is 8888). |
| 14 |
When a connection is made, I/O is redirected to the destination specified |
| 15 |
by the --device or --forward-port switch. |
| 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 HOST:PORT |
| 31 |
connect to PORT at HOST and use it 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 \-V, \-\-version |
| 43 |
output version information and exit |
| 44 |
.TP |
| 45 |
.B \-p, \-\-pid\-file LOCATION |
| 46 |
write a PID file to LOCATION |
| 47 |
.SH AUTHOR |
| 48 |
This manual page was contributed by Teemu Hukkanen <[email protected]>, |
| 49 |
and was originally written for the Debian GNU/Linux system. |