Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 12:11:39 -0400
From:      Bill Moran <wmoran@iowna.com>
To:        Luke Boyett <luke@setel.com>, questions@freebsd.org
Subject:   Re: How to discover what process is listening on a port
Message-ID:  <3B852B3A.D946377A@iowna.com>
References:  <3B8522F2.A92EE889@iowna.com> <20010823114236.N15752@setel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
If there's not a legitimate service on the port, is there a trick to
making it recogized it (other than editing /etc/services?)
For example, one port that's open is 1023 ... netstat won't let me
do:
netstat -lp 1023

-Bill

Luke Boyett wrote:
> 
> > There's a way to do this with the "netstat" command, isn't there?
> > I just scanned a computer as a security audit and found some ports
> > open that I don't recognize. I want to find out what process on the
> > machine has those ports open.
> 
> netstat -lp will do the trick.  You can also use lsof statically
> compiled on a known safe machine if you think netstat may have been
> trojaned.
> 
> --
> Luke Boyett <luke@setel.com>
> PGP Key ID = DEC7301B

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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