Darren Reed wrote:
> Warren Welch wrote:
>> Darren Reed wrote:
>> > Is this to build IPFilter as an LKM or into the kernel?
>> Into the kernel.
>>
>> I've been following the instructions as per INSTALL.FreeBSD:-
>>
>> 1. make freebsd6  (Not in the file, but the Makefile references it,
>> so...)
>>
>> 2. make install-bsd
>>
>> 3. FreeBSD/kinstall
>>   
> ..
>
> I would try doing a "BSD/kupgrade" and then building the kernel.

[EMAIL PROTECTED] /tmp/ip_fil4.1.26]# BSD/kupgrade
Please do a build of ipfilter and then run the following
command to build extra files:

make ip_rules.c

After a kernel build:-

[EMAIL PROTECTED] ~]# ipf -V
ipf: IP Filter: v4.1.26 (416)
User/kernel version check failed
Kernel: IP Filter: v4.1.13
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 0
Feature mask: 0xa

So basically no go...

I then copied the contents of the ip_fil4.1.26 directory to
/sys/contrib/ipfilter/netinet/ and then did a kernel build:-

[EMAIL PROTECTED] ~]# ipf -V
ipf: IP Filter: v4.1.26 (416)
Kernel: IP Filter: v4.1.26
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 0
Feature mask: 0xa

Yes, that works, but it's WRONG...

Thoughts?

Thanks,

Warren

Reply via email to