From nobody Thu Jan 25 21:46:42 2024 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 4TLZCk6bTxz5867p for ; Thu, 25 Jan 2024 21:46:42 +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 4TLZCk4m2Zz4ZS6 for ; Thu, 25 Jan 2024 21:46:42 +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=1706219202; 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=5sPvye+CnBgXkusHIr2XWDPfsERN4N+4WVeEjR45WfE=; b=uvY/FQW3ge8Nc7ByaIKSCcIuhoIYbEytoQLhKvN76o9mwAnm+f7x1HrfVkkYt3cptMKa1G 66UlIx1oeJdMAnKsnlaCVTtDh5dgwOJek8dooBLyuSJM3Ne5PoGk+2urTGcqWmOowPjE5i ew2zEG6ue0m/JkYliBZ/IBReDmQFdYTHOofnB+ivermrnrPojJUwlONVSDcbnTWdRpEPZx atnnh0EBMgunLAIBnqGo2Wagu5Z3NgW33QgewxVlnYX6RVnj7G0kNjti4/QeHOZ+uLr1rt pyDGkh81iA46meWjBmWHN4Up44YCA0qmQi1jfw8dnyyeHJ3RoXgVUx/Y3quEiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706219202; a=rsa-sha256; cv=none; b=tG2DdWUQWmXpbejUEbAx0lmgCUrqWE+2/1/ihzEmYtYmNDC/r2W0QBHRSkXJ0m8Qp2iZkt MYAnS6D/W2Gx/KzfrRx2MtstxPrfhbWlQkgSpk26t3biQDYDZF5i0kBTcTCrzvnj6QE3GU tRuRprYL0XdPwKWbjlegFeRaOzGPPSjcPjeRAFA/222eLLiV68DyIhIxdfCIQZtMEHR/Sm EBd3owPIlz/tPsTnI9zg/Ab+EmpSqg/Uw5MTUIJ0TFugnT3H4Kca3zcS5CyKmPXL0eFkVk bOBLi2JtX6f1JzbUlmHzYzHWN6QTzoOTi7jW19QyRTAue7mTmJa2/srITgEwgg== 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 4TLZCk3k1KzF7j for ; Thu, 25 Jan 2024 21:46:42 +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 40PLkg93087678 for ; Thu, 25 Jan 2024 21:46:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40PLkg5u087677 for bugs@FreeBSD.org; Thu, 25 Jan 2024 21:46:42 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 276619] pfsync not synching all states from system running 13.2 to system running 14.0 (pfsync0 set to version 1301) Date: Thu, 25 Jan 2024 21:46:42 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lee@perftech.com 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 attachments.created 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276619 Bug ID: 276619 Summary: pfsync not synching all states from system running 13.2 to system running 14.0 (pfsync0 set to version 1301) Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lee@perftech.com Created attachment 247961 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247961&action= =3Dedit pfsync error messages from /var/log/messages I have two parallel firewalls using PF and CARP. I use pfsync to keep the s= tate table synchronized between them. Under normal conditions, the first system (fw1) runs with CARP as master while the second system (fw2) runs with CARP= as backup. This configuration has worked well for years on FreeBSD 13.2 and earlier. Forcing fw1 into backup mode provides a smooth transition. On Monday I upgraded fw2 to 14.0 but left fw2 on 13.2. Both systems appear = to perform correctly in terms of packet filtering. Since the upgrade, though, = fw2 is receiving only about 1/2 to 1/3 of the PF states from fw1 via pfsync. For example, at this moment fw1 (currently the CARP master) has 135,241 entries= in the PF state table while fw2 has only 57,263. Previously these were always = in lockstep with each other. Per the note about the pfsync version level in the 14.0 release notes, I configured the pfsync0 interface on fw2 to version 1301 by adding pfsync_ifconfig=3D"version 1301" to /etc/rc.conf, and verified the setting = was applied using ifconfig after rebooting. If I increase the PF debug log severity from urgent to misc on fw2, I see a= lot pfsync error messages such as "kernel: pfsync_in_ins: invalid value", "kern= el: pfsync_input: PFSYNC_ACT_UPD: invalid value", and "kernel: pfsync_state_imp= ort: unknown interface:". The interface name in the latter message is usually em= pty, but sometimes contains unprintable characters. I'm attaching a log snippet = with these messages. --=20 You are receiving this mail because: You are the assignee for the bug.=