From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 04:30:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B465816A4DD for ; Wed, 2 Aug 2006 04:30:05 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4774A43D46 for ; Wed, 2 Aug 2006 04:30:05 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k724Tco4051455; Tue, 1 Aug 2006 23:29:38 -0500 (CDT) (envelope-from dan) Date: Tue, 1 Aug 2006 23:29:38 -0500 From: Dan Nelson To: Olivier Nicole Message-ID: <20060802042936.GI63872@dan.emsphone.com> References: <200607310847.k6V8luaX001562@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200607310847.k6V8luaX001562@banyan.cs.ait.ac.th> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.12-2006-07-14 Cc: freebsd-questions@freebsd.org Subject: Re: What process is using what UDP port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 04:30:05 -0000 In the last episode (Jul 31), Olivier Nicole said: > I have a FreeBSD machine sending UDP packets to one of my other > machine. There is no apparent reason why it is sending those UDP > packets. How can I trace the process doing so? "sockstat | grep udp" will tell you which processes have udp sockets open, and tcpdumping the packets can give you an idea of what process is likely to be sending them. -- Dan Nelson dnelson@allantgroup.com