Security Basics mailing list archives

Re: How to find a process


From: rmyster () gmail com
Date: Fri, 15 Jun 2007 05:48:22 -0600

On 6/13/07, Francisco Rodrigo Cortinas Maseda
<francisco.cortinas () jazztel com> wrote:

My problem is that we have some strange traffic on the firewalls, going
from a server on a DMZ to public client pools.

10:09:10.511978 00:0e:0c:71:7f:cd > 10:00:00:00:26:01, ethertype IPv4
(0x0800), length 61: IP XXXXX.44267 > XXXXXX.3072: UDP, length 19

The problem is: with netstat i only see the ports daemons are listening
on. I want to know the process that is using the outgoing port, that is,
44267.

Is there a way to know this?

On linux, fuser will show the process PIDs :

# fuser -v 44267/tcp

to identify the process , combine with ps

ps aux  | grep `fuser -v 44267/tcp`


Current thread: