From owner-freebsd-net@FreeBSD.ORG Tue Jan 25 14:40:40 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 19D3516A4CE for ; Tue, 25 Jan 2005 14:40:40 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1A3F43D1D for ; Tue, 25 Jan 2005 14:40:39 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id EF6096530A; Tue, 25 Jan 2005 14:40:38 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17833-01-29; Tue, 25 Jan 2005 14:40:38 +0000 (GMT) Received: from empiric.dek.spc.org (unknown [213.210.24.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id BC28665213; Tue, 25 Jan 2005 14:40:37 +0000 (GMT) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 6BC976383; Tue, 25 Jan 2005 14:41:53 +0000 (GMT) Date: Tue, 25 Jan 2005 14:41:53 +0000 From: Bruce M Simpson To: Jeremie Le Hen Message-ID: <20050125144153.GJ47638@dhcp120.icir.org> Mail-Followup-To: Jeremie Le Hen , freebsd-net@freebsd.org References: <20050124212011.GC59685@obiwan.tataz.chchile.org> <20050125011615.GB47638@dhcp120.icir.org> <20050125143327.GD59685@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050125143327.GD59685@obiwan.tataz.chchile.org> cc: freebsd-net@freebsd.org Subject: Re: gif(4) and bpf(4) 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: Tue, 25 Jan 2005 14:40:40 -0000 On Tue, Jan 25, 2005 at 03:33:27PM +0100, Jeremie Le Hen wrote: > Well this is a start. But I would really like to make it work on > RELENG_4. In fact, if bpf.h was not included in if_gif.c, I would not > mind. But although I'm not (yet ;p) a kernel hacker, I read quickly > bpf(9) manpage and I really think the code should work. I dread that > this is due to some back magic I can't even imagine. That's why I > made a call here for testimonies or explanations. Try tcpdump -L -i gif0 on the affected system and post what you get. You might need to install the port if the base system tcpdump doesn't have the -L option. If you get a list of encapsulations back, try using them with the -y option,,e.g.: tcpdump -y null -i gif0 BMS