JOH |
|
Jabber Over HTTP Tunnel |
Sergey Poznyakoff |
JOH User Manual (split by section): | ? |
The following table summarizes the available command line options in alphabetic order. For each option, it provides a reference to the place in the tutorial where the option is discussed.
Sets socket class. Allowed values for class are ‘CGI’ and ‘HTTP’. This option affects all subsequent ‘-l’ options appearing to the right of it, until another ‘-c’ option or end of command line is encountered, whichever occurs first.
See socket class.
After startup, switch to the background and run as daemon. See daemon.
Sets debugging level. See section Logging and Debugging.
Read the 404 error page from file. This error page is returned as a response to HTTP GET requests. The file must contain a valid HTML document without external references in the ‘head’ section. See section HTTP GET Requests.
This option affects all HTTP sockets created by subsequent ‘-l’ options which appear to the right of it, until another ‘-E’ option or end of command line is encountered, whichever occurs first.
Sets syslog facility. Allowed values for facility are: ‘user’, ‘daemon’, ‘auth’, ‘authpriv’, ‘mail’, ‘cron’, ‘local0’ through ‘local7’. All names are case-insensitive.
See section Logging and Debugging.
Shows a terse help summary.
Show source line information with debug messages. See section Logging and Debugging.
Sets log tag. See section Logging and Debugging.
Listen on the given url. Several ‘-l’ options can appear in the command line.
See listen option.
Prefix diagnostic messages with their severity level. See section Logging and Debugging.
Write PID to file. See daemon.
Redirect HTTP GET requests to url. The argument must begin with ‘http://’. See section HTTP GET Requests.
This option affects all HTTP sockets created by subsequent ‘-l’ options which appear to the right of it, until another ‘-R’ option or end of command line is encountered, whichever occurs first.
Sets service name for TCP wrappers. This option affects all subsequent ‘-l’ options appearing to the right of it, until another ‘-S’ option or end of command line is encountered, whichever occurs first.
See TCP wrappers.
Sets URL of the default jabber server. It is used if the request does not specify the server explicitly.
Sets session idle timeout. Type is the type of the socket: ‘C’ for client sockets (either ‘CGI’ or ‘HTTP’) and ‘J’ for Jabber socket. Timeout is the timeout value, either in seconds or in ‘XhYmZs’ form.
Defaults are: ‘-t C:5m -t J:1m’.
Run as user, after completing privileged operations, such as creating sockets that listen on ports below 1024. See daemon.
Prints the program version.
JOH User Manual (split by section): | ? |
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.