1. 12 Nov, 2026 7 commits
    • devname: announce the LAN face with avahi on Linux, find the LAN address portably · b76c2eb3
      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
    • devname: derive the LAN-face host name instead of hard-coding mac.local · 55b5723a
      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
    • devname: run the agent as a systemd user unit on Linux · c8f78544
      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
    • devname: put OS specifics behind one platform layer; launchd agent behind it · 250c1f85
      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
    • Sync bin/devname and tests with the estate copy · b936c81a
      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
  2. 07 Nov, 2026 1 commit
    • linux: systemd user-unit integration for the agent · cc943387
      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
  3. 06 Nov, 2026 1 commit