Commit graph

3 commits

Author SHA1 Message Date
neil
3d0e4bd153 Scrub real LAN addresses, MACs and name from docs and test fixtures 2026-11-05 01:29:45 -08:00
neil
30ce39d5f0 Fix Copy on plain-http hubs, toasts under modal backdrops, shorter install dialog
- copyText (house ui.js): over plain http (a LAN IP or .local name) there is
  no navigator.clipboard, and the fallback copied an empty string. el() set
  the textarea's value as an attribute, which textareas ignore. The textarea
  also sat outside the open modal, where it can't be selected. The fallback
  now sets .value, works inside the dialog, and reports a failure instead of
  always toasting success.
- toast (house ui.js): goes inside an open modal dialog, above its backdrop,
  which dimmed it to gray on gray in both themes.
- Install dialog: one sentence that holds on any machine, plus the hub address
  and a link to the install notes; the command is select-all on click.

The same ui.js fix is in the web-frontend skill's house assets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:42:00 -08:00
neil
54a765510a Network monitor: hub, probes, Docker and native installers
Hub (FastAPI + no-build web UI):
- Network health: live probe/target matrix, status strips, incidents
- Probes: add (with install command), rename, remove, latency and throughput charts
- Clients merged from AdGuard, DHCP, query log and probe ARP tables; names,
  categories, suspicious flag, notes, per-client DNS requests
- Query log, domain detail (clients, related subdomains), blocked domains via
  the AdGuard Home /control API

Probe: tests peers (ping, HTTP, throughput), gateway, LAN and public DNS,
internet URLs and an optional VPS; buffers results while the hub is down.
Gateway and ARP from /proc/net on Linux, route/arp on macOS.

Install: install.sh (hub) and install-probe.sh (generated from it), each in
docker mode (compose; default on Linux hosts) or native mode (venv + systemd
or launchd; default on macOS and in LXC). Both modes deploy with an update
command that checks the new commit and rolls back on failure.

CLAUDE.md carries shared context for Claude Code sessions on each machine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 18:10:29 -08:00