Click to See Complete Forum and Search --> : Need a simple port scanner


magyartoth
02-01-2001, 06:04 PM
Hi, is there a simple, command line port scanner out there that will give me a list of all my open ports and the daemons that are bound to them?

Thanks!

Letalis
02-01-2001, 06:55 PM
nmap

Fandelem
02-01-2001, 07:37 PM
and if you would like the link, chuckle, it is http://www.insecure.org/nmap

regards,

~kyle

Pika
02-01-2001, 08:17 PM
nmap is a very good 3rd party port scanner.

although it sounds like you are looking for the 'netstat' command. It will also give you the process bound to the open port.

I like to use

netstat -an | grep listen

that will tell me what ports are open and listening for connections.

Craig McPherson
02-01-2001, 09:08 PM
nmap -sT -sU -IO -p 1- YOURIPADDRESS

Remember, you need to scan from outside your firewall/local net (like, over the Internet) to get a clear picture of what your box looks like to the world.