https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295395

            Bug ID: 295395
           Summary: ipfw: hard dependency on inet despite supporting both
                    ip famillies
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

I have come across an issue on a kernel built without INET where ipfw has a
hard dependency on it.

Kernel configuration:
include GENERIC
ident GENERIC-IPV6-ONLY
makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT="
nooptions INET
nodevice gre

Building ipfw manually and loading it yields the following in dmesg:
link_elf_obj: symbol ip_reass undefined

That means that systems which don't have ipv6-only capabilities are not able to
utilize ipfw to filter traffic.
I believe that ipfw should have a soft dependency on inet and spew errors when
trying to use inet rules when the module is not available.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to