Skip to content

Releases

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 17:27

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 15:49

v0.2.0

Minor release. Query behaviour is unchanged: same output, exit codes, server
selection and --help text as before, still byte-for-byte compatible with the
C client in tests/fidelity.rs. This release is about the size of the binary
and the reliability of the weekly data refresh.

Smaller binaries

The generated lookup tables stored the 24-byte ServerTarget enum in every
entry, so a single IPv4 network cost 32 bytes to describe 6 bytes of data.
They are now parallel arrays of network, prefix length and a deduplicated
server index, and the mask is derived at lookup time. Entry order is
unchanged, so "most specific prefix first, first match wins" still holds.

Artefact before after
macOS arm64 binary 3.31 MB 2.30 MB
whois-aarch64-unknown-linux-gnu.tar.gz 1.51 MB 1.39 MB
whois-rmoriz_amd64.deb 1.11 MB 1.06 MB

That is roughly 1 MB, or 30%, per installed binary. The download assets only
shrink a little, because they are compressed already.

Weekly data refresh

The scheduled refresh used to abort when any single registry was unreachable,
which left the lists stale. The 2026-11-29 run died on www.iana.org, and
AFRINIC has been unreachable from GitHub's runners entirely. The RIR snapshots
now fall back to RIPE's mirror of the delegated statistics, which serves the
other four registries' files byte for byte.

Data

IANA and RIR snapshots refreshed on 2026-11-30, including new APNIC
allocations. The tables carry the data of that day.

Assets

Unchanged from v0.1.0: glibc and musl tarballs for Linux, macOS tarballs,
FreeBSD/OpenBSD/NetBSD tarballs and the Debian packages. Verify with
SHA256SUMS.

Upgrading

Nothing to do beyond replacing the binary or the package. The RIPE client tag
is now -V rmoriz/0.2.0, still comma-free so RIPE does not apply proxy
accounting.

Licence GPL-2.0-or-later. Based on whois 5.6.6 by Marco d'Itri.

Latest build (b5fda97)

Choose a tag to compare

@github-actions github-actions released this 30 Nov 17:29

Rolling build of main at b5fda97. Rebuilt on every push touching source, build files, data or translations; this tag and release move with it. The project version changes only on a release tag. For fixed versions use a v* tag.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 14:27

v0.1.0

First tagged release.

whois and mkpasswd, rewritten in Rust as a behaviour-compatible
replacement for Debian's whois 5.6.6: the same output, exit codes, server
selection, referral and disclaimer handling, and the same --help text.
tests/fidelity.rs compares the result byte for byte against the C client.

Additions over the C client

These are deliberately hidden from --help (which stays identical to the C
client) and documented in the README instead:

  • RDAP mode — the default as soon as a server is known, via
    data/rdap_defaults and then the embedded IANA bootstrap. --whois, -h,
    -p, -I and the RIPE flags force WHOIS. There is no automatic
    RDAP-to-WHOIS fallback. Text output is a curated view; --json prints the
    raw server body.
  • --emoji — punycodes emoji labels that IDNA rejects. Compatibility
    emoji that map to text (Ⓜ️, ™️) are not converted.
  • RIPE-like servers receive -V rmoriz/0.1.0; a tag without a comma keeps
    RIPE from applying proxy accounting.

Server data is generated from IANA and RIR snapshots (data/as_del_list,
data/ip_del_list, data/ip6_del_list) and refreshed weekly. Lookup
semantics follow the C client: most-specific prefix first, first match wins,
IPv6 limited to the first 32 bits.

Assets

Platform Archive
Linux x86_64 (glibc) whois-x86_64-unknown-linux-gnu.tar.gz
Linux aarch64 (glibc) whois-aarch64-unknown-linux-gnu.tar.gz
Linux x86_64 (musl/Alpine) whois-x86_64-unknown-linux-musl.tar.gz
Linux aarch64 (musl/Alpine) whois-aarch64-unknown-linux-musl.tar.gz
macOS Intel whois-x86_64-apple-darwin.tar.gz
macOS Apple silicon whois-aarch64-apple-darwin.tar.gz
Debian/Ubuntu amd64 whois-rmoriz_amd64.deb
Debian/Ubuntu arm64 whois-rmoriz_arm64.deb
FreeBSD amd64 whois-x86_64-unknown-freebsd.tar.gz
OpenBSD amd64 whois-x86_64-unknown-openbsd.tar.gz
NetBSD amd64 whois-x86_64-unknown-netbsd.tar.gz

Verify with SHA256SUMS.

Install

The Debian and Ubuntu packages install whois-rmoriz and mkpasswd-rmoriz
alongside Debian's whois:

sudo apt install ./whois-rmoriz_amd64.deb   # or arm64

Homebrew:

brew install rmoriz/tools/whois-rmoriz

sudo link-whois-rmoriz makes the port the default whois and mkpasswd
system-wide; sudo unlink-whois-rmoriz reverts it.

The project version stays 0.1.0; data refreshes change only the generated
tables, never Cargo.toml.

Licence GPL-2.0-or-later. Based on whois 5.6.6 by Marco d'Itri.