> I downloaded bpf-1.2a1 tarball file and read the INSTALL file. It says
> add the line " pseudo-device bpfilter 16" to the kernel config file.
Cool. You could have 16 processes listen to the NIC in promisc mode at the
same time ;-)
4 is more than enough IMHO...
Quote:> Which kernel config file does it refer to ?? Is it the file
> kernel.config in / dir ??? ...
No, it refers to the kernel config file in
...and read the handbook-section covering "building your own kernel" or so.
It's easy. It worked for me the first time I tried it - and I had never
ever before compiled a kernel. Not on linux, not on bsd.
It's much much simpler than on linux, IMHO.
Quote:> I read the INSTALL file and a bit confused. It says that I need kernel
> source for the network drivers I wish to support and blah blah blah ....
> Isn't the bpf.h already there in /usr/include/net/ ... also and I do not
> have the /sys/<machine>/conf.c on my machine since I do not install the
> sources during the installation .... where can I get this conf.c file ..
> from the src from the CD ???
If you haven't installed the kernel-sources, you'd have to do that now, before
actually being able to compile your kernel.
I haven't post-installed a distribution-package after the actual install,
but I know it's possible.
Quote:> In short why I need to make bpf0 again since bpf0 is there in /dev ???
Well, the device may be there, but there is no logic to deal with it in
> > try adding something like:
> > "pseudo-device bpfilter 4"
> > to your kernel configuration.
Rainer Duffner , Konstanz, Germany
Most Intelligent Customers Realize:
Our Software Only Fools *agers