Date: Wed, 12 Dec 2001 12:26:23 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Sam Tannous <stannous@cisco.com> Cc: freebsd-net@FreeBSD.ORG Subject: Re: ti driver, vlan and tcpdump Message-ID: <20011212122620.A2030@Odin.AC.HMC.Edu> In-Reply-To: <20011212151557.J28904@cisco.com>; from stannous@cisco.com on Wed, Dec 12, 2001 at 03:15:58PM -0500 References: <Pine.GSO.3.96.1011115123414.13489A-100000@willers.employees.org> <20011115132222.B17252@Odin.AC.HMC.Edu> <01111515412101.00586@shaggy.doo.com> <20011115134207.A26868@Odin.AC.HMC.Edu> <20011212151557.J28904@cisco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011212122620.A2030>