tcpdump - tun/tap virtual interfaces

Dambielle Yannick yannick.dambielle at free.fr
Sun Sep 28 02:12:06 PDT 2003


When I sniff lo0, I have this result :
10:09:12 10.0.0.1 > 10.0.0.1: icmp: echo request
10:09:12 10.0.0.1 > 10.0.0.1: icmp: echo reply
...

I've noticed that in dmesg:
tap0: discard frame w/o leading ethernet header (len 2 pkt len2)
I don't know anything about that (?!?)

Does it works for you when you sniff a tap interface ?

Yannick

----- Original Message ----- 
From: "Giovanni P. Tirloni" <gpt at tirloni.org>
To: <freebsd-net at freebsd.org>
Sent: Sunday, September 28, 2003 6:59 AM
Subject: Re: tcpdump - tun/tap virtual interfaces


> * Dambielle Yannick (yannick.dambielle at free.fr) wrote:
> > Hello everybody,
> >
> > I've tried to dump some paquets sent to a virtual interface without any
> > success for a couple of hours so I ask for some helps to the list.
> > I use a FreeBSD 5.0, my kernel has been rebuilt and installed with the
> > following option in order to use a tap virtual interface : device tap
> > The virtual interface has been created (tap0) and I've attached the IP
> > adress 10.0.0.1. It seems ok, I can see it with ifconfig.
> > All the tests are local tests.
> > While I ping 10.0.0.1 (paquets are sent and not lost), I laught a
tcpdump -i
> > tap0 from another shell... Nothing is dumped (?!)...
> > Well, if some of you has an idea, I'll be very happy.
>
>  Try sniffing your loopback (lo0) interface.
>
>  --
>  Giovanni P. Tirloni <gpt at tirloni.org>
>  Fingerprint: 8C3F BEC5 79BD 3E9B EDB8  72F4 16E8 BA5E D031 5C26
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>



More information about the freebsd-net mailing list