View Single Post
  #17  
Old 11th August 2011, 13:15
Cracklefish Cracklefish is offline
Member
 
Join Date: Mar 2009
Posts: 95
Thanks: 8
Thanked 3 Times in 3 Posts
Default

netstst -tap gives:

Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 *:sunrpc                *:*                     LISTEN      1597/rpcbind        
tcp        0      0 *:ftp                   *:*                     LISTEN      2348/pure-ftpd (SER 
tcp        0      0 xxxxxx.c:domain         *:*                     LISTEN      1957/named          
tcp        0      0 xxxxxx.c:domain         *:*                     LISTEN      1957/named          
tcp        0      0 localhost:domain        *:*                     LISTEN      1957/named          
tcp        0      0 *:ssh                   *:*                     LISTEN      1647/sshd           
tcp        0      0 localhost:ipp           *:*                     LISTEN      2196/cupsd          
tcp        0      0 *:smtp                  *:*                     LISTEN      2431/master         
tcp        0      0 localhost:953           *:*                     LISTEN      1957/named          
tcp        0      0 localhost:10024         *:*                     LISTEN      1769/amavisd (ch19- 
tcp        0      0 localhost:10025         *:*                     LISTEN      2431/master         
tcp        0      0 *:mysql                 *:*                     LISTEN      2121/mysqld         
tcp        0      0 localhost:dyna-access   *:*                     LISTEN      1664/clamd          
tcp        0      0 xxxxxx.co.u:ssh         192.168.1.38:49365      ESTABLISHED 12784/0             
tcp        0      0 localhost:mysql         localhost:46246         ESTABLISHED 2121/mysqld         
tcp        0      0 localhost:46246         localhost:mysql         ESTABLISHED 1864/amavisd (ch6-a 
tcp        0      0 localhost:36800         localhost:mysql         ESTABLISHED 1769/amavisd (ch19- 
tcp        0      0 localhost:mysql         localhost:36800         ESTABLISHED 2121/mysqld         
tcp        0      0 *:sunrpc                *:*                     LISTEN      1597/rpcbind        
tcp        0      0 *:http-alt              *:*                     LISTEN      8219/httpd2-prefork 
tcp        0      0 *:www-http              *:*                     LISTEN      8219/httpd2-prefork 
tcp        0      0 *:sunproxyadmin         *:*                     LISTEN      8219/httpd2-prefork 
tcp        0      0 *:ftp                   *:*                     LISTEN      2348/pure-ftpd (SER 
tcp        0      0 *:domain                *:*                     LISTEN      1957/named          
tcp        0      0 *:ssh                   *:*                     LISTEN      1647/sshd           
tcp        0      0 localhost:ipp           *:*                     LISTEN      2196/cupsd          
tcp        0      0 *:smtp                  *:*                     LISTEN      2431/master         
tcp        0      0 localhost:953           *:*                     LISTEN      1957/named          
tcp        0      0 *:https                 *:*                     LISTEN      8219/httpd2-prefork 
tcp        0      0 *:microsoft-ds          *:*                     LISTEN      2367/smbd           
tcp        0      0 *:netbios-ssn           *:*                     LISTEN      2367/smbd           
tcp        0      0 xxxxxx:microsoft-ds 77-20-140-17:omnivision ESTABLISHED 12994/smbd
iptables -L gives

Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Thanks for the help.
Reply With Quote