NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ipfilter missing in most GENERIC kernels



On Sun, Nov 15, 2026 at 12:41:19PM +0100, Frank Wille wrote:
> # modstat | grep ipl
> ipl                        driver   filesys  a        0  305119 bpf_filter

"filesys" means it has been (auto-)loaded as a module.

If it is compiled into the kernel the SOURCE column would say "builtin".

This only works automatically on kernels where securelevel = -1
(sysctl kern.securelevel), which usually means options INSECURE in the
kernel config file.

You can prevent the auto-loading by putting kern.module.autoload=0
in /etc/sysctl.conf.

Martin


Home | Main Index | Thread Index | Old Index