recompiling ipfw source-code

Sami Halabi sodynet1 at gmail.com
Tue Oct 23 13:15:34 UTC 2012


Hi,
that would work only if you didn't cmpile IPFW into kernel.

after you finish compile & install the module you'll need to reload the
module (maybe kldunload ipfw and then kldload ipfw & after that load the
rules -if default to deny)

Cheers,
Sami


On Tue, Oct 23, 2012 at 3:10 PM, M. V. <bored_to_death85 at yahoo.com> wrote:

> hi Andrey,
>
> that did work. thank you so much for your quick reply.
>
>
> Cheers.
>
>
>
>
> >________________________________
> > From: Andrey V. Elsukov <bu7cher at yandex.ru>
> >To: M. V. <bored_to_death85 at yahoo.com>
> >Cc: freebsd-ipfw <freebsd-ipfw at freebsd.org>
> >Sent: Tuesday, October 23, 2012 12:30 PM
> >Subject: Re: recompiling ipfw source-code
> >
> >On 23.10.2012 12:46, M. V. wrote:
> >> hi everybody,
> >>
> >> I'm trying to make some changes in ipfw code. but my problem is, when
> >> i make a change in ipfw code in "/usr/src/sys/netinet/ipfw" , this
> >> folder doesn't have any Makefile, and i have to compile "/usr/src"
> >> instead, which takes a lot of time (almost 20 minutes everytime i try
> >> to compile), and this makes what i'm trying to do almost impossible.
> >>
> >>
> >> so i wanted to ask, does anyone know an easier or quicker way to
> >> compile ipfw (/usr/src/sys/netinet/ipfw), or maybe a simpler Makefile
> >> or a shell to do this.
> >
> >You can build only ipfw kernel module from the /usr/src/sys/modules/ipfw.
> >
> >--
> >WBR, Andrey V. Elsukov
> >
> >
> >
> _______________________________________________
> freebsd-ipfw at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"
>



-- 
Sami Halabi
Information Systems Engineer
NMS Projects Expert
FreeBSD SysAdmin Expert


More information about the freebsd-ipfw mailing list