home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!ncar!noao!arizona!menze
- From: menze@cs.arizona.edu (Ed Menze)
- Newsgroups: comp.unix.sysv386
- Subject: direct ethernet access in Dell SVR4
- Message-ID: <19762@optima.cs.arizona.edu>
- Date: 29 Jul 92 04:08:52 GMT
- Sender: news@cs.arizona.edu
- Organization: U of Arizona, CS Dept, Tucson
- Lines: 50
-
- Last week I wrote:
-
- | I'm using Dell Unix (SVR4) on a 386 and am trying to write a
- | user-level program which can access all ethernet packets received by
- | my host. I talked to Dell technical support and they pointed me at an
- | ethernet device file which they said provided such access via a
- | STREAMS interface.
- |
- | I haven't made much use of STREAMS before, so please let me know if
- | this question itself doesn't make sense.
- |
- | After reading some of the SVR4 STREAMS documentation and poking around
- | some header files, I'm guessing that this ethernet device file
- | probably uses the STREAMS "Data Link Provider Interface," but I can't
- | find a description of this interface beyond a header file which
- | defines some DLPI structures.
- |
- | ...
-
- Several people directed me to Unix International who claim they will
- send me a DLPI document within a week or so. I thank you for your
- help. But I'd like to back up for a second.
-
- In the third paragraph of my previous message, I mention that "I'm
- guessing" about the link between the ethernet device file (/dev/eth0)
- and DLPI. I haven't actually confirmed this, so before I embark on
- trying to figure out the DLPI spec, I'd like to re-ask my question
- more generally:
-
- I'm using Dell Unix (SVR4) on a 386 and am trying to write a
- user-level program which can access all (or a selected subset)
- of the ethernet packets received by my host. How can I do
- this?
-
- I.e., can someone either confirm that accessing /dev/eth0 via DLPI is
- the right way to go or else point me at another possible solution?
-
- I got a couple of responses suggesting tcpdump. I took a look at it,
- but it seems to require either the Berkeley Packet Filter or Sun's
- Network Interface Tap. Nothing in the BPF documentation would seem to
- imply that it is feasible to install it in a SVR4 system.
-
- So if anyone would care to address the above more-general question in
- a SVR4/Dell Unix context, I would greatly appreciate it.
-
- Thanks,
-
- Ed Menze
- menze@cs.arizona.edu
-
-