From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076332421399.tru64-unix-managers.marc@archive.invalid> From: "Mahendra Vallabh (Mike)" Date: Thu, 16 May 1996 23:48:13 +0000 To: tru64-unix-managers Subject: SUMMARY: tcpdump X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076332421399 > Date: Fri, 17 May 96 09:29:17 +1200 > From: "Mahendra Vallabh (Mike)" > > How does one get tcpdump to work?? > I am trying, what seems to me, a simple test. > > In one window I have: > > pfconfig ln0 +p # Enable promiscuous mode > tcpdump host host.domain > > tcpdump: listening on ln0 > Using kernel BPF filter > > In another window I do: > > ping somehost.domain > > Absolutely nothing turns ups in the window running tcpdump. First, try: % pfconfig +c ln0 (this assumes that your network device actually is ln0) % tcpdump host host.domain Then ping host.domain. You don't need/want promiscuous mode to capture traffic sent from/to your workstation, but you do need copyall. If you want to monitor traffic not involving your system, you will need +p but not +c. R. Kevin Oberman Energy Sciences Network (ESnet) Lawrence Berkeley National Laboratory (LBNL) E-mail: oberman@es.net Phone: +1 510 422-6955 Thanks Kevin! This is exactly what I wanted. /------------------------------------------------------------------------\ | Mahendra Vallabh (Mike) | | Analyst Programmer/Network Administrator | | Physics Department | | School of Science | | University of Waikato Phone: +64 (7) 838 4208 | | Hamilton Fax: +64 (7) 838 4219 | | NZ Email: mike@phys.waikato.ac.nz | | | | Out the 10Base-T, through the router, down the T1, over the leased | | line, off the bridge, past the firewall...nothing but Net | \------------------------------------------------------------------------/