htc1
Httptunnel client
Usage
htc [options]
host
[:port]
Overview
This manual page briefly documents the htc command.
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.
Options
The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options are included below.
-
-h, --help -
Show summary of options.
-
-c, --content-length BYTES -
use HTTP PUT requests of BYTES size (k, M, and G postfixes recognized)
-
-d, --device DEVICE -
use DEVICE for input and output
-
-F, --forward-port PORT -
use TCP port PORT for input and output
-
-k, --keep-alive SECONDS -
send keepalive bytes every SECONDS seconds (default is 5)
-
-M, --max-connection-age SEC -
maximum time a connection will stay open is SEC seconds (default is 300)
-
-S, --strict-content-length -
always write Content-Length bytes in requests
-
-A, --proxy-authorization USER:PASSWORD -
proxy authorization
-
--proxy-authorization-file FILE -
proxy authorization file
-
-B, --proxy-buffer-size BYTES -
assume a proxy buffer size of BYTES bytes (k, M, and G postfixes recognized)
-
-P, --proxy HOSTNAME[:PORT] -
use a HTTP proxy (default port is 8080)
-
-T, --timeout TIME -
timeout, in milliseconds, before sending padding to a buffering proxy
-
-U, --user-agent STRING -
specify User-Agent value in HTTP requests
-
-V, --version -
output version information and exit
Releases
14 releases since Debian 2.2 (Potato); the text changed 6 times.
--base-uri until Debian 13 (Trixie);
--no-daemon until Debian 13 (Trixie);
--stdin-stdout until Debian 13 (Trixie);
-R until Debian 13 (Trixie);
-s until Debian 13 (Trixie);
-w until Debian 13 (Trixie);
-z until Debian 13 (Trixie).