Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!ncar!woods From: woods@ncar.ucar.edu (Greg Woods) Newsgroups: comp.protocols.tcp-ip Subject: Re: tcpdump (more info) Message-ID: <3326@ncar.ucar.edu> Date: 1 Jun 89 17:00:12 GMT References: <1559@cunixc.cc.columbia.edu> Reply-To: woods@handies.UCAR.EDU (Greg Woods) Organization: Scientific Computing Division/NCAR, Boulder CO Lines: 28 In article <1559@cunixc.cc.columbia.edu> micky@cunixc.cc.columbia.edu (Micky Liu) writes: > >tcpdump is available in source from ftp.ee.lbl.gov by anonymous ftp, >but unless you have a Sun-3 with SunOS3.5 it is un-useable. If you >have SunOS4.0 you will need to do two things: > > 1) Install a kernel fix on Sun-3's (I think Sun-4's are okay). > The if_nit.o file is also at ftp.ee.lbl.gov. > > 2) Modify the source to work with Sun's new STREAMS based NIT > interface. I got Micky's patches from him, applied them to the source from lbl, grabbed the nit_if.o module from lbl, rebuilt my kernel, remade tcpdump, and I now have a version of tcpdump that works on my 3/50 running 4.0.1 (thanks, guys!) I tried it out on a Sun-4, and it compiles and links fine but produces no output. I assume that I need a fixed nit_if.o for a Sun-4. Anybody got one? The only nuisance is that the makefile for the tcpdump source references a program called "flex" which is not a part of the Sun OS, so I had to grab those sources from lbl as well and make that program before I could get tcpdump to compile. A nuisance, but doable. Flex compiles without any trouble on both the Sun-3 and Sun-4 (running OS 4.0.1) If anybody wants to avoid this procedure, I have the Sun-3 binary available for anonymous FTP from ncar.ucar.edu (128.117.64.4), as pub/tcpdump.sun3.os4 You will need to remake your kernel with the nit_if.o from lbl before you will be able to use this binary. --Greg