From nobody Wed Feb 07 23:37:28 2024 X-Original-To: pf@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 4TVc3Y16ntz58Kr3 for ; Wed, 7 Feb 2024 23:37:29 +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 4TVc3X6Xgvz4R2h for ; Wed, 7 Feb 2024 23:37:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707349048; 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=PmVJdqHj6bHRdlq8++Ls9mhZpdFddkxzHk/wVdEB1u8=; b=PcsPgMp/iDIfqfOEXOVolV7O06qK6iWVSp0Pz413fd9xPnybmGnOMhXv+nTFxzJNSblt3U 2yl7TI9d2zmyODS0EWtoq+a6Xm/S+k/AFGm1sw0ldQVqON9BuZuWdd4TBXiw/rcfWbh5KF N42G4BO18FSfRjQfiE4Y+3cEcD5nRHPJSJNISdbprMPZ0hLMXhtA78RfL6ntWvSvuSrQH4 c3vPtCzpRdBNdoSLC9rJpb7DJuhk6r91MHTwB3C18HcbHHQhTViguIL2PHHFN8e7ycQH0o zt/aWgoqIWBeAx8kWcsnp89Dl0LgYMG8xdUHXspcerNYOVdnlGoFswdoX8Lxcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707349048; a=rsa-sha256; cv=none; b=dTmCEpOUTYESQ7VSK0eNnKIm5KFoBYkM7odlJ0kt/6SYPvJ23haoyyvaLYkamWyBauzYUU +mOx7ePdCukEwgQpfy43Mxi+iNaDWYaJXzT5orc+HCmqEavfkneaZSUFFgOGd4p7MKqQya ucSL/UDTpDExjFW2Wdj/Pa9TaUebMeAAMKVM78zi0zkBbOsIFO/KthU0SfLqk9pJn/48s1 xduOJXCYQyxYIbuxOIz5YXtL/asLSgMsN6vYfvf69/oAApocJ6EJzA2G+/lNbz87/6dDtL r/HhLR2ur/IZZvL2zbm6FD/V4QUFBCJuUtJ1+fL9f+OdjLXbwOiV5MfRMSk/Kg== 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 4TVc3X5X9jzRPf for ; Wed, 7 Feb 2024 23:37:28 +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 417NbS0J016180 for ; Wed, 7 Feb 2024 23:37:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 417NbSOG016179 for pf@FreeBSD.org; Wed, 7 Feb 2024 23:37:28 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: pf@FreeBSD.org Subject: [Bug 276856] pf no longer re-assembles fragments by default Date: Wed, 07 Feb 2024 23:37:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michal.os@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pf@FreeBSD.org X-Bugzilla-Flags: 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: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276856 --- Comment #4 from Michal Scigocki --- (In reply to mgrooms from comment #3) What version of FreeBSD were you using where the default behaviour worked w= ith your IPSec flows? And before you added the "scrub fragment reassemble" config, did you have a= ny "scrub" statements in the config, or no "scrub" config statements? (In reply to Kajetan Staszkiewicz from comment #2) For FreeBSD 14.0, I think using "scrub" rules may be a work-around to a bro= ader issue. I think pf in 14.0 is not processing fragmented packets correctly. I tried another test, using an empty pf.conf (default pass rule). Monitoring the network interface with tcpdump, sending a large ping (2000 data bytes, = so it will fragment). With pf running, the ping REQUEST is captured on the interface, but the host does not REPLY. If I repeat this with pf stopped, I= get both REQUEST and REPLY. If I do the same test on 13.2 and 15.0, I get both REQUEST and REPLY with pf running. 14.0 is doing something different with the fragmented packets. --=20 You are receiving this mail because: You are the assignee for the bug.=