- 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>
An apostrophe in "aren't" ended a single-quoted string in views/probes.js,
so the module failed to parse ("missing ) after argument list") and the
Probes page couldn't load. Use the typographic apostrophe like the rest of
the UI copy.
scripts/check-js.sh parses every frontend module as an ES module (node in a
container if the host has none). Plain node --check on a .js file accepted
the broken file.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In an LXC (lxc mode on a Proxmox node, or native mode inside an LXC), the
installer now:
- installs avahi-daemon (with the rlimit-nproc fix for unprivileged
containers), so the container answers at <hostname>.local, and lists the
web UI as a _http._tcp service
- serves the hub on port 80 (CAP_NET_BIND_SERVICE for the netmon user) unless
HOST_PORT is given, so http://netmon-hub.local works without a port
- runs the inner install with LANG/LC_ALL=C.UTF-8 (no locale warnings from
the node's LANG) and prints one summary, with the .local address
When the UI is opened by a .local name, the Add probe command uses the hub's
own IP for HUB_URL, since Linux probes usually can't resolve .local.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Run on a Proxmox VE node (pct and /etc/pve present), the installers now
default to INSTALL_MODE=lxc: create or reuse (by tag netmon-hub /
netmon-probe) an unprivileged Debian LXC on vmbr0 with nesting and onboot,
push the installer into it (rebuilt from its own functions) and run it there
in native mode. LXC_* variables override ID, storage, template storage,
bridge, IP and size. Docker on a node now needs an explicit
INSTALL_MODE=docker and prints a warning; an earlier Docker install is
pointed out with removal steps.
Ping setup inside an unprivileged container stays within the mapped group
range, which the kernel requires.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The repo is private, so anonymous raw URLs return 404. The hub now serves
/install-probe.sh (and /install.sh) from its own checkout, open even with
UI_PASSWORD, and the Add probe command fetches from there. The installers
still ask for a read-only token to clone. Docs use Gitea's
"Authorization: token" header and give a git-clone fallback for the hub.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>