From nobody Mon Jun 06 19:45:58 2022 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 74BC91BD1B77 for ; Mon, 6 Jun 2022 19:46:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LH3rT1HVGz55qk for ; Mon, 6 Jun 2022 19:46:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B430C44D4 for ; Mon, 6 Jun 2022 19:45:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 256Jjw3M069713 for ; Mon, 6 Jun 2022 19:45:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 256Jjwh8069712 for net@FreeBSD.org; Mon, 6 Jun 2022 19:45:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 264193] pf: scrub max-mss rule stops working (but still counts) after 13.1-RELEASE upgrade Date: Mon, 06 Jun 2022 19:45:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: oleg@mamontov.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: mfc-stable13? mfc-stable12- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654544761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dnkg/0xjnhxqopKGdQ/FiIypgq/dBMIJ/sawC04Mtz0=; b=AznPSCZu1N/2Fc0QrXtmIkGkG67/VXTWsDBTWtdJRQdDWQ7kPzUQtY/y1g63bhJr+NuH4j CzxP4dOyBLAU637Ell1enxFsYHG2LxrbKrE02PIR6Xz2dZhi5RIduFa/LZEscxQ0mDv4sN kfBKC8Owdo8v0td5p7LfwArI6Ro9b2F/UshXULgf6qXWFFsy93CrQS/nC2L0eGajJZyQpJ F+UtnG+AwtDztH6puFzHcZCB0lLLWzRmqpCqmBlNydpwPXAP7iZuVgDJXBMLrnTBsaEEQC lWAFtwgXT4zbIlBEVSab6gLEnFD6NJ7Ph7xlbvfwEgrrYEi2mycVeYZy9buSYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654544761; a=rsa-sha256; cv=none; b=v0/BfcJq6Ipx/b/vh5hpuBF5jv7UeSg0WkfQ9ZxV/RkUQ/VZx/OYBjS1qk3DYzYiu8+OH+ 8ZXEkTh0ZgWqcm2ExY/it26IWU3SRxtBJ3SWmhwevXG4HOW7BWkOEE2uj7yNi73uvJ791W ypfvyZGN+Aw9NhkPCfAAx1sbFNsM1TqYoOOhku0hMfYwAPTSWG2KoO8iIqBY/KrQZ7Acek LZwjZsXnqqYckdgokpILxCpKl7UsYo9Qx34Xb3CGD3b8n/yn/gPPQO0rIV0yocnGLW/Q07 jRJyW/mGEuH4wnafUKw5AilxtGKcSxBCh8BzAyCdadXiGL5A+6pySh3fHsV1hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264193 --- Comment #9 from oleg@mamontov.net --- Indeed, changing "scrub on epair1b" to "scrub on epair0b" fixes the behavio= ur 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) --=20 You are receiving this mail because: You are on the CC list for the bug.=