How to reproduce bug:
Installing clean version 12.0
When included in rc.conf:
ipfilter_enable = "YES"
IPFILTER does not start.
Reports a kernel/user version mismatch.
That is, with a default installation, IPF/IPNAT is not working.
Include options in the kernel config:
and rebuilding the kernel treats rakes.
However, rebuilding the kernel also requires rebuilding the world, or at least ipf/ipnat
That is, the installation image contains a mismatch between the kernel assembly and the environment in advance.
@Reporter Can you provide the following additional information please:
- uname -aK output
- any relevant logs from /var/log/message (as an attachment)
- output of /var/run/dmesg.boot (as an attachment)
Created attachment 207231 [details]
Created attachment 207232 [details]
# uname -aK
FreeBSD test 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 1200086
# ipf -Fa -f /etc/ipf.rules
open device: No such file or directory
User/kernel version check failed
# ipnat -CF -f /etc/ipnat.rules
/dev/ipnat: open: No such file or directory
Did you build from scratch or install the ISO?
Fresh install from ISO DVD 12.0 amd64
It's obvious this is not a fresh install as you included IPFILTER in the kernel and rebuilt the kernel. This is not a fresh install as it has been modified by you.
List your whole kernel config file.
Manually loading the module solves the problem.
# kldload ipl.ko