<feed xmlns='http://www.w3.org/2005/Atom'>
<title>console.git/statuspage/checks/jails.sh, branch master</title>
<subtitle>Monitor for my server
</subtitle>
<id>http://cgit.dandokmang.com/console.git/atom?h=master</id>
<link rel='self' href='http://cgit.dandokmang.com/console.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/'/>
<updated>2026-07-01T09:01:39Z</updated>
<entry>
<title>Sort pf rules by interface, iconify from/to, drop redundant nat prefix</title>
<updated>2026-07-01T09:01:39Z</updated>
<author>
<name>batsumaru</name>
<email></email>
</author>
<published>2026-07-01T09:01:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/commit/?id=f035b94c216a8324e5b0d1637340c3736227781f'/>
<id>urn:sha1:f035b94c216a8324e5b0d1637340c3736227781f</id>
<content type='text'>
Filter rules now sort by (interface, in-before-out) rather than
pfctl's raw eval order, which just reflects pf.conf's authoring order
and reads as arbitrarily interleaved (an "out" rule sandwiched between
unrelated "in" rules for the same interface). Display-only reorder -
pf's actual evaluation order and quick/first-match semantics on the
box are untouched, only the informational listing is re-sorted.

Generalized the "from X to Y" abbreviation beyond the from-any-to-any-
port special case, and replaced pfctl's own "-&gt;" (nat rewrite target)
with the unicode arrow for consistency with the in/out arrows already
in use. Also dropped the "nat: " prefix, which was redundant with the
rule text already starting with "nat". Applied the same "-&gt;" -&gt; "→"
consistency swap to jails.sh's http child-row label.

Co-Authored-By: Claude Sonnet 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Auto-discover jails and add WireGuard peer info to status page</title>
<updated>2026-07-01T07:25:42Z</updated>
<author>
<name>batsumaru</name>
<email></email>
</author>
<published>2026-07-01T07:25:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/commit/?id=358106287b28bffa8505b67fe623f77a3fbceae3'/>
<id>urn:sha1:358106287b28bffa8505b67fe623f77a3fbceae3</id>
<content type='text'>
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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
