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:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"