From owner-freebsd-bugs Mon Sep 2 13:30:18 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 0B54737B401 for ; Mon, 2 Sep 2002 13:30:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBC9543E3B for ; Mon, 2 Sep 2002 13:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g82KU2JU029035 for ; Mon, 2 Sep 2002 13:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g82KU2on029034; Mon, 2 Sep 2002 13:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2913137B400 for ; Mon, 2 Sep 2002 13:26:39 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82AA043E6A for ; Mon, 2 Sep 2002 13:26:38 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g82KQcOT099622 for ; Mon, 2 Sep 2002 13:26:38 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g82KQcqE099621; Mon, 2 Sep 2002 13:26:38 -0700 (PDT) Message-Id: <200209022026.g82KQcqE099621@www.freebsd.org> Date: Mon, 2 Sep 2002 13:26:38 -0700 (PDT) From: Brian Candler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/42338: pccard_ether should run ipf -y if ipfilter is active 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: 42338 >Category: bin >Synopsis: pccard_ether should run ipf -y if ipfilter is active >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Sep 02 13:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Brian Candler >Release: FreeBSD-4.6.2-RELEASE >Organization: >Environment: >Description: For systems which use ipfilter, after inserting an interface it is necessary to run 'ipf -y' to resync its interface list. For example, pass in quick on wi0 from .... block in log all where wi0 is a pcmcia card: after a reboot all traffic is blackholed until you issue 'ipf -y'. It took me a while to work this out, since 'log' shows the packets being blocked even though they obviously match rules which should let them in :-) >How-To-Repeat: >Fix: I suggest a few lines are added to /etc/pccard_ether based on what rc.network does after adding ppp interfaces: .. set ipfilter_active if either ipfilter_enable or ipnat_enable=YES case ${ipfilter_active} in [Yy][Ee][Ss]) ${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null ;; esac >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message