OS Manuals

/usr/bin/genhash

Failover and monitoring daemon for LVS clusters and VRRP routers

From keepalived 2.4.3-r7 (enterprise-packages), captured 2026-11-08 by running genhash --help (exit 1). permalink

Usage: /usr/bin/genhash COMMAND [OPTIONS]
Commands:
   -s server-address -p port -u url
   -S -s server-address -p port -u url
   -h

Options:
Either long or short options are allowed.
   --use-ssl         -S       Use SSL connection to remote server.
   --use-sni         -I       Use SNI during SSL handshake (uses virtualhost setting; see -V).
   --server          -s       Use the specified remote server address.
   --port            -p       Use the specified remote server port.
   --url             -u       Use the specified remote server url.
   --use-virtualhost -V       Use the specified virtualhost in GET query.
   --verbose         -v       Use verbose mode output.
   --help            -h       Display this short inlined help screen.
   --fwmark          -m       Use the specified FW mark.
   --protocol        -P       Use the specified HTTP protocol - '1.0', 1.0c', '1.1'.
                                1.0c means 1.0 with 'Connection: close'
   --timeout         -t       Timeout in seconds
Options (12)
OptionDescriptionSource
-hhelp
--use-ssl, -S-S Use SSL connection to remote server.help + man
--use-sni-I Use SNI during SSL handshake (uses virtualhost setting;help
--server, -s host-s Use the specified remote server address.help + man
--port, -p port-p Use the specified remote server port.help + man
--url, -u urlSpecify the path to the file you want to generate the hash of.help + man
--use-virtualhost, -V -VSpecify the virtual host to send along with the HTTP headers.help + man
--verbose, -v-v Use verbose mode output.help + man
--help-h Display this short inlined help screen.help + man
--fwmark, -m markSet the specified firewall mark on the sockethelp + man
--protocol, -P protocol_version-P Use the specified HTTP protocol - '1.0', 1.0c', '1.1'.help + man
--timeout, -t timeoutSpecify the connection timeout in seconds.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.