genhash(1)

πŸ“¦
version 2.4.3 Β· 3 versions
, in alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ genhash(1) ✨

okay bestie, so this is the manual page for genhash, living in section 1 of the manual. yes we're doing this. grab a snack πŸ“


🌸 NAME 🌸

genhash β€” md5 hash generation tool for remote web pages


πŸŽ€ SYNOPSIS πŸŽ€

keepalived --genhash [options] [-s server-address] [-p port] [-u url]

πŸ¦‹ DESCRIPTION πŸ¦‹

so genhash is this little tool that makes md5sum hashes of remote web pages. it can use HTTP or HTTPS to go connect to the page, your choice, she's flexible πŸ’…

the output? it literally includes the HTTP header, the page data, and the md5sum of the data. all three. no cap.

and then that md5sum can be used inside the keepalived(8) program, for monitoring HTTP and HTTPS services. that's the whole point bestie, that's her job 🫢


πŸ’– OPTIONS πŸ’–

  • --use-ssl, -S β€” use SSL to connect to the server. secure vibes only πŸ”’
  • --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. and 1.0c? that means protocol version 1.0 but with a "Connection: close" line β€” which, fun fact, is included in version 1.1 by default anyway ✨
  • --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. she talks a LOT. iconic πŸ’…
  • --help, -h β€” display the program help screen and exit.

🌈 SEE ALSO 🌈

keepalived(8), keepalived.conf(5)


πŸ‘‘ AUTHOR πŸ‘‘

genhash was written by Alexandre Cassen <acassen@linux-vs.org>.

this man page was contributed by Andres Salomon <dilinger@voxel.net> for the Debian GNU/Linux system (but may be used by others). giving credit where it's due, periodt 🫢


and that's the whole page bestie, you ate it πŸ’–

this was genhash(1) from the General Commands Manual, dated 2021-07-05 β€” mwah, go generate some hashes 🌸✨