From owner-freebsd-hackers Thu Oct 4 13:32:12 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from imo-m04.mx.aol.com (imo-m04.mx.aol.com [64.12.136.7]) by hub.freebsd.org (Postfix) with ESMTP id 9E8E037B401 for ; Thu, 4 Oct 2001 13:32:08 -0700 (PDT) Received: from Bsdguru@aol.com by imo-m04.mx.aol.com (mail_out_v31_r1.7.) id 4.66.154c9b6d (4410); Thu, 4 Oct 2001 16:31:31 -0400 (EDT) From: Bsdguru@aol.com Message-ID: <66.154c9b6d.28ee2123@aol.com> Date: Thu, 4 Oct 2001 16:31:31 EDT Subject: Re: if_sf bug To: des@ofug.org Cc: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: AOL 5.0 for Windows sub 139 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In a message dated 10/04/2001 1:43:27 PM Eastern Daylight Time, des@ofug.org writes: > > > The if_sf driver doesnt seem to initialize itself until an address is set, > > > > which makes things like tcpdump, bridging and other promiscuous things > not > > > work. > > All the interfaces do that. If you want to make an invisible interface, > > configure it with IP 0.0.0.0. > > I believe 'ifconfig foo0 up' is sufficient. > That is what SHOULD work. But it seems that some of BPs drivers dont do an if_init until an address is set. The driver should be ready to send and accept raw frames when IFF_UP and IFF_RUNNING are set, which implies that if_init() at minimum should be done when flags are set. The if_sk driver has the same problem. B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message