From nobody@FreeBSD.org  Mon Oct 28 13:05:06 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 797E537B401
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Oct 2002 13:05:06 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5212143E3B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Oct 2002 13:05:02 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9SL4r7R091844
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 28 Oct 2002 13:04:53 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9SL4rr2091843;
	Mon, 28 Oct 2002 13:04:53 -0800 (PST)
Message-Id: <200210282104.g9SL4rr2091843@www.freebsd.org>
Date: Mon, 28 Oct 2002 13:04:53 -0800 (PST)
From: Sergey Mokryshev <mokr@mokr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: IPFilter in FreeBSD-5 can't be dynamically loaded without 'options PFIL_HOOKS' in kernel 
X-Send-Pr-Version: www-1.0

>Number:         44576
>Category:       conf
>Synopsis:       IPFilter in FreeBSD-5 can't be dynamically loaded without 'options PFIL_HOOKS' in kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 28 13:10:02 PST 2002
>Closed-Date:    Mon Jan 20 10:52:33 PST 2003
>Last-Modified:  Mon Jan 20 10:52:33 PST 2003
>Originator:     Sergey Mokryshev
>Release:        FreeBSD-5
>Organization:
Tersys
>Environment:
FreeBSD amber.mokr.net 5.0-CURRENT FreeBSD 5.0-CURRENT #17: Mon Oct 28 10:26:15 MSK 2002 mokr@amber.mokr.net:/.1/a/obj/.1/a/src/sys/AMBER_UP  i386

>Description:
IPFilter on FreeBSD-5 can't be dynamically loaded without  PFIL_HOOKS option in kernel. It will break upgrades from FreeBSD-4, where ipfilter modules can be loaded dynamically without any kernel options.

# PFIL_HOOKS enables an abtraction layer which is meant to be used in
# network code where filtering is required.  See the pfil(9) man page.
# This option is a subset of the IPFILTER option.


This option adds a very little piece of code. Please include this option in GENERIC kernel (it is also possible to remove this option in dokern.sh to reduce kernel size)

>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Mon Jan 20 10:50:07 PST 2003 
State-Changed-Why:  
Duplicate of kern/46226. I prefer to close this one because kern/46226 
consists a patch. Have no idea how useful it is though. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44576 
>Unformatted:
