From owner-freebsd-hackers Thu Sep 11 16:28:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA05636 for hackers-outgoing; Thu, 11 Sep 1997 16:28:06 -0700 (PDT) Received: from shark.nas.nasa.gov (shark.nas.nasa.gov [129.99.34.41]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA05630 for ; Thu, 11 Sep 1997 16:28:04 -0700 (PDT) Received: from shark.nas.nasa.gov (edavis@localhost) by shark.nas.nasa.gov (8.8.7/NAS.6.1) with ESMTP id QAA10762; Thu, 11 Sep 1997 16:27:43 -0700 (PDT) Message-Id: <199709112327.QAA10762@shark.nas.nasa.gov> To: Chuck Robey cc: FreeBSD-Hackers Subject: Re: network programming. In-reply-to: chuckr's message of Thu, 11 Sep 1997 19:06:26 -0400. Date: Thu, 11 Sep 1997 16:27:43 -0700 From: "Eric A. Davis" Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk You want tcpdump located at /usr/sbin/tcpdump. On Thu, 11 Sep 1997 19:06:26 -0400 (EDT) Chuck Robey wrote >I have to do my very first network programming, a UDP client+server, and I >was wondering if anyone knows of how I could go about intercepting >something sent to a UDP socket, so I could use it for troubleshooting? I >don't want to receive it (else the client would never get it), just to >monitor what's going on. This is my home machine, and I (obviously) have >root here. > >I don't want the application written for me, just a tool I could use to >capture what's going on between my buggy server and my buggy client. > >Thanks for any hints, guys. > >----------------------------+----------------------------------------------- >Chuck Robey | Interests include any kind of voice or data >chuckr@eng.umd.edu | communications topic, C programming, and Unix. >213 Lakeside Drive Apt T-1 | >Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD >(301) 220-2114 | version 3.0 current -- and great FUN! >----------------------------+----------------------------------------------- > -- Eric Allen Davis Network Engineer edavis@nas.nasa.gov NASA Ames Research Center (415)604-2543 NAS Systems Division Pager: (415)428-6931