From owner-freebsd-isp@FreeBSD.ORG Wed Jan 7 08:15:51 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CD2216A4CE for ; Wed, 7 Jan 2004 08:15:51 -0800 (PST) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89EF243D1F for ; Wed, 7 Jan 2004 08:15:48 -0800 (PST) (envelope-from anderson@centtech.com) Received: from centtech.com (neutrino.centtech.com [10.177.171.220]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id i07GFl6T000600; Wed, 7 Jan 2004 10:15:47 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <3FFC309F.5090700@centtech.com> Date: Wed, 07 Jan 2004 10:15:27 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Darek M References: <3FFC2EEB.6040503@nyi.net> In-Reply-To: <3FFC2EEB.6040503@nyi.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-isp@freebsd.org Subject: Re: logging/counting network CRCs on an interface X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 16:15:51 -0000 Darek M wrote: > Hi guys, > > I hope this is the right list to post this to. > > I looked around online but could not find much info. I want to see a > count of packets that arrived on an ethernet interface that had CRC > errors in them. > > From what I understand, the network driver keeps track of the info. > The problem is making that info available higher up for a program like > ifconfig, or some custom console app. > > But if the procedure is much simpler than this, and there's a package > already available, I'm all ears. I thought netstat included them in it's in/out packet errors, but now that I check, I'm not certain. See: man ifnet look for "ifi_ierrors" Somewhat ambiguous as to what it includes.. Eric -- ------------------------------------------------------------------ Eric Anderson Systems Administrator Centaur Technology All generalizations are false, including this one. ------------------------------------------------------------------