From owner-freebsd-bugs Sun Dec 8 10:20: 4 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BE6837B401 for ; Sun, 8 Dec 2002 10:20:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37A1143EBE for ; Sun, 8 Dec 2002 10:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB8IK2x3043365 for ; Sun, 8 Dec 2002 10:20:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB8IK2bH043364; Sun, 8 Dec 2002 10:20:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C23D037B401 for ; Sun, 8 Dec 2002 10:11:28 -0800 (PST) Received: from bifrost.lyngbol.dk (bifrost.lyngbol.dk [193.162.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E894643EA9 for ; Sun, 8 Dec 2002 10:11:27 -0800 (PST) (envelope-from lyngbol@bifrost.lyngbol.dk) Received: from bifrost.lyngbol.dk (localhost [127.0.0.1]) by bifrost.lyngbol.dk (8.12.6/8.12.6) with ESMTP id gB8IBQ1x009347 for ; Sun, 8 Dec 2002 19:11:26 +0100 (CET) (envelope-from lyngbol@bifrost.lyngbol.dk) Received: (from lyngbol@localhost) by bifrost.lyngbol.dk (8.12.6/8.12.6/Submit) id gB8IBPOd009346; Sun, 8 Dec 2002 19:11:25 +0100 (CET) Message-Id: <200212081811.gB8IBPOd009346@bifrost.lyngbol.dk> Date: Sun, 8 Dec 2002 19:11:25 +0100 (CET) From: Michael Lyngbøl Reply-To: Michael Lyngbøl To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/46103: /etc/rc.d/ipfilter; ipfilter_start() need to enable ipfilter Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46103 >Category: conf >Synopsis: /etc/rc.d/ipfilter; ipfilter_start() need to enable ipfilter >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 08 10:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Michael Lyngbøl >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD bifrost 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Fri Dec 6 23:56:04 CET 2002 lyngbol@bifrost:/usr/src/sys/i386/compile/BIFROST i386 >Description: /etc/rc.d/ipfilter need to enable ipfilter in ipfilter_start(). Elseway a `/etc/rc.d/ipfilter restart' will disable ipfilter but not enable it again. /etc/rc.d/ipfilter does work on boot as a kernel compiled with 'options IPFILTER' enables ipfilter. >How-To-Repeat: Run `/etc/rc.d/ipfilter restart' or do `/etc/rc.d/ipfilter stop' and `/etc/rc.d/ipfilter start' >Fix: --- /tmp/ipfilter Sat Dec 7 00:13:53 2002 +++ /etc/rc.d/ipfilter Sat Dec 7 00:14:33 2002 @@ -79,7 +79,7 @@ echo "Enabling ipfilter." case ${OSTYPE} in FreeBSD) - ${ipfilter_program:-/sbin/ipf} -Fa + ${ipfilter_program:-/sbin/ipf} -E -Fa if [ -r "${ipfilter_rules}" ]; then ${ipfilter_program:-/sbin/ipf} \ -f "${ipfilter_rules}" ${ipfilter_flags} >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message