- 12 Nov, 2026 9 commits
-
-
PLN (Algolia) authored
-
New checks: low ports (unprivileged-port sysctl or setcap on caddy), a system caddy.service holding :80, linger, *.localhost resolving to loopback through the system resolver (getaddrinfo), mkcert presence, and the LAN face announcer. Each FAIL prints the command to run (apt, pacman, dnf, brew, sysctl, setcap, systemctl); WARN lines cover the optional parts and do not fail the exit code. Firewall hints for socketfilterfw, ufw and firewalld are printed, never run.
PLN (Algolia) authored -
lan_ip asks the kernel for the route source toward the mDNS group (then the default route) instead of parsing ifconfig, and accepts RFC 1918 only. Announcing goes through the platform: dns-sd -P on macOS, avahi-publish -a -R on Linux. Without an announcer (avahi missing or avahi-daemon down) the gate stays shut with a clear reason and no ssh probe; loopback names are untouched. The machine's own .local name is never re-announced, and names removed from the registry are withdrawn.
PLN (Algolia) authored -
Names answer as <name>.<lan host>.local. The host is DEVNAME_LAN_HOST, else lan_host in DEVNAME_HOME/config.json, else the platform default: mac on macOS (unchanged, so phones and the issued cert keep working) and the short hostname elsewhere, the name avahi already announces. The ssh gate host is configurable the same way (lan_gate_ssh). The index page script and CA banner follow the derived names.
PLN (Algolia) authored -
agent install writes ~/.config/systemd/user/devname.service (system python3, Restart=on-failure, RestartSec=5 with a 5-in-120s start limit so a broken unit gives up instead of retrying forever) and enables it. A preflight refuses to install a unit that would crash-loop: caddy missing, low ports closed (neither the unprivileged-port sysctl nor cap_net_bind_service, read from the xattr), or a system caddy.service holding :80. Hosts without systemd fall back to devname serve.
PLN (Algolia) authored -
Tool discovery, state and log paths, and the agent live in a Platform class (MacPlatform for launchd, a base for any other Unix that refuses agent and points at devname serve). agent gains uninstall, restart, and install --print to show the plist without writing or loading it.
PLN (Algolia) authored -
PLN (Algolia) authored
-
PLN (Algolia) authored
-
Brings in what the estate copy grew since the split: the status history and 24 h / 14 d index page, gc of stale names, wildcard and alias names, and the LAN face behind the ssh gate. It is the macOS-only version; the Linux support follows in the next commits, ported onto this base.
PLN (Algolia) authored
-
- 07 Nov, 2026 1 commit
-
-
devname agent install on Linux writes ~/.config/systemd/user/ devname.service (env-python3 ExecStart, Restart=on-failure, WantedBy=default.target) and enables it — no root for the daemon; the README documents the two one-time options for binding low ports (sysctl ip_unprivileged_port_start or setcap on caddy), linger for boot-time start, and plain 'devname serve' for other inits. doctor and agent status are platform-aware; the unit is covered by a test.
PLN (Algolia) authored
-
- 06 Nov, 2026 1 commit
-
-
PLN (Algolia) authored
-