ipfw2
Michael Sierchio
kudzu at tenebras.com
Mon Sep 15 10:35:03 PDT 2003
Sean Hafeez wrote:
> I am having a hard time figuring something out about IPFW2. I am
> currently using a built of 4.8 with IPFW and DUMMYNET as a rateshapping
> router. I have tried to build a kernel with the IPFW2 options but then I
> seem to have issues with using DUMMYNET. The ipfw pipe comments give
> errors and core dumps. Am I missing something?
USING IPFW2 IN FreeBSD-STABLE
ipfw2 is standard in FreeBSD CURRENT, whereas FreeBSD STABLE still uses
ipfw1 unless the kernel is compiled with options IPFW2, and /sbin/ipfw
and /usr/lib/libalias are recompiled with -DIPFW2 and reinstalled (the
same effect can be achieved by adding IPFW2=TRUE to /etc/make.conf before
a buildworld).
# echo "IPFW2= YES" >> /etc/make.conf
# cd /usr/src/lib/libalias
# make clean && make && make install && make clean
# cd /usr/src/sbin/ipfw
# make clean && make && make install && make clean
--
"Well," Brahma said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent man requires only two thousand five hundred."
- The Mahabharata
More information about the freebsd-ipfw
mailing list