You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lab-ops-hub: both crawl validators accept the bare home.arpa apex — every subdomain is refused, the RFC 8375 local name itself is not #608
Both crawl-URL validators block every host under home.arpa but accept the bare apex home.arpa itself. home.arpa is the RFC 8375 special-use domain for residential home networks — resolvers answer names in that zone (including the apex, used for homenet service/gateway discovery) from the local network, which is exactly the class of target the blocked-suffix list exists to keep the crawler away from. The apex escapes only because the suffixes carry a leading dot and, unlike localhost, home.arpa never got an equality check.
Evidence (verified on current main, both validators)
Container validator (pkgs/lab-ops-hub/container/app.py:29, check at app.py:302):
home.arpa. (trailing root dot, stripped before the check)
accepted
HOME.ARPA (lowercased before the check)
accepted
Dedup: no open or closed issue mentions home.arpa; no test in either suite mentions it.
Why it matters
The crawler is explicitly barred from local-network targets (loopback, link-local, .local, .internal, .home.arpa, …). A user-supplied crawl URL of http://home.arpa/ passes validation in both the container crawler and the Worker fallback and is fetched — reaching the local network's homenet naming/gateway service the policy intends to exclude. It's a one-name hole in an otherwise systematically closed policy, of the same shape as the earlier trailing-dot and empty-label evasions (#466, #511).
Acceptance criteria
Both validators refuse home.arpa in all its judged spellings (bare, trailing-dot, uppercase) with the existing "refusing to crawl local host" error, mirroring the host == "localhost" equality handling.
Regression tests in both suites (test/test_container_validate.py and test/lib.test.ts) covering the apex spellings alongside the existing subdomain cases.
Consider (and note the decision in the PR) whether the other dotted suffixes' apexes (bare local, internal, lan, localhost as single labels) should get the same equality treatment, or whether home.arpa is special because its apex is itself a live local name.
Activity
Merge pull request #609 from developing-today/creator/608-home-arpa-apex