[Bug 264193] pf: scrub max-mss rule stops working (but still counts) after 13.1-RELEASE upgrade

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 06 Jun 2022 19:45:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264193

--- Comment #9 from oleg@mamontov.net ---
Indeed, changing "scrub on epair1b" to "scrub on epair0b" fixes the behaviour
on 13.1
Just a side note: on 13.0 both variants (epair0b and epair1b) work with the
same correct result.

Thus, we can summarize that starting from 13.1 the only correct option is:
---
scrub on epair0b proto tcp to port 25 max-mss 1380
pass out route-to (epair1b 10.0.1.1) proto tcp to port 25
---
So we should duplicate *all* the conditions for scrub and route-to rules.
In my real case route-to contains not only destination ports but also set of
source/destination addresses.
Not very convenient, but not fatal :)

Thank you.

(In reply to Kristof Provost from comment #7)

-- 
You are receiving this mail because:
You are on the CC list for the bug.