Download raw body.
pf_lb port range retries [Re: CVS: cvs.openbsd.org: src]
Hello,
On Mon, Nov 09, 2026 at 12:58:49PM +0000, Stuart Henderson wrote:
</snip>
>
> hmm - I'm confused by "match log(matches)" pflog output with this then.
> And I'm pretty certain I've seen "packets sent out untranslated" before
> (but that may have been some time ago) so thought it was the same thing.
>
> Here's tcpdump pflog output from 3 connection attempts with the
> following as part of the ruleset:
>
> match log(matches) proto tcp to 1.1.1.1
> match out on wg0 proto tcp to 1.1.1.1 port 80 nat-to em1 port 1234:1235 rtable 2
>
I think the order of match rules matter here.
the match log(matches)... is hit as the first rule and it's log(matches) action
makes sure the packet is logged immediately, before the second rule with 'nat-to'
is evaluated. and this is the rule that hits the newly introduced failure.
that's at least my understanding.
thanks and
regards
sashan
pf_lb port range retries [Re: CVS: cvs.openbsd.org: src]