Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 22:34:03 +0100
From:      Thierry Herbelot <thierry@herbelot.com>
To:        Ryan Mooney <ryan@pcslink.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Capturing packets w/ bad CRC's?
Message-ID:  <3C07FB4B.E7D10D4E@herbelot.com>
References:  <20011130110412.D2514@pcslink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ryan Mooney wrote:
> 
> Hello,
> 
> I'm trying to write an ethernet level network tester to test a wireless
> gigabit product the company I'm working for has developed.  I need
> to be able to get packets off a Gig-E interface that have bad CRC
> checksums so I can see how badly mangled they are.  I've tried using
> pcap and ng_ether int: lowerboth of which are giving me just the "good"
> packets.
> 
> Right now they are being discarded somewhere below the bpf interface.
> I'm not sure where, I've read through a bunch of the *if* code, but

they are discarded by the Ethernet chipset itself, and this the reason
why you don't see any source code for managing bad frames.

[SNIP]
> 
> If anyone knows how I can get the bad packets to examine them, I'd much
> appreciate it.

typically by tweaking the chipset, if at all possible, in order to see
also bea frames

-- 
Thierry Herbelot

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?3C07FB4B.E7D10D4E>