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, ...
Powered by MHonArc 2.6.10