[Linux-disciples] Who's listening on a port?

Stephen R Laniel steve at laniels.org
Tue Feb 28 12:25:28 EST 2006


On Tue, Feb 28, 2006 at 09:45:14AM -0500, Adam Rosi-Kessel wrote:
> netstat -lap, I think. Or you might prefer -lnap.

I believe netstat only lists ports with active connections.
It's not going to tell me which apps are listening on which
ports, as far as I can tell. nmap helps a little, but even
it is a little stumped:

Starting Nmap 4.00 ( http://www.insecure.org/nmap/ ) at 2006-02-28 12:20 EST
Interesting ports on [hostname] ([IP address]):
PORT   STATE SERVICE    VERSION
21/tcp open  tcpwrapped

Nmap finished: 1 IP address (1 host up) scanned in 0.552 seconds

Whereas from BCN itself, we get this:

Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2006-02-28 12:22 EST
Interesting ports on [hostname] ([IP address]):
PORT   STATE  SERVICE VERSION
21/tcp closed ftp

Nmap finished: 1 IP address (1 host up) scanned in 0.588 seconds

So it's a very strange port situation. I think the
'tcpwrapped' bit is a clue of some sort. I can't google an
answer about what that means. Any ideas?

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060228/efcda91a/attachment.pgp


More information about the Linux-disciples mailing list