genhash1
Md5 hash generation tool for remote web pages
Usage
keepalived --genhash
[options]
[-s
server-address]
[-p
port]
[-u
url]
Overview
genhash is a tool used for generating md5sum hashes of remote web pages. genhash can use HTTP or HTTPS to connect to the web page. The output by this utility includes the HTTP header, page data, and the md5sum of the data. This md5sum can then be used within the keepalived(8) program, for monitoring HTTP and HTTPS services.
Options
-
--use-ssl, -S -
Use SSL to connect to the server.
-
--server <host>, -s -
Specify the ip address to connect to.
-
--port <port>, -p -
Specify the port to connect to.
-
--url <url>, -u -
Specify the path to the file you want to generate the hash of.
-
--use-virtualhost <host>, -V -
Specify the virtual host to send along with the HTTP headers.
-
--protocol <protocol_version>, -P -
Specify the HTTP protocol version to use. protocol_version can be 1.0, 1.1 or 1.0c. 1.0c means protocol version 1.0 but with a "Connection: close" line; this is included in version 1.1 by default.
-
--timeout <timeout>, -t -
Specify the connection timeout in seconds.
-
--fwmark <mark>, -m -
Set the specified firewall mark on the socket
-
--verbose, -v -
Be verbose with the output.
-
--help, -h -
Display the program help screen and exit.
Releases
12 releases since Debian 3.1 (Sarge); the text changed 5 times.
--fwmark since Debian 12 (Bookworm);
--protocol since Debian 11 (Bullseye);
--timeout since Debian 11 (Bullseye);
-P since Debian 11 (Bullseye);
-V since Debian 8 (Jessie);
-m since Debian 12 (Bookworm);
-t since Debian 11 (Bullseye).
--hash until Debian 11 (Bullseye);
--release until Debian 11 (Bullseye);
-H until Debian 11 (Bullseye);
-r until Debian 11 (Bullseye).