Ok, I got it to compile.  I needed to do a 'make clean' and then
recompile before it would stop giving me the error message (ipfstat:
state top facility not compiled in).

However, it doesn't seem to be providing any information.  I read
through the documentation and I noticed that ipfstat -t may not be
available on all platforms.  I've had luck with the 3.x series of
ipfilter and ipfstat -t.  Has FreeBSD fallen out of the supported
platforms for ipfilter 4.1.3?

If not, what should I look at next?  Any recommendations would be
greatly appreciated.
 
Thanks,

Matthew Lee
[EMAIL PROTECTED]
http://www.rycan.com



-----Original Message-----
From: Matthew K. Lee 
Sent: Monday, September 13, 2004 3:01 PM
To: '[EMAIL PROTECTED]'
Subject: RE: ipfstat -t

I've also installed ncurses from the ports collection, and changed the
following values in the make file:

STATETOP_INC=-I/usr/local/include
STATETOP_LIB=-L/usr/local/lib -lncurses

Following the previously mentioned steps, I get the same error message.

Thanks,


Matthew Lee

-----Original Message-----
From: Matthew K. Lee 
Sent: Monday, September 13, 2004 2:15 PM
To: [EMAIL PROTECTED]
Subject: ipfstat -t

To anyone who can assist:

I've tried to compile ipfilter-4.1.3 on FreeBSD 4.10 with the ipfstat -t
feature.  To do so, I've modified the Makefile and it now looks like
this:

<snipped> 

#
# Uncomment the next 3 lines if you want to view the state table a la
top(1)
# (requires that you have installed ncurses).
STATETOP_CFLAGS=-DSTATETOP
#
# Where to find the ncurses include files (if not in default path),
#
#STATETOP_INC=
#STATETOP_INC=-I/usr/local/include
STATETOP_INC=-I/usr/include
#
# How to link the ncurses library
#
#STATETOP_LIB=-lncurses
#STATETOP_LIB=-L/usr/local/lib -lncurses
STATETOP_LIB=-L/usr/lib -lncurses

</snipped>

I do the following steps to build ipfilter into the kernel:

make freebsd4
make install-bsd
make BSD/kupgrade

and I then do the following to rebuild the kernel.

re-config the kernel
make depend 
make 
make install

Everything compiles, with a few warnings about in-line functions.  When
I reboot and check ipfstat -t, I get the following message:

ipfstat: state top facility not compiled in

Have I forgotten a step in the process?  Any help would be appreciated.


Thanks,

Matthew Lee


Here's ipfilter's version info:

ipf: IP Filter: v4.1.3 (396)
Kernel: IP Filter: v4.1.3
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 0
Feature mask: 0xa


Reply via email to