diff options
| author | batsumaru <> | 2026-07-01 18:01:39 +0900 |
|---|---|---|
| committer | batsumaru <> | 2026-07-01 18:01:39 +0900 |
| commit | f035b94c216a8324e5b0d1637340c3736227781f (patch) | |
| tree | 433cce5294eda3875978baa6203fac9278f244bd /statuspage/render.sh | |
| parent | 018f92b5a0d7ee97747720e28d48bdf8b0134f2e (diff) | |
Sort pf rules by interface, iconify from/to, drop redundant nat prefix
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 "->" (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 "->" -> "→"
consistency swap to jails.sh's http child-row label.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'statuspage/render.sh')
0 files changed, 0 insertions, 0 deletions
