SBDavid
May 21st, 2009
May 21st, 2009
Detecting Listening Network Ports
Detecting Listening Network Ports
One of the most important tasks is to detect and close network ports that are not needed.
To get a list of listening network ports (TCP and UDP sockets), you can run the following command:
netstat -tulp
Running a port scan from another server. (make sure that you have permissions to probe a machine):
# nmap -sTU