docs / models / 50A51HUV / 09.01O.P0813 / findings

alvidaa findings β€” UI internals and the endpoint map

Split from the original FINDINGS.md lab notebook. Canonical record; the blog and STORY.md draw from these.

13. UI internals & the endpoint map (Oct 30)

All 12 partition images captured (byte-verified). p41 /APPS walked:

DoH evasion β€” the layer that beats DNS blocking

/APPS/domain/domain_list.json ships dohServers: ["dns.google/dns-query"] + dohDomains: ["vidaahub.com"] β€” vidaahub lookups bypass the LAN resolver via DoH by design. REJECT 8.8.8.8/8.8.4.4 :443 from the TV, then the fallback resolver (AdGuard) and its domain rules bite. Tiered lists: firmware/adguard-blocklist.txt + firmware/tvfw. The map self-declares the telemetry/ad hosts (evt-na, *-jrnl-na, rsc-ads, dvcstatus-dataretrv, file-ul) and is uid-314-writable via the bridge (mode 6).

First wiretap window (Oct 30 – Nov 2, settings OFF)

1153 kernel-log lines harvested over ~26 h. Results:

The kernel backstop was silently dead at boot (2026-11-05)

The wiretap baseline above was measured against a firewall that was only half applied. Found while building the OTA-freeze utility, by listing the chain instead of trusting the script.

Symptom. iptables -L OUTPUT -n on a fresh boot returned an empty chain. The policy file /var/local/tvfw was present and correct, and the boot hook sources it, so nothing looked wrong.

Cause 1 β€” the binary was not there yet. The hook sources tvfw near the top of the script, before /usr/local/bin/iptables is on the effective path. Every iptables call in the file failed, and a shell script that cannot find a command does not fail loudly enough to notice. The rules simply never existed.

Cause 2 β€” the host list resolves at boot. Tier 1 loops over the telemetry hostnames and calls nslookup at source time, which is the one moment DNS is least reliable. Even with a working iptables, the second half would have no-opped.

Measured. Sourcing tvfw by hand with the system fully up landed the four Tier-0 DoH REJECTs (8.8.8.8 / 8.8.4.4, tcp+udp, :443) and nothing else β€” Tier 1 still produced zero rules, confirming the DNS half fails independently of the path half.

Consequence for the record. The 26-hour baseline in the section above was taken with the kernel backstop absent. The resolver layer (AdGuard per-client rules) and the 79 INPUT DROP rules were doing the work; the OUTPUT backstop was not. Any claim that "the layers overlap" needs the chain listed, not the script read.

Fix shape (landed with the OTA utility): the policy defers itself, bounded-waits for iptables to exist, uses absolute paths, retries DNS instead of trusting boot-time resolution, and re-applies a freeze from a state sidecar. Acceptance is a rule count, not a successful source.

nslookup returns 0.0.0.0 for a blocked host, and scripts rule-ify it (2026-11-05)

Found while verifying that Tier 1 actually applied. The policy resolves each telemetry hostname and REJECTs the resulting addresses. Once AdGuard NXDOMAIN-pins those hosts, busybox nslookup answers 0.0.0.0 rather than failing, so the pipeline produced:

iptables -I OUTPUT 1 -d 0.0.0.0 -j REJECT

A rule that can never match a real destination, sitting in the chain looking like protection. It was only visible because the acceptance test counted rules instead of trusting "applied".

The general trap: any script that resolves a hostname and acts on the answer must filter 0.0.0.0 and :: explicitly. A resolver that returns a null address for a blocked name is indistinguishable from a resolver that returned a real one unless you check.

Second-order trap, and the reason this is written down: once the resolver blocks everything, "Tier 1 added zero rules" becomes the correct outcome β€” but it was a bug an hour earlier. A status line that prints only the count cannot distinguish "the resolver is doing the work" from "the loop silently failed again". Report which case it is, not just the number.

The layered status, measured live (2026-11-06 β€” alvidaa privacy status)

Issue #15 turned the manual measurement into alvidaa privacy status|hits|doh (read-only, tools/alvidaa.py). First live run caught the layered design doing exactly what it was built to catch: