ish2
Fast, lightweight CLI tool to check if a host supports HTTP/2 via ALPN.
Dependencies
Tested with OpenSSL 1.1.1d.
On Debian-based:
sudo apt install libssl-dev
Compiling
Use make. To skip certificate verification, compile with make noverify.
Usage
./ish2 host [port].
By default, port 443 is used.
For example:
$ ./ish2 www.google.com
www.google.com h2
$ ./ish2 www.github.com 443
www.github.com http/1.1
NOTE: this tool hangs when the server does not support HTTPS. The quickest workaround is to use timeout(1):
$ timeout 3 ./ish2 deaddomain.com

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
