From nobody Sun Oct 12 11:24:54 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 4ckynR6YK7z6Bm1C for ; Sun, 12 Oct 2025 11:24:59 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 4ckynR393tz3hBD for ; Sun, 12 Oct 2025 11:24:59 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 59CBOsHm002508; Sun, 12 Oct 2025 11:24:54 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 59CBOshN002507; Sun, 12 Oct 2025 04:24:54 -0700 (PDT) (envelope-from david) Date: Sun, 12 Oct 2025 04:24:54 -0700 From: David Wolfskill To: Tomoaki AOKI Cc: A FreeBSD User , FreeBSD CURRENT Subject: Re: ipfw: ipfw: Adding record failed: Inappropriate ioctl for device Message-ID: Mail-Followup-To: David Wolfskill , Tomoaki AOKI , A FreeBSD User , FreeBSD CURRENT References: <20251011155130.47db5448@thor.sb211.local> <20251012102907.06e49c52@thor.sb211.local> <20251012200733.ea68f87a1d22abb857249538@dec.sakura.ne.jp> 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; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="orG6MD4vcHa80Vms" Content-Disposition: inline In-Reply-To: <20251012200733.ea68f87a1d22abb857249538@dec.sakura.ne.jp> X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4ckynR393tz3hBD --orG6MD4vcHa80Vms Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 12, 2025 at 08:07:33PM +0900, Tomoaki AOKI wrote: > ... > The simplest approach would be to use temporary file, rather than pipe. >=20 > --=20 > Tomoaki AOKI Certainly -- as a circumvention for the change in behavior. (But note that when this is being done, not all file systems may yet be mounted.) It was in the process of implementing such a circumvention that I realized that I had a simple way to reproduce evidence of the problem. (Reminder: piping the commands to "/sbin/ipfw /dev/stdin" still works in stable/14, and has worked at least since 2008 -- (almost) certainly rather longer.) Peace, david --=20 David H. Wolfskill david@catwhisker.org See https://www.catwhisker.org/~david/publickey.gpg for my public key. --orG6MD4vcHa80Vms Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCaOuQBl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5X6yAQDKVSTALwVL/hl1NcjLug091F8Rja/J+sMeYoq60HMFnQD/SB2kCrRpDX7j g5SFEaYBWX4AV8cfQUzSVSvf2olwNwY= =IEX1 -----END PGP SIGNATURE----- --orG6MD4vcHa80Vms--