gif(4) and bpf(4)

Jeremie Le Hen jeremie at le-hen.org
Mon Jan 24 16:58:16 PST 2005


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 at le-hen.org


More information about the freebsd-net mailing list