From owner-freebsd-questions Thu Jun 10 6:19: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from stud.ee.ethz.ch (tardis-delek-fast.ee.ethz.ch [129.132.2.199]) by hub.freebsd.org (Postfix) with ESMTP id 0362F152EE for ; Thu, 10 Jun 1999 06:18:55 -0700 (PDT) (envelope-from lpruf@stud.ee.ethz.ch) Received: from tardis-a2.ee.ethz.ch (lpruf@tardis-a2.ee.ethz.ch [129.132.3.12]) by stud.ee.ethz.ch (8.8.4/8.8.8) with ESMTP id PAA04091; Thu, 10 Jun 1999 15:18:53 +0200 (MET DST) Received: from localhost (lpruf@localhost) by tardis-a2.ee.ethz.ch (8.8.4/8.8.8) with ESMTP id PAA00670; Thu, 10 Jun 1999 15:18:51 +0200 (MET DST) X-Authentication-Warning: tardis-a2.ee.ethz.ch: lpruf owned process doing -bs Date: Thu, 10 Jun 1999 15:18:51 +0200 (MET DST) From: Lukas Ruf X-Sender: lpruf@tardis-a2.ee.ethz.ch Reply-To: Lukas Ruf To: Thierry Herbelot Cc: FreeBSD Questions Subject: Re: FreeBSD 3.1-RELEASE: live packet capture In-Reply-To: <375FB6CE.9AEB88FB@telspace.alcatel.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Thierry, On Thu, 10 Jun 1999, Thierry Herbelot wrote: > > Hello, > > * does you interface work with the standard packet sniffer : tcpdump ? > * does your version of the ze driver support BPF (grep BPF > /usr/src/sys/i386/isa/if_ze.c) ? > > TfH The output of both of them: grep BPF /usr/src/sys/i386/isa/if_ze.c #if NBPFILTER > 0 * If BPF is in the kernel, call the attach for it #if NBPFILTER > 0 #if NBPFILTER > 0 * If there is BPF support in the configuration, tap off here. #if NBPFILTER > 0 #if NBPFILTER > 0 * ether_input(). If there is a BPF listener, give a copy to BPF, too. #if NBPFILTER > 0 * Check if there's a BPF listener on this interface. * there are no BPF listeners. And if we are in promiscuous tcpdump: listening on ze0 15:14:08.636761 pc-3015.ethz.ch.209722428 > tec1.ethz.ch.nfs: 140 getattr [|nfs] ... 127 packets received by filter 0 packets dropped by kernel > > Lukas Ruf wrote: > > [...] > > > ntop: listening on ze0 > > ntop: live packet capture not supported on this system > > > > In my configuration, I enabled > > pseudo-device bpfilter 4 #Berkeley packet filter Kind regards, and thanks in advance, Lukas -- *** ALWAYS MAILTO:"Lukas Ruf " *** (PGP2.6.3) Fingerprint = 37CF 3AB4 B0F7 0AF5 C308 4188 8C10 86FE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message