Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 17:52:40 +0300
From:      "Nickolay Kritsky" <Nickolay.Kritsky@astra-sw.com>
To:        "Jeremie Le Hen" <jeremie@le-hen.org>, <freebsd-net@freebsd.org>
Subject:   RE: gif(4) and bpf(4)
Message-ID:  <D86BF562467D944EB435513F725B236A07C11F@exchange.stardevelopers4msi.com>

index | next in thread | raw e-mail

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,
-- 
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"


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D86BF562467D944EB435513F725B236A07C11F>