NetBSD Problem Report #34172

From root@kefren.girsa.ro  Wed Aug  9 09:06:23 2006
Return-Path: <root@kefren.girsa.ro>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 3041463B8C3
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  9 Aug 2006 09:06:23 +0000 (UTC)
Message-Id: <20060809090620.C00703070E@kefren.girsa.ro>
Date: Wed,  9 Aug 2006 12:06:20 +0300 (EEST)
From: kefren@netbsd.ro
Reply-To: kefren@netbsd.ro
To: gnats-bugs@NetBSD.org
Subject: tcpdump doesn't catch any non-IP packet on gre(4) interface
X-Send-Pr-Version: 3.95

>Number:         34172
>Category:       bin
>Synopsis:       tcpdump doesn't catch any non-IP packet on gre(4) interface
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 09 09:10:00 +0000 2006
>Originator:     Mihai Chelaru
>Release:        NetBSD 3.99.20
>Organization:

>Environment:


System: NetBSD mpls.girsa.ro 3.99.20 NetBSD 3.99.20 (ayame-mpls) #0: Tue Aug 8 12:22:30 EEST 2006 root@mpls.girsa.ro:/usr/src/sys/arch/i386/compile/ayame-mpls i386
Architecture: i386
Machine: i386
>Description:

	I created a gre tunnel in order to send some MPLS unicast frames over it. They are passing fine but
	tcpdump can't catch any of it.

mpls# tcpdump -l -n -vvv -i gre0 ether proto 0x8847
tcpdump: expression rejects all packets
mpls# tcpdump -l -n -vvv -O -i gre0 ether proto 0x8847
tcpdump: listening on gre0, link-type NULL (BSD loopback), capture size 96 bytes
^C
0 packets captured
14 packets received by filter
0 packets dropped by kernel

	During this I left an icmp ping that is encapsulated into MPLS on a router connected via tunnel gre0.
	The only ether proto I saw working was 0x0800 (IP).

>How-To-Repeat:

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.