tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Mahendra Vallabh (Mike)" <mike () phys ! waikato ! ac ! nz>
To: tru64-unix-managers
Subject: SUMMARY: tcpdump
Date: Thu, 16 May 1996 23:48:13 +0000	[thread overview]
Message-ID: <96076332421399.tru64-unix-managers.marc@archive.invalid> (raw)


> Date: Fri, 17 May 96 09:29:17 +1200
> From: "Mahendra Vallabh (Mike)" <mike@phys.waikato.ac.nz>
> 
> 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              |
 \------------------------------------------------------------------------/

             reply	other threads:[~1996-05-16 23:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-16 23:48 Mahendra Vallabh (Mike) [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-07-14 21:27 SUMMARY: tcpdump Francis, Chris
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox