From nobody Sat Oct 11 13:51:15 2025 X-Original-To: freebsd-current@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 4ckQ5Z2tYxz6Bw9l for ; Sat, 11 Oct 2025 13:52:02 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [IPv6:2001:1640:5::8:31]) (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 4ckQ5Y285Gz48Gr for ; Sat, 11 Oct 2025 13:52:01 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=aqAGOGdr; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@walstatt-de.de designates 2001:1640:5::8:31 as permitted sender) smtp.mailfrom=freebsd@walstatt-de.de Received: from hub2.goneo.de (hub2.goneo.de [IPv6:2001:1640:5::8:53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp6.goneo.de (Postfix) with ESMTPS id F2BE6240F0E for ; Sat, 11 Oct 2025 15:51:52 +0200 (CEST) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id BCE7C240305 for ; Sat, 11 Oct 2025 15:51:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1760190710; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=yZ6wqRS5jl3W1V5CJsozGAaJOT5Os0JQg5TwEu6xYl4=; b=aqAGOGdrFk0J+igiob7qv3nLp/Bk2hu/4uYf4NoWnu3safVAznB1PLHf+TjKHYYuFvaIRy U7IDod5EMlngTkWaZLqQmuyq1FnSvOHqqHkxzFnDkTw43wkc4j9b5GIHcmV8zKX0MfJ1mn HaldNYKzkpSDC+nmCGY0zUEmp/zQebM2w1KbzYKQwmYKrXJMPCvvf7fQM7lW0PUfL2i3Aw fRBomztUUsN0NcRKLbmwZRTLKMuf+Z59HLgN2aPZ2e5oI1ztaUSFPnjAovhStDxYz2B+/0 NkpRaeYAdbtY6xdfqE+liOnJCTtT2ee4QuzmCRh6czGSp2vmvkXglceD31eKGw== Received: from thor.sb211.local (dynamic-2a02-3100-2fd7-3302-56cf-48b7-0e35-841a.310.pool.telefonica.de [IPv6:2a02:3100:2fd7:3302:56cf:48b7:e35:841a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 66849240116 for ; Sat, 11 Oct 2025 15:51:48 +0200 (CEST) Date: Sat, 11 Oct 2025 15:51:15 +0200 From: A FreeBSD User To: FreeBSD CURRENT Subject: ipfw: ipfw: Adding record failed: Inappropriate ioctl for device Message-ID: <20251011155130.47db5448@thor.sb211.local> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/Xcvp1nzYlJ.+UHJSMPYJyyU"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: 2cb7a5 X-Rspamd-UID: 6b8526 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.58 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.976]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:1640:5::8:0/112]; DMARC_NA(0.00)[walstatt-de.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[walstatt-de.de:+] X-Rspamd-Queue-Id: 4ckQ5Y285Gz48Gr --Sig_/Xcvp1nzYlJ.+UHJSMPYJyyU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, running a small home brewn firewall appliance based upon FreeBSD 14-STABLE= and IPFW, I switched the base to 15-STABLE (FreeBSD 15.0-STABLE #5 n280665-6eb4708a84d7= : Sat Oct 11 09:08:00 CEST 2025 amd64). Now I face a serious issue with formerly flawless running skripts filling i= pfw tables and the readynes of the system after a reboot. tables: creating some named tables. Having a list of IPv4 and IPv6 addresses that needed to be blocked, like Vo= IP Blacklist with over 35k lines. Each line (IPv4) is=20 X.X.X.X/CIDR Shell is /bin/sh. Reading the file and filling the table like shown below; tbl_block=3Dfoo #/usr/bin/env sh ipfw table $tbl_block create type addr or-flush while read -r line do ipfw table $tbl_block atomic add $line done < /some/path/to/block_file.txt The block_file.txt looks like [...] 45.143.220.228/32 68.64.211.117/32 113.141.70.204/32 77.247.110.245/32 103.211.36.18/32 156.96.63.238/32 185.53.88.2/32 185.53.88.14/32 52.8.201.128/32 113.141.70.184/32 115.236.54.2/32 50.17.48.216/32 77.247.108.138/32 77.247.110.216/32 171.76.62.142/32 77.247.110.227/32 62.4.15.163/32 158.69.242.200/32 185.53.88.129/32 102.165.39.82/32 103.231.139.130/32 69.142.172.14/32 148.76.71.148/32 82.70.244.121/32 77.247.109.72/32 52.41.52.34/32 [...] While running the skript, each time an address is picked up and inserted to= the table, I see this on the console: [...] added(reverted): 45.143.220.228/32 0 ipfw: Adding record failed: Inappropriate ioctl for device added(reverted): 68.64.211.117/32 0 ipfw: Adding record failed: Inappropriate ioctl for device added(reverted): 113.141.70.204/32 0 ipfw: Adding record failed: Inappropriate ioctl for device added(reverted): 77.247.110.245/32 0 ipfw: Adding record failed: Inappropriate ioctl for device I never saw this happen on 14-STABLE with the very same scripts. What is th= e cause of this ioctl issue? Thanks and kind regards, Oliver --=20 A FreeBSD user --Sig_/Xcvp1nzYlJ.+UHJSMPYJyyU Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaOpg7gAKCRCxzvs8Oqok r2hWAQDcWAat8Fw45XTZUirXDHO/nBxI4hNEqzEKJqbjXGPaMQD/bln7QvjwC8gI Cc2JzfQxaTR9uCUsT1Az36bGou+LEwo= =g2uK -----END PGP SIGNATURE----- --Sig_/Xcvp1nzYlJ.+UHJSMPYJyyU--