From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 28-MAR-1992 01:04:57.58 To: ARISIA::EVERHART CC: Subj: Re: Ethernet promiscuous mode problem From: RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.123) id AA18063; Sat, 28 Mar 92 00:41:47 EST Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Fri, 27 MAR 92 21:32:22 PST Received: by ucbvax.Berkeley.EDU (5.63/1.43) id AA29156; Fri, 27 Mar 92 21:24:18 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 27 Mar 92 13:21:36 GMT From: pa.dec.com!nntpd.lkg.dec.com!racer.lkg.dec.com!dave@decwrl.dec.com (Dave Lyons) Organization: TNSG - MCC Frameworks Technical Support Subject: Re: Ethernet promiscuous mode problem Message-Id: <34756@nntpd.lkg.dec.com> References: <2441*.S=mmue.OU=komsys.OU=tik.O=ethz.PRMD=SWITCH.ADMD=ARCOM.C=CH.@MHS> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com >A few month ago I wrote a program that allows to trace Ethernet traffic >by setting an ethernet port in promiscuous mode using $QIOW calls. While the >program works fine as long as I am reading packets in "ethernet" format, >things go wrong when I receive packets in IEEE format. According to the ... I believe this was fixed in 5.4-3 It was a bug in the common ethernet driver code where the p5 header was being copied back to user space. The exact form of the problem changes with the mode the channel is opened. If you set PCLI_FMT for 802.3 or 802.3 extended you should see different results. One of the side affects of the fix is that the P5 buffer length must be 20 bytes long. ============================================================================= Stercorem pro cerebro habes. Caput tuum in ano est. Dave Lyons Digital Equipment Corporation 550 King Street Mail Stop LKG1-2/W10 Littleton, MA 01460-1289 dave@racer.ENET.dec.com (or) RACER::DAVE