Dear mailing list,
I seem to have messed up ipfilter on my FreeBSD6.2. The steps I've done
is summarized as follows:
1. Upgraded server to FreeBSD6.2 everything working fine including
ipfilter 13.
2. Noticing OOW entries in the ipfilter logs I asked this mailing list
and got suggestions on how to fix.
3. Downloading ipfilter 19 and making it following the instructions in
INSTALL.FreeBSD for kernel. On the question about patching
/usr/src/sys/i386/i386/conf.c I changed this to be
/usr/src/sys/i386/i386/autoconf.c.
4. Attempted make buildkernel, broke with error.
5. Saved kernel config, deleted /usr/src, csupped /usr/src back. Made
kernel and installed kernel. Running ipf -V after reboot tells me I have
different versions in userland than in kernel and machine can't access
network.
6. Decided to ask this mailing list about the next step. The version
displayed as installed in userland is 18 and the version in kernel is 13.
I presume the 18 is the one I downloaded and attempted to make in step
3(?). How can this version still exist after making a new kernel? The
steps I was following in 3 were the steps to add ipfilter to the kernel,
ie the latter part of the text-file INSTALL.FreeBSD below where it says
"To build a kernel with the IP filter, follow these steps:".
Why would it display version 18 when it was the 19 I downloaded?
More important though, how do I fix this? Can I simply do make deinstall
from the 19 source or do I have to manually remove binaries from
userland? I would like to proceed with caution from this point and not
break anything else.
Grateful for any help,
Greetings
/Roger