On Fri, 20 Dec 2002, Vallo Kallaste wrote: > On Fri, Dec 20, 2002 at 08:30:42AM -0800, Terry Lambert > <[EMAIL PROTECTED]> wrote: > > > Vallo Kallaste wrote: > > > On Thu, Dec 19, 2002 at 08:46:44PM -0800, Sam Leffler > > > <[EMAIL PROTECTED]> wrote: > > > > > #ifndef PFIL_HOOKS #error "You must specify PFIL_HOOKS when > > > > > using ipfilter" #endif > > > > > > > > > > Unfortunately there's no way that I know to express this if > > > > > ipfilter is loaded as a module. > > > > > > > > Duh, there'll probably be unresolved symbols if you try to > > > > load ipl.ko w/o PFIL_HOOKS defined in the kernel. > > > > > > Yes, and this "undefined symbols" message will make no sense > > > from user perspective. > > > > > > Then fix it. The fix is trivial: > [description of possible fix snipped] > > As I've stated several times and as you most certainly know I'm not > developer. What are you trying to accomplish by the phrase "then fix > it"? Put me down, eh? > I have encountered this problem several times and for the first time > the message about unresolved symbol(s) made no sense and forced me > to do time consuming searches over the 'Net to get a clue what's > going on. Will we want to get possible users using FreeBSD or will > we want argue about it to death? The users get bored and move on, > that's it. >
Unfortunately nobody cares to look into PR database (conf/44576) In case PFIL_HOOKS really slows IP processing I don't mind keeping this out of GENERIC, however it should be noted in UPDATING and release notes. I did not do any time consuming searches the first time I tried to load ipl.ko, but I've spent some time reading NOTES before upgrading to -CURRENT and I am using IP Filter for about three years now on Solaris and FreeBSD (thanks, Darren). IMHO GENERIC is not supposed to be fast, but to be useable out-of-the box. Bringing in PFIL_HOOKS with the appropriate comment about things being more complicated and slow will ease 4.0->5.0 upgrade and do not prevent someone from building custom kernel without it. Sincerely yours, Sergey Mokryshev. -- Sergey S. Mokryshev <[EMAIL PROTECTED]> SMP453, MOKR-RIPN To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message