Modified mihomo core: v1.19.33+domain-usage.12
Latest modification date: 2026-11-04
Initial domain-usage extension date: 2026-09-12

Based on MetaCubeX/mihomo v1.19.33, commit
3f27ef39f8c96bbfbc8b0b9bb10f5c9ef60149d8.
Copyright notices in the upstream source remain applicable.

The domain-usage extension adds bounded in-memory full-domain upload/download
counters and an authenticated /usage/domains API. This is a modified version,
not an official, unmodified MetaCubeX binary. The modified core and its source
are distributed under GNU GPL version 3; see mihomo-GPL-3.0.txt beside this file.
No warranty is provided, to the extent permitted by applicable law.

The current overlay also routes Android's virtual VPN DNS through the local
resolver, preserves live persistent fake-IP pools across compatible reloads
(and does not clone such a pool into itself), publishes the active pool
through an atomic snapshot, and authenticates Android
system-DNS IPC with peer UIDs over a validated abstract Unix socket. On Android
it can also take the TUN descriptor of the client's VpnService over a lease on
an abstract Unix socket that admits only its parent process, drops ping inside
that TUN, refuses tun inbounds from `listeners:`, and keeps PATCH requests
without a tun section away from the TUN.
Other platforms retain their existing DNS and TUN behavior.

The v7 overlay also adds an opt-in public UDP relay address check for chained
SOCKS5 exits. It validates the actual server reply before opening the UDP relay;
ordinary SOCKS5 nodes and traffic accounting semantics are unchanged.

The v8 overlay also retains the actual chain profile identity at connection
creation and exposes compact route breakdowns alongside existing website totals.
It does not duplicate traffic counters or add background polling.

The v9 overlay also applies the UDP switch of a chained exit before any relay
opens. The v10 overlay reports that refusal as unsupported rather than as a node
failure, and leaves bytes written to reject adapters out of the website counters.

Corresponding source for this exact modified core is provided as
mihomo-domain-usage-source-v1.19.33.tar.gz alongside the client release downloads.
It includes upstream source, the extension, vendored dependencies, the build
recipe, pinned inputs/output hashes, and reproduction instructions. CI also
retains the same source archive as a named source artifact. Distributors must
keep the corresponding source accessible for recipients of their binaries.

Upstream project: https://github.com/MetaCubeX/mihomo
Upstream license: https://github.com/MetaCubeX/mihomo/blob/v1.19.33/LICENSE
