Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2000 09:18:50 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Slawek Zak <zaks@prioris.mini.pw.edu.pl>
Cc:        freebsd-net@FreeBSD.org, brian@Awfulhak.org
Subject:   Re: tcpdump on tun0 strangeness 
Message-ID:  <200007200818.JAA31039@hak.lan.Awfulhak.org>
In-Reply-To: Message from Slawek Zak <zaks@prioris.mini.pw.edu.pl>  of "20 Jul 2000 01:07:43 %2B0200." <878zux7m80.fsf@localhost.localnet> 

next in thread | previous in thread | raw e-mail | index | archive | help
There's an outstanding PR on this (19377).  I haven't gotten around 
to looking at it though :-(

> I've found a strange bahaviour of tcpdump in 4.1-RC (and 4.0) when
> listening on tun0 interface. When I specify the protocol to filter,
> tcpdump shows only packets going out. Without the filter I see all the
> packets.
> 
> # tcpdump -i tun0
> 
> Shows all packets when pinging any remote host
> 
> # tcpdump -i tun0 icmp
> 
> Shows only packets going out.
> 
> # tcpdump -i fxp0 icmp (Ethernet link)
> 
> Works just fine too.
> 
> Any ideas??
> -- 
> `When any government, or any church for that matter, undertakes to say to
>  its subjects, "This you may not read, this you must not see, this you are
>  forbidden to know," the end result is tyranny and oppression no matter how
>  holy the motives' -- Robert A Heinlein, "If this goes on --"
> Suavek Zak / PGP: finger://zaks@prioris.mini.pw.edu.pl

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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