From owner-freebsd-net Fri Jan 11 11:41:22 2002 Delivered-To: freebsd-net@freebsd.org Received: from willers.employees.org (willers.employees.org [128.107.241.167]) by hub.freebsd.org (Postfix) with ESMTP id D655C37B404 for ; Fri, 11 Jan 2002 11:41:18 -0800 (PST) Received: from localhost (cjtt@localhost) by willers.employees.org (8.12.1/8.12.1) with SMTP id g0BJfIvt008553 for ; Fri, 11 Jan 2002 11:41:18 -0800 (PST) Date: Fri, 11 Jan 2002 11:41:18 -0800 (PST) From: CJTT To: freebsd-net@FreeBSD.ORG Subject: netgraph and VLANs (was Re: ti driver, vlan and tcpdump In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Is there a way to see entire VLAN packets with netgraph even if the driver has stripped off the VLAN info? (examples or pointers would be appreciated)... Thanks On Fri, 11 Jan 2002, CJTT wrote: > > (using the ti and and also the bge drivers).... > with 4.5-PRERELEASE (cvs'upped two days ago), I've now lost > the ability to see the VLAN traffic on the main interface > (even with no VLAN in the kernel!)...so once again, > I've lost that loving feeling ;-( > > Is there anything I can do in stable that will allow > me to see the packets (incoming)? If not, what magic > will I have to perform in current that will do this? > > (Of course, if Luigi would add some simple link layer > counting or diverting capability to ipfw, that would > be ideal ;-) > > Thanks in advance.... > > > On Fri, 16 Nov 2001, Brooks Davis wrote: > > > On Fri, Nov 16, 2001 at 06:27:25AM -0800, CJTT wrote: > > > (I'll temporarily remove the VLAN support from the kernel). > > > But when this is MFC'd, what will I need to do in order to > > > continue seeing all traffic on the main interface > > > (while using libpcap (tcpdump))? > > > > > > Will the VLAN_INPUT_TAG macro just handle it automatically? > > > > I'll take a look at adding the appropriate code to VLAN_INPUT_TAG, but > > I can't promise that I will get it done before the MFC. > > > > -- Brooks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message