Ethereal-dev: [ethereal-dev] Ethereal capturing runts and bad packets

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Wed, 21 Apr 1999 14:11:21 +0900
Hi,

I have talked to Donald Becker about capturing bad packets, runts, etc, and
he says that it is not hard to modify the drivers to do that, however, it
is device specific.

The key problems seem to be making the kernel aware that bad packets should
not be passed to higher layers.

I am looking into the pcap routines, which seem to open a packet socket
under Linux and then suck out all packets handed to them.

The sort of thing I am thinking of is that the driver would, if an
appropriate IOCTL is called, get the card to hand up all packets. The
drivers would mark each packet as good or bad and higher layers would only
pass on good packets to packet sockets ...

Obviously needs some more thought ...

Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx, NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Samba (Team member), Linux, Apache, Digital UNIX, AIX, C, ...