Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 23:29:38 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What process is using what UDP port
Message-ID:  <20060802042936.GI63872@dan.emsphone.com>
In-Reply-To: <200607310847.k6V8luaX001562@banyan.cs.ait.ac.th>
References:  <200607310847.k6V8luaX001562@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060802042936.GI63872>