diff options
| author | batsumaru <> | 2026-07-01 16:25:42 +0900 |
|---|---|---|
| committer | batsumaru <> | 2026-07-01 16:25:42 +0900 |
| commit | 358106287b28bffa8505b67fe623f77a3fbceae3 (patch) | |
| tree | 8d0fe44894090313330685136b25c5e6b3083b9c /.githooks | |
| parent | aa73d4e03d0905b884cde1ed3c2f0bdf35f5ef30 (diff) | |
Auto-discover jails and add WireGuard peer info to status page
Replace the per-jail check scripts with checks/jails.sh, which lists
running jails via jls and resolves each one's IPv4 (falling back to
jexec+ifconfig for VNET jails, which don't set the ip4.addr jail
parameter). New jails now show up without adding a script; the
trade-off is a stopped jail just disappears rather than showing down,
since jls only lists what's running.
checks/wireguard.sh now also reports each configured peer's allowed-IP
and time since last handshake, parsed from `wg show wg0 dump`.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to '.githooks')
0 files changed, 0 insertions, 0 deletions
