Re-running the installer on a Mac failed with "Bootstrap failed: 5:
Input/output error". bootout returns while the old job is still stopping,
and the bootstrap right after it fails. setup.sh now lints the plist, waits
until launchctl print no longer finds the job, re-enables it (a disabled job
also fails with error 5), retries the bootstrap once, and names the commands
to check if it still fails.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On macOS 15, Local Network privacy blocks LAN connections from a launchd
daemon running as a user (EHOSTUNREACH; curl works), and a daemon can't show
the permission prompt. Tested on 15.3.1 with the probe's own Python: a root
daemon connects to the hub, the same daemon with UserName gets "No route to
host". The plist no longer sets UserName. The checkout, venv and
<name>-update stay owned by the installing user.
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>
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>