Re: ipfw Kernel Module - Default to Accept?



At Tue, 30 May 2006 09:04:09 -0700,
Drew Tomlinson wrote:
I'm using FBSD 6.1. When using the ipfw kernel module, is it possible
to get ipfw loaded in a "default to accept" mode? I've seen the
kernel option to enable this when compiling statically but nothing
specific to the kernel module. Maybe there's a way to compile the
kernel module with some entry in /etc/make.conf? I've Googled but
have not been able to turn up anything.

you can recompile the module, uncomment the line

#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT

in /usr/src/sys/modules/ipfw/Makefile. next call make in the same
directory and copy the compiled module to /boot/kernel. i've done that
in the past, works like a charm.

hth,
toni
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: ipfw Kernel Module - Default to Accept?
    ... kernel option to enable this when compiling statically but nothing ... specific to the kernel module. ...
    (freebsd-questions)
  • Re: Inserting code from userspace to kernel space
    ... I'm looking for a way to insert code from user space to the kernel ... Process of compiling kernel module is quite ...
    (Linux-Kernel)
  • Re: error, missing dependency, and its the kernel
    ... yum error about trying to update something like an nvidia kernel module ... compiling against a customised Fedora kernel, ...
    (Fedora)
  • Getting no sound from ALSA under 2.6.7
    ... I finally decided it was time to upgrade to the 2.6 kernel. ... Has anybody got ALSA working with the alsa-base and alsa-utils currently ... First I tried compiling most stuff into the kernel, ... hear a lot of noise on the speakers. ...
    (Debian-User)
  • Re: FreeBSD 5.1-Release freezes
    ... if I run with this kernel the ... > make installkernel KERNCONF=SOCKETD) ... Try compiling options MAC_DEBUG into your ... If you have DDB compiled into the kernel (which you probably will ...
    (freebsd-current)