From owner-freebsd-net@FreeBSD.ORG Fri Aug 19 20:50:54 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B0C216A420 for ; Fri, 19 Aug 2005 20:50:54 +0000 (GMT) (envelope-from julian@elischer.org) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 879A543D58 for ; Fri, 19 Aug 2005 20:50:51 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id 44AF86E83; Fri, 19 Aug 2005 13:50:51 -0700 (PDT) Received: from [192.168.2.2] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id j7JKookD082909; Fri, 19 Aug 2005 13:50:51 -0700 (PDT) (envelope-from julian@elischer.org) Message-ID: <4306462A.2070500@elischer.org> Date: Fri, 19 Aug 2005 13:50:50 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050424 X-Accept-Language: en, hu MIME-Version: 1.0 To: Paul Khavkine References: <20050819150328.G25493-100000@krusty.mtl.distributel.net> In-Reply-To: <20050819150328.G25493-100000@krusty.mtl.distributel.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Reading raw ethernet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 20:50:54 -0000 Paul Khavkine wrote: > Hi guys. > > > I'm writing a small program to read raw ethernet frames out of netgraph > to capture Spannign Tree packets from the switch. > > Is it possible to pick up STP frames without putting the interface in > promiscuous mode ? If you don't put it in promiscuous mode, then you will only see broadcast packets and packets aimed at you specifically. If that's enough then there is nothing in netgraph that insists that you turn on promiscuous mode. You should probably look at the ng_etf node too BTW. > > Thanx > Paul > > ************************************************ > Paul Khavkine > Networks/Systems Planning and Engineering > DISTRIBUTEL Communications. > 740 Notre Dame West, Suite 1135 > Montreal, Quebec, Canada, H3C 3X6 > +1-514-877-5505 x 263 > http://www.distributel.net > ************************************************ > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"