From owner-freebsd-net@FreeBSD.ORG Wed Mar 2 19:40:59 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BE17106566B for ; Wed, 2 Mar 2011 19:40:59 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 121878FC1D for ; Wed, 2 Mar 2011 19:40:58 +0000 (UTC) Received: by wwb31 with SMTP id 31so464471wwb.31 for ; Wed, 02 Mar 2011 11:40:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Ah/uykxXiLswobcpBFt7482aQEEsDDxzSMWMtjor5eg=; b=ayWAtuB7jr5/t4X3dsWaZ+dQOKOn62bNiirBuG9a7DqH3ilVSCH/v7CNuEzEx2Bbuj 6LL2xo44yveKcbWZlVie96yfJVuOJFj0rTFlU8GXPEShEIYExPmlsKi7YywTxYe1FYy9 0HuIQfwRBYyI0B0uj8PQPPuxIqq4nvYeBs/sw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BshQ7rK8asrQzZh3SUPwbecJFKAJ6uH7MwRIYT3vRSjSeiuRgq80mh4v9RZUKEs/4h 5yMd64xzSQ/Yn9XSZnKuY9bKEfCoR0mNh+S7nabvxeZL6SNaII+JC3VdQ+nYFAUEIdC9 NsLUB/BCZT5VVoAjgSpL+v9QlbSJ+VFcLBLJU= MIME-Version: 1.0 Received: by 10.216.179.133 with SMTP id h5mr1018968wem.69.1299094857729; Wed, 02 Mar 2011 11:40:57 -0800 (PST) Received: by 10.216.25.72 with HTTP; Wed, 2 Mar 2011 11:40:57 -0800 (PST) In-Reply-To: <1298961441.2888.2.camel@core.nessbank> References: <1298961441.2888.2.camel@core.nessbank> Date: Wed, 2 Mar 2011 13:40:57 -0600 Message-ID: From: Brandon Gooch To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, Rui Paulo Subject: Re: Interface descriptions via pcap broken X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 19:40:59 -0000 On Tue, Mar 1, 2011 at 12:37 AM, Bruce Cran wrote: > I installed wireshark on my 9-CURRENT machine yesterday and found that > the interface description fields are all set to 0xa5. From reading the > code it looks like the data is being fetched via pcap. > > Device: usbus1 > Description: \xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5 > \xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5 > \xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5 > \xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5\xa5 > IP: unknown > > Has a recent change broken this? > > -- > Bruce Cran I'm seeing the same thing. libpcap-1.1.1 was merged into HEAD about 4 months ago, so it's possible... I suspect changes to libpcap's inet.c: http://svn.freebsd.org/viewvc/base/head/contrib/libpcap/inet.c?r1=203052&r2=214518 ...although I haven't had the time to look through it thoroughly -- it's more of a "gut feeling" (if there could be such a thing regarding C code LOL). BTW, if you give your devices descriptions, libpcap starts to behave again; this could be a clue to the source of the bug :/ What do you think Rui? Any hints? -Brandon