From nobody@FreeBSD.org  Mon Sep  2 13:26:39 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 2913137B400
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <B.Candler@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pccard_ether should run ipf -y if ipfilter is active
X-Send-Pr-Version: www-1.0

>Number:         42338
>Category:       bin
>Synopsis:       pccard_ether should run ipf -y if ipfilter is active
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 02 13:30:02 PDT 2002
>Closed-Date:    Mon Jan 10 18:01:08 MST 2005
>Last-Modified:  Mon Jan 10 18:01:08 MST 2005
>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:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Jul 12 17:01:15 PDT 2003 
Responsible-Changed-Why:  
Assign to pccard maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42338 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Mon Jan 10 17:57:35 MST 2005 
State-Changed-Why:  
pccard_ether doesn't support firewalls.  I'm not sure that it is the 
right place for it since a custom devd rule can now be written to cope. 


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