From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 25 10:30:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F07F41065670 for ; Fri, 25 Jun 2010 10:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B21358FC18 for ; Fri, 25 Jun 2010 10:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o5PAU1Dl090138 for ; Fri, 25 Jun 2010 10:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5PAU1XU090134; Fri, 25 Jun 2010 10:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 25 Jun 2010 10:30:01 GMT Resent-Message-Id: <201006251030.o5PAU1XU090134@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vitezslav Novy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 716F2106564A for ; Fri, 25 Jun 2010 10:22:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 604AD8FC0C for ; Fri, 25 Jun 2010 10:22:39 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o5PAMc2n024358 for ; Fri, 25 Jun 2010 10:22:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o5PAMcqD024357; Fri, 25 Jun 2010 10:22:38 GMT (envelope-from nobody) Message-Id: <201006251022.o5PAMcqD024357@www.freebsd.org> Date: Fri, 25 Jun 2010 10:22:38 GMT From: Vitezslav Novy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/148137: call order of natd and ipfw startup scripts X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 10:30:03 -0000 >Number: 148137 >Category: misc >Synopsis: call order of natd and ipfw startup scripts >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 25 10:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Vitezslav Novy >Release: 8.1-PRERELEASE >Organization: >Environment: FreeBSD vn.chello.upc.cz 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #2: Thu Jun 24 10:46:33 CEST 2010 rumik@vn.chello.upc.cz:/usr/obj/usr/src/sys/GENERIC i386 >Description: >From 8.0-RELEASE ipfw startup script doesn't call natd startup script. Also there is no information about call order of ipfw a natd startup script. On my system ipfw is called before natd. If ipdivert module is not loaded using loader.conf, natd loads it, but ipfw running before fail to install divert rules. >How-To-Repeat: Configure "open" type ipfw with userland natd and do not configure loading of ipdivert in loader.conf. Use GENERIC kernel (without ipfw compiled in). After reboot divert rules are not installed. >Fix: Define right order (natd, ipfw) of startup scripts or load ipdivert module in ipfw startup script if natd_enable="YES" >Release-Note: >Audit-Trail: >Unformatted: