From nobody Sat Nov 18 12:01:51 2023 X-Original-To: freebsd-stable@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 4SXXSP2yr2z511hT for ; Sat, 18 Nov 2023 12:01:57 +0000 (UTC) (envelope-from void@f-m.fm) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4SXXSN4QDjz4RjR for ; Sat, 18 Nov 2023 12:01:56 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm1 header.b=m+MSylL7; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=CrfjXZWe; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 64.147.123.19 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id B6F2E320093B for ; Sat, 18 Nov 2023 07:01:54 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 18 Nov 2023 07:01:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1700308914; x=1700395314; bh=YuzbUXH8k0s1BkXI92ENr2V9c o1gf4ZJ7HsTGPiqICQ=; b=m+MSylL7m35MERNCWVkJlejIo0QAag/AhIhoTfNMO YExQjvSgKmEXKMCNvglbfwL/Uecr/oriCo5PjiaaQdmowDMCL+K1hFAOdF5fIn/5 K5PsPQO3+dPEypUtPdpTdVzRU4bW0lqeCpt6EBEIxR9adbpF9FfcMLyTGS+W0OSN 4m5NKFU0sVp8NokOaBSaXSBfYlYJ2WlIvzHkNWmAn5ONMXeLn8FuoRe4j5dvDW6y ETI9qK/6W0n0fqf/jmhiveH2yqezsmS0zZ5f356ddJ/TWf3jGs/1d7J1YhNupKpX L/8qpBZWBKYi3IMcsKB7/QsILC4pL51g4s5yy/Lgkfk4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700308914; x=1700395314; bh=YuzbUXH8k0s1BkXI92ENr2V9co1gf4ZJ7Hs TGPiqICQ=; b=CrfjXZWehXtQw15YknkhYZEvD9lcS+BgEMho1J5OE4CKap5vrA5 F2/JzrCwdfnQheaPnGBTM2y7PD2vL/0U80Lf8xC+g53hdxlmx9Ci+KIAkasq0rtE TS/GD/P0bzaaiTdd0Y3jl+ovZnmvNUwAadojpGXR5JDCwQrkHTJ6SO5mBPGK2Ha8 0w8HwhfVnNR1grnqnGx5D92L1uk7JEfU9DBf1n9U4RdMfoX03ijVxyVeklGn0MGX H/Gh5BwuldVRiWYiHD0iXvWBAjynwt4g/zhRlrlv8e9zS1G0wlUYYpmxTCn1vfyi eoVn0ER1pZPnQ/cxpFh3L9czWVYYJqCO45w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegvddgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd dtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgrthht vghrnhepveduffeivdfffffghfegfeejfefftdeiteehteekfefhvdefgfettdeuheegff eunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhho ihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 18 Nov 2023 07:01:53 -0500 (EST) Date: Sat, 18 Nov 2023 12:01:51 +0000 From: void To: freebsd-stable@freebsd.org Subject: pf is broken in stable/14-n265566-4533fa42ad91 arm64 Message-ID: Mail-Followup-To: freebsd-stable@freebsd.org List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-Spamd-Result: default: False [-4.97 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.970]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[64.147.123.19:from]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm1,messagingengine.com:s=fm1]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.19]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.19:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SXXSN4QDjz4RjR X-Spamd-Bar: ---- Hi, This context [1] was on stable/14-n265566 where pf worked fine. Source upgrade yesterday to stable/14-n265566 and pf is now broken. # service pf status /usr/src/sys/contrib/libnv/nvlist.c:379: Element 'halfopen_states' of type NUMBER doesn't exist. Abort trap (core dumped) To try and debug, I disabled all pf-related things in rc.conf and loader.conf, and tried to load things manually then apply a very basic pf config file /etc/pf.basic # kldload pf # # pfctl -nvf /etc/pf.basic ext_if = "genet0" block drop in all pass in on genet0 proto tcp from any to any port = ssh flags S/SA keep state pass out all flags S/SA keep state # pfctl -evf /etc/pf.basic No ALTQ support in kernel ALTQ related functions disabled ext_if = "genet0" pfctl: DIOCADDRULENV: Argument list too long When the problem was first identified, this appeared at the console on bootup: ### Nov 13 12:18:05 redacted kernel: Enabling pfpfctl: DIOCADDRULENV: Argument list too long Nov 13 12:18:05 redacted kernel: /etc/rc: WARNING: Unable to load /etc/pf.conf. Nov 13 12:18:05 redacted kernel: /etc/rc: WARNING: Loading fallback rules: block drop log all Nov 13 12:18:05 redacted kernel: pfctl: DIOCADDRULENV: Argument list too long Nov 13 12:18:05 redacted kernel: /usr/src/sys/contrib/libnv/nvlist.c:379: Element 'halfopen_states' of type NUMBER doesn't exist. Nov 13 12:18:05 redacted kernel: Abort trap (core dumped) Nov 13 12:18:05 redacted kernel: . Note the pfpfctl above [1] raspberry pi 4b+ 8GB --