Re: ipfw: ipfw: Adding record failed: Inappropriate ioctl for device

From: Andrey V. Elsukov <bu7cher_at_yandex.ru>
Date: Mon, 13 Oct 2025 09:38:51 UTC
On 11.10.2025 16:51, A FreeBSD User wrote:
> 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 the cause of this
> ioctl issue?

Hi, there is a patch that seems fixes the issue
	https://reviews.freebsd.org/D53050

Can you test it and make sure that the fix works for you?

-- 
WBR, Andrey V. Elsukov