Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2025 11:03:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        pf@FreeBSD.org
Subject:   [Bug 291357] pfctl: partial libxo support
Message-ID:  <bug-291357-16861-UsorA9neEK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-291357-16861@https.bugs.freebsd.org/bugzilla/>
References:  <bug-291357-16861@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291357

Kajetan Staszkiewicz <vegeta@tuxpowered.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vegeta@tuxpowered.net

--- Comment #5 from Kajetan Staszkiewicz <vegeta@tuxpowered.net> ---
> should the rules be also broken up into their action and arguments?

For me having rules, states and source nodes dumped into json would greatly
improve the code for pf tests. Many tests I wrote over the last year or so
check if proper states have been created and if proper amount of packets went
through them. The tests use awk to convert the current multiline output into
single lines, and then those are checked with grep. That is unnecessary
complicated, prone to errors, makes things like comparing numbers hard.

I think that fully splitting the output, not keeping any multi-word regexaple
strings, would help here.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291357-16861-UsorA9neEK>