luci-mod-status: aid DNS lookups with /etc/ethers
authorKonstantin Glukhov <redacted>
Thu, 8 Jan 2026 08:38:21 +0000 (17:38 +0900)
committerPaul Donald <redacted>
Mon, 12 Jan 2026 01:21:34 +0000 (02:21 +0100)
commit688008b6964d0c48e3692adfb537124bd8fd7716
treea35978e5674d02589480e34dcd04b37b62122fbe
parent2a84e490e1b743a208365b542118b40874851e9e
luci-mod-status: aid DNS lookups with /etc/ethers

- Integrate luci-rpc.getHostHints for host-hints lookup
- Stop mutating lookup_queue during iteration; use Set + filter()
  to remove resolved entries safely
- Collect unresolved addresses, consult host hints, and apply hinted names
- Use explicit defaults for recheck counters

Rationale:

Host hints provide a low-cost way to resolve IPv6 SLAAC and link-local
addresses, improving lookup coverage.

Bug fixes:

Removing elements from lookup_queue with splice() while iterating
reduced_lookup_queue could remove wrong indices or skip entries.
Switching to filter() and a Set fixes this class of logic bugs.

Signed-off-by: Konstantin Glukhov <redacted>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js
git clone https://git.99rst.org/PROJECT