From nobody Mon May 23 21:47:21 2022 X-Original-To: bugs@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 643F81B30652 for ; Mon, 23 May 2022 21:47:21 +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 4L6WBx0qQBz4ld7 for ; Mon, 23 May 2022 21:47:21 +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 F09BE1815A for ; Mon, 23 May 2022 21:47:20 +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 24NLlKil072207 for ; Mon, 23 May 2022 21:47:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24NLlKiL072206 for bugs@FreeBSD.org; Mon, 23 May 2022 21:47:20 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: bugs@FreeBSD.org Subject: [Bug 264193] Broken scrub max-mss Date: Mon, 23 May 2022 21:47:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: oleg@mamontov.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653342441; 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; bh=J1kQTnTF+dLIzMENG9rtNaEaHUNpHeutUoRUyDfoxm8=; b=rfBXTO+up9PS+mvooVzrAnSonECnmqtuWNR2RxD1jgExPPoBrxvvTGhLjK2OaSmUq5fyBo xFjUnAwdfmrSxmazgm4j0348YeDrbQHuZKKkn6ZVN3DvoEGFJpf6y8OJ0eefh2TXQ76nCz QiiV/wR/7kte05Vb4cEBGAwSJRjLPLpGdXnLZpWdpSk4mFFq0UaxRWwJ+9Y9+yHRajHxoK YmUazCrtGRldHg0Xa4kfiq6VhN0E83ioYT0t43I2RR0utOOHAGjWwQuULnGlgIBL6JwvWL h1BasLjQq+xVIzFMccn4X/wcfxVBL0gPGXrSuMEnaxFafMKHUZEn56nkjC9s/w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653342441; a=rsa-sha256; cv=none; b=c9w3cfZI41H2n/6sSBncfKsLdFNjkw0VnR+leMJwmfzJWktBEznRBo0/3TlLSs09IjH1k+ nWQEORRAdjgE0gm2RIjBhIHfJ7KHf4C9kytkC3c8E32wzc4MVZ3bihxfGS2qqPskmavPwd QbBJ350YdN/Jfw91/g4cp9HHurxAxj1ItJ4skoB7Y7PXFOrXp3NKxlQY6B4fz0neg6Zfa1 n+Aojy7OfZyvGG6D5ZqOY/WVl0SEHLvUbDPEWQFS9bpJ9e2TboqUvCgRG821ZgvF7N+/Ak Q1igkk3vrxJvbTfw5cO26sAMfJJrUz/KquN+AFYWLNK3zz6uWaWutV8XUeNofg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264193 Bug ID: 264193 Summary: Broken scrub max-mss Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: oleg@mamontov.net I use pf scrub feature for adjusting TCP MSS on policy routed via wireguard tunnel SMTP traffic: # pfctl -sr | grep scrub scrub on wg-ep proto tcp all max-mss 1380 fragment reassemble The rule suddenly stopped working after upgrading from 13.0-RELEASE-p11 to 13.1-RELEASE. Below is the result on 13.0 (works as expected): 12:10:48.016196 IP 212.109.198.23.465 > 192.168.24.44.56695: Flags [S.], seq 687795294, ack 3030165102, win 65535, options [mss 1380,nop,wscale 6,sackOK= ,TS val 4107107091 ecr 1376219825], length 0 But 13.1 shows that MSS remains intact (default for ethernet with mtu 1500): 11:52:23.910283 IP 212.109.198.23.465 > 192.168.24.44.55961: Flags [S.], seq 3877530257, ack 3326182804, win 65535, options [mss 1460,nop,wscale 6,sackO= K,TS val 2918817557 ecr 1485323373], length 0 However, matching counter is still increasing: # pfctl -vvsr | grep -A1 scrub @0 scrub on wg-ep proto tcp all max-mss 1380 fragment reassemble [ Evaluations: 1370 Packets: 38 Bytes: 1543 States: 0= =20=20=20=20 ] Downgrading to 13.0 fixes the behaviour again. --=20 You are receiving this mail because: You are the assignee for the bug.=