From owner-freebsd-net@FreeBSD.ORG Wed Mar 9 20:32:44 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F25C16A4CE for ; Wed, 9 Mar 2005 20:32:44 +0000 (GMT) Received: from mailhost.schluting.com (schluting.com [131.252.214.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3E1E43D5F for ; Wed, 9 Mar 2005 20:32:43 +0000 (GMT) (envelope-from charlie@schluting.com) Received: from localhost (localhost [127.0.0.1]) by mailhost.schluting.com (Postfix) with ESMTP id B008E226E for ; Wed, 9 Mar 2005 12:32:43 -0800 (PST) Received: from mailhost.schluting.com ([127.0.0.1]) by localhost (schluting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03979-01 for ; Wed, 9 Mar 2005 12:32:38 -0800 (PST) Received: from [131.252.213.83] (schrodinger.cat.pdx.edu [131.252.213.83]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhost.schluting.com (Postfix) with ESMTP id 6804C220F for ; Wed, 9 Mar 2005 12:32:38 -0800 (PST) Message-ID: <422F5D66.6020808@schluting.com> Date: Wed, 09 Mar 2005 12:32:38 -0800 From: Charlie Schluting User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: net@freebsd.org References: <20050309111759.O97008@schluting.com> <3aa4b0ab62a3d4855fdc62383a77b9d5@mac.com> <422F5CF6.9070906@schluting.com> In-Reply-To: <422F5CF6.9070906@schluting.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by your mom at schluting.com Subject: Re: tcpdump/bpf and seeing .1q tags X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2005 20:32:44 -0000 Charlie Schluting wrote: > Charles Swiger wrote: > >> On Mar 9, 2005, at 2:22 PM, Charlie Schluting wrote: >> >>> More importantly, I'm trying to figure out if a bpf read will see >>> them as well. Any insight on this? >> >> >> >> Yes, or it will if you use promisc mode and an appropriate BPF filter: >> > > So promisc is enabled in my case. > > This seems to imply that the bpf will always see the vlan tags. (I don't > want to.. that was the point of my question) > > I believe this is starting to make sense. Thanks for your reply. Oh! Er.. I hit send too fast. So a BPF is supposed to ignore vlan tags unless 'vlan' is specified?? -Charlie