Thursday, 3 September 2009

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

No comments:

Post a Comment