userspace ipfw and FreeBSD 10

Raimundo Santos raitech at gmail.com
Sun Feb 9 21:50:55 UTC 2014


Hello list!

There is a way to compile and use the userspace, netmap based, ipfw on top
of FreeBSD 10? I mean, to compile it without great dependencies (gmake is
one, may be GCC another).

Here is the output of a tentative, with netmap and VIMAGE inkernel:

root at fbsdserver:~/ipfw-user # gmake
Building userspace ...
gmake[1]: Entering directory `/root/ipfw-user/ipfw'
(cd ../objs; gmake -f ../Makefile.kipfw include_e)
gmake[2]: Entering directory `/root/ipfw-user/objs'
Building /root/ipfw-user/objs/../objs/include_e ...
gmake[2]: Leaving directory `/root/ipfw-user/objs'
   CC ipfw2.c
   CC dummynet.c
   CC main.c
   CC ipv6.c
   CC altq.c
   CC ../extra/glue.c

../extra/glue.c:181:36: error: comparison of unsigned expression < 0 is
always false [-Werror,-Wtautological-compare]
        if((oldlenp != NULL) && (*oldlenp < 0))
                                 ~~~~~~~~ ^ ~
1 error generated.
gmake[1]: *** [glue.o] Error 1
gmake[1]: Leaving directory `/root/ipfw-user/ipfw'
gmake: *** [ipfw] Error 2

Thank you all,
Raimundo


More information about the freebsd-net mailing list