Step 2
Double Checking the open ports on your system:
Next lets look at what the networking is doing and see what ports on the machine are actually open. 
You should run "netstat -pla" and examine the results to examine the ports on your machine. 
The following is an example:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 *:mysql                 *:*                     LISTEN      7893/mysqld
tcp        0      0 *:webcache              *:*                     LISTEN      3650/httpd          
tcp        0      0 *:http                  *:*                     LISTEN      1363/httpd          
tcp        0      0 *:tproxy                *:*                     LISTEN      3650/httpd          
tcp        0      0 whitestar.red-dr:domain *:*                     LISTEN      7970/named          
tcp        0      0 *:ftp                   *:*                     LISTEN      678/xinetd          
tcp        0      0 *:ssh                   *:*                     LISTEN      626/sshd            
tcp        0    144 whitestar.red-drago:ssh kosh.red-dragon.co:1956 ESTABLISHED 7800/sshd           
udp        0      0 *:1026                  *:*                                 7970/named          
udp        0      0 whitestar.red-dr:domain *:*                                 7970/named          
 
I will break down a line and show you what it means. 
tcp        0      0 *:mysql                 *:*                     LISTEN      7893/mysqld
 
You should know all of the ports that are open on your machine and only have those open that you require. If 
you see something that you dont recognize you should investigate it and determine if it is needed and handle it 
appropriately as circumstances dictate. 
Should you find something there that shouldn't be running or open you should eliminate it.
 |