Subject: Re: /dev/tap and tcpdump don't go together very well?
To: Greg Troxel <gdt@ir.bbn.com>
From: Quentin Garnier <cube@cubidou.net>
List: current-users
Date: 04/08/2007 18:27:58
--tq1jUMYqRrWhnE+t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 08, 2007 at 06:47:14AM -0400, Greg Troxel wrote:
> Please be far more clear about how this is all supposed to work.
> Running tcpdump on the host as '-i tap0' will put the tap device in
> promiscuous mode.  But packets should still function in both directions.
> Try adding -p to not force promiscuous mode.

That's strange.  A tap(4) interface is, by essence, always in
promiscuous mode (it doesn't filter what gets written to the device).

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--tq1jUMYqRrWhnE+t
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRhkYDtgoQloHrPnoAQKVMAf+I2c87aRicWUIjNmVx7xY5QqLyrP+ePmw
tGPM5Jl/ih4iZwOFgnoeDIBUK0/MqILE94J83Rh104C/yEZ1HGqZbmL47od0eWoR
6qgyqzL+Mida/Ceb/Iz/Y2B4dz4cCQ80UGZTqBKL5gwDyxbijn+gqb0xqvqpaZQV
s9CCc2R5vIjH7C9ekYnObR/xi2N2TgzmvI/dDsj1md4B4klJlzo0VtIID6KK3Zgw
Ia/Sl16DdERin4My+2e+mP6X+gDx407JqeYvBjq4gxHxJVexrL86+4yrHr1BhErl
ZFHFJGrzE9iGBfrq/SHAPhhoPvQ5tCr2dhGzR5UbjFFx4lLYwtjVRQ==
=FynP
-----END PGP SIGNATURE-----

--tq1jUMYqRrWhnE+t--