View Full Version : Checking for open ports
30th November 2004, 02:28 PM
I have two questions regarding open ports:
(1) How can I check which ports are open on my machine?
(2) Are there any log-files that log connections to open ports?
30th November 2004, 02:36 PM
typing 'netstat -an' will show you the listening and open ports. I would be more concerned with ports listening on 0.0.0.0 (all interfaces) than those on 127.0.0.1 (localhost). Here you will see all open and listening ports from the box.
30th November 2004, 02:55 PM
Nmap is a great tool for this.
Run in terminal: nmap -sS -v -p- 127.0.0.1
If you have FedoraCore3 you can use NetworkTools -> Port scan. Use 127.0.0.1
30th November 2004, 03:46 PM
netstat -tuapen | grep LISTEN
That's a pretty granular way of getting what you want. I think I found that on another thread here..just search more before you post =P
30th November 2004, 04:19 PM
Also try[root@pc50511 root]# lsof -i
30th November 2004, 05:41 PM
Buy a $30 router. All you ports are now closed to the outside world, yay!
1st December 2004, 04:04 AM
There are a variety of port scanners on the web that scan common ports.
One of these is the security risks checker from Symantec (http://securityresponse.symantec.com/).
2nd December 2004, 05:19 PM
Thank's for all the answers!
The security checker from Symantec seems to work only for Windows systems.
2nd December 2004, 05:34 PM
Also check the securtiy site www.grc.com
And do the Shields up test (http://www.grc.com/default.htm).
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.