Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 1999 15:18:51 +0200 (MET DST)
From:      Lukas Ruf <lpruf@stud.ee.ethz.ch>
To:        Thierry Herbelot <Thierry.Herbelot@alcatel.fr>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: FreeBSD 3.1-RELEASE: live packet capture
Message-ID:  <Pine.GSO.4.10.9906101516280.25772-100000@tardis-a2.ee.ethz.ch>
In-Reply-To: <375FB6CE.9AEB88FB@telspace.alcatel.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <lpruf@stud.ee.ethz.ch>" ***
    (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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.9906101516280.25772-100000>