Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2004 01:57:41 -0500 (EST)
From:      Barney Wolff <barney@pit.databus.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/74104: ipfw2/1 conflict not detected or reported, manpage unclear
Message-ID:  <200411190657.iAJ6vflU002735@pit.databus.com>
Resent-Message-ID: <200411190700.iAJ70nFX027069@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         74104
>Category:       kern
>Synopsis:       ipfw2/1 conflict not detected or reported, manpage unclear
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 19 07:00:49 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Barney Wolff
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Databus Inc.
>Environment:
System: FreeBSD pit.databus.com 4.10-STABLE FreeBSD 4.10-STABLE #1: Fri Nov 19 01:22:10 EST 2004 toor@pit.databus.com:/usr/obj/usr/src/sys/PIT i386


	
>Description:
	ipfw manpage for running ipfw2 under STABLE (RELENG-4) is not clear that
	kernel option IPFW2 is required along with IPFW2=TRUE in /etc/make.conf.
	The result is a system that appears to run but has no rules applied,
	because ipfw hangs and presumably the startup scripts never complete.
	There is no log entry indicating anything wrong.

>How-To-Repeat:
	add IPFW2=TRUE to /etc/make.conf without option IPFW2 in kernel conf.
>Fix:

	At the very minimum, clarify the manpage to indicate that the make.conf
	setting controls only world, not the kernel.  I at least was fooled,
	and I don't consider myself mentally challenged - although admittedly
	I should have taken the reference to buildworld as a hint.

	Beyond that, "it would be nice" if ipfw complained loudly on a mismatch
	between world and kernel conf.  Better, of course, would be a single
	flag to control both world and kernel, as there is no conceivable reason
	ever to want them out of sync.


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411190657.iAJ6vflU002735>