Date: Mon, 7 Jun 2004 01:22:01 +0400 (MSD) From: Sergey Mokryshev <mokr@mokr.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/67636: ipl.ko (ipfilter kernel module) should honour NOINET6 Message-ID: <200406062122.i56LM1Av017153@amber.mokr.net> Resent-Message-ID: <200406062130.i56LUSU8024097@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 67636 >Category: kern >Synopsis: ipl.ko (ipfilter kernel module) should honour NOINET6 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 06 14:30:25 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Sergey Mokryshev <mokr@mokr.net> >Release: FreeBSD 5.2-CURRENT i386 >Organization: Tersys >Environment: System: FreeBSD amber.mokr.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Apr 13 18:37:58 MSD 2004 mokr@amber.mokr.net:/.1/a/obj/.1/a/src/sys/xSMP686 i386 >Description: Inability to use ipfilter module (ipl.ko) with custom kernels w/o INET6 # kldload ipl kldload: can't load ipl: No such file or directory # dmesg|tail -1 link_elf: symbol in6_cksum undefined >How-To-Repeat: Remove INET6 from kernel configuration file, recompile and install new kernel, "kldload ipl" >Fix: Honour NOINET6 in module build. --- /tmp/Makefile Mon Jun 7 01:06:13 2004 +++ src/sys/modules/ipfilter/Makefile Mon Jun 7 01:12:13 2004 @@ -6,11 +6,12 @@ SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \ ip_log.c ip_fil.c fil.c +.if !defined(NOINET6) CFLAGS+= -DUSE_INET6 +.endif CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DPFIL_HOOKS # -# If you don't want IPv6 functionality remove -DUSE_INET6 # If you don't want log functionality remove -DIPFILTER_LOG # >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406062122.i56LM1Av017153>