From owner-freebsd-net Wed Dec 12 12:26:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id F1F3D37B405 for ; Wed, 12 Dec 2001 12:26:25 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id fBCKQNW03223; Wed, 12 Dec 2001 12:26:23 -0800 Date: Wed, 12 Dec 2001 12:26:23 -0800 From: Brooks Davis To: Sam Tannous Cc: freebsd-net@FreeBSD.ORG Subject: Re: ti driver, vlan and tcpdump Message-ID: <20011212122620.A2030@Odin.AC.HMC.Edu> References: <20011115132222.B17252@Odin.AC.HMC.Edu> <01111515412101.00586@shaggy.doo.com> <20011115134207.A26868@Odin.AC.HMC.Edu> <20011212151557.J28904@cisco.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011212151557.J28904@cisco.com>; from stannous@cisco.com on Wed, Dec 12, 2001 at 03:15:58PM -0500 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 12, 2001 at 03:15:58PM -0500, Sam Tannous wrote: > On Thu, Nov 15, 2001 at 01:42:07PM -0800, Brooks Davis wrote: > > On Thu, Nov 15, 2001 at 03:41:21PM -0600, Shaun Marko wrote: > > > Could you also get the desired result by using a kernel without=20 > > > VLAN support? > > > The original poster said he didn't want to configure VLAN interfaces= =20 > > > anyway. > > For the moment, on stable hosts, that will work. Driver vlan support is > > no longer optional in current and that change will be MFC'd just as soon > > as I get it tested. The right answer is probably to modify the > > VLAN_INPUT_TAG macro to do the bpf stuff. > >=20 >=20 > is there a way to turn off driver VLAN support? >=20 > (I don't object to having it on by default. =20 > I just want to be able to turn it off > so I can see *all* the vlan traffic with tcpdump/libpcap > (even if I have VLAN turned on in my kernel)). In current there's an interface capability configuration system that is used to enable and disable things like hardware checksum support. I intend to look at adding a bit to control hardware VLAN decoding. Unfortunatly it won't be possiable to MFC this without a rule change because it would break all binary network drivers. We do plan to modify vlan_input_tag to fake up a vlan header and pass the packet to bfp so you will be able to tap hardware decoded vlan frames. I'm not sure it this will be enabled by default or not. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8F71sXY6L6fI4GtQRAjZ4AKC2K+rR4I2e0txf7u08WQ7Nfaq4ZQCfQBet tzCHOUWvKlZqZ6N/TLVAuL8= =BN+H -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message