From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Smith, Mike R." Newsgroups: gmane.os.tru64.managers Subject: Summary: Monitor a specific port Date: Thu, 28 Aug 2003 11:21:39 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1062084152 15097 80.91.224.253 (28 Aug 2003 15:22:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2003 15:22:32 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Aug 28 17:22:30 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19sObW-00011r-00 for ; Thu, 28 Aug 2003 17:22:30 +0200 Original-Received: (qmail 15664 invoked by uid 5); 28 Aug 2003 15:22:19 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15655 invoked by uid 49493); 28 Aug 2003 15:22:19 -0000 Original-Received: from smithmr@bowater.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.8/5.0):. Processed in 0.634333 secs); 28 Aug 2003 15:22:19 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 28 Aug 2003 15:22:18 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HKC0042D5D5RF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 28 Aug 2003 11:22:18 -0400 (EDT) Original-Received: from gvls010.bowater.com ([167.147.30.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HKC00GCQ5D2BQ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 28 Aug 2003 11:22:15 -0400 (EDT) Original-Received: from unknown(167.147.240.34) by gvls010.bowater.com via csmap id 0750a4fe_d96b_11d7_9732_00304811d63f_24177; Thu, 28 Aug 2003 11:19:33 -0400 (EDT) Original-Received: from gvlsnt78.bowater.com ([167.147.30.102]) by GVLAFW01; Thu, 28 Aug 2003 11:21:46 -0400 (EDT) Original-To: "Tru64 \(E-mail\)" X-MIMEOLE: Produced By Microsoft Exchange V6.0.6375.0 Thread-Topic: Summary: Monitor a specific port Thread-Index: AcNteBPcCehNG/iYQGq60T5ggSXibw== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:5219 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5219 I finally ended up adding the packetfilter option to the kernel and = rebooting. I then used tcpdump which worked quite nicely. I had = suggestions from: Kris Smith - Netstat (I did not see how to get it to show me the data = itself going across a port) Jim Fitzmauice - lsof (same issue as above, it could tell me about port, = I did not see how to make it show me the data) Phil Baldwin - use ethereal on a windows or linux box and set up a port = span on your network switches for the 2 IP addresses and ports. - (Looked to be a bit too much effort for this = issue) Original question: > I am running Tru64 5.1 latest patch_kit. My application people use a = port > on the Unix machine to pass traffic to an NT machine and also for > receiving traffic from the NT system (same port). The receive is = working > fine but the data sent is not being received. I want to monitor that > specific port to verify that traffic is leaving the system on that = port. =20 >=20 > I thought tcpdump might help but my kernel does not have packetfilter = in > it and I would rather not reboot if I don't have to. Any suggestions? >=20 > smithmr (at) bowater.com