gif(4) and bpf(4)

Bruce M Simpson bms at spc.org
Tue Jan 25 06:40:40 PST 2005


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


More information about the freebsd-net mailing list