What process is using what UDP port

Dan Nelson dnelson at allantgroup.com
Wed Aug 2 04:30:05 UTC 2006

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 at allantgroup.com

More information about the freebsd-questions mailing list