From owner-freebsd-net@FreeBSD.ORG Wed Jan 26 10:12:27 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 5CA3116A4CE for ; Wed, 26 Jan 2005 10:12:27 +0000 (GMT) Received: from mail.astra-sw.com (mail.astra-sw.com [82.140.87.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9261243D4C for ; Wed, 26 Jan 2005 10:12:26 +0000 (GMT) (envelope-from Nickolay.Kritsky@astra-sw.com) Received: from exchange.stardevelopers4msi.com ([192.168.64.10]) j0PEobJ6082157 for ; Tue, 25 Jan 2005 17:50:37 +0300 (MSK) X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 25 Jan 2005 17:52:40 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: gif(4) and bpf(4) thread-index: AcUCeUmhcZbjTMQFTFGayyOXNQ1USAAcy+xQ From: "Nickolay Kritsky" To: "Jeremie Le Hen" , 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: Wed, 26 Jan 2005 10:12:27 -0000 Hi Jeremie. Please tell me more about your problem: is it that tcpdump cannot attach = to device, or it shows no packets when you are sure there is traffic on = the gif(4) interface, or something else? If there is some error report - = send it here. Please check that you have free bpf device :-) . What = version of 4.x are you running? On my 4.9 system if_gif.c has references = to bpf_mtap in both _input and _output routines. That should work. Nick -----Original Message----- From: Jeremie Le Hen [mailto:jeremie@le-hen.org] Sent: Tuesday, January 25, 2005 12:20 AM To: freebsd-net@freebsd.org Subject: gif(4) and bpf(4) Hi, I set up a VPN between a RELENG_4 and a another box. Everything works well except I can't use tcpdump(8) on the gif(4). IIRC it's a well-known problem - I already saw this topic here but can't find these posts again - but I cannot understand why it doesn't work since if_gif.c in RELENG_4 has bpfattach(), bpf_mtap2(), ... Is it supposed to work or not ? If not, does it work on RELENG_5 ? My very -CURRENT laptop succeeds in opening bpf(4) on a gif(4) = interface. Regards, --=20 Jeremie Le Hen jeremie@le-hen.org _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"