ipfw segfaults on 4.9-STABLE (??)
Russell Sutherland
russ at madhaus.cns.utoronto.ca
Wed Oct 29 10:51:01 PST 2003
* Andy Gilligan (andy at glbx.net) [28 Oct 2003 19:35]:
> > obfleur# ipfw show
> > Segmentation fault
> >
> > Seems we managed to enable ipfw2 in the config file, but this shouldn't
> > segfault ipfw should it?
> >
> > bash-2.05b# uname -ar
> > FreeBSD obfleur 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Oct 27 22:06:20 CET
> > 2003 root at obfleur:/usr/obj/usr/src/sys/OB i386
> >
> > Anyone seen this? :)
> >
>
> I've seen it happen when /sbin/ipfw hasn't been compiled with IPFW2 support
> and the kernel has. (and probably vice-versa)
>
> # cd /usr/src/sbin/ipfw/
> # make -DIPFW2 clean all install
>
> Should hopefully cure the segfault.
I've seen this recently as well...
And confirmed that the proper action to do is:
# cd /usr/src/sbin/ipfw/
# make -DIPFW2 clean all install
Or perhaps editting /etc/defaults/make.conf:
CFLAGS="-DIPFW2"
--
Russell P. Sutherland Email: russ @ madhaus.cns.utoronto.ca
4 Bancroft Ave., Rm. 102 Voice: +1.416.978.0470
University of Toronto Fax: +1.416.978.6620
Toronto, ON M5S 1C1 WWW: http://madhaus.cns.utoronto.ca/~russ
CANADA
More information about the freebsd-stable
mailing list