Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 18th, 2012  |  syntax: None  |  size: 1.57 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ## puppet server
  2.  
  3. [root@puppet ~]# netstat -tapn | grep -i listen
  4. tcp        0      0 0.0.0.0:10080               0.0.0.0:*                   LISTEN      2381/xinetd        
  5. tcp        0      0 0.0.0.0:8140                0.0.0.0:*                   LISTEN      1694/ruby          
  6. tcp        0      0 0.0.0.0:8012                0.0.0.0:*                   LISTEN      1362/python2.6      
  7. tcp        0      0 0.0.0.0:8013                0.0.0.0:*                   LISTEN      1362/python2.6      
  8. tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      3606/httpd          
  9. tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1438/sshd          
  10. tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN      1156/cupsd          
  11. tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1181/sendmail: acce
  12. tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LISTEN      3606/httpd          
  13.  
  14.  
  15.  
  16. ## nmap of puppet server
  17.  
  18.  
  19. [tim@host:~]#sudo nmap -P0 xx.xx.xxx.xxx
  20.  
  21. Starting Nmap 5.21 ( http://nmap.org ) at 2011-05-12 14:32 EDT
  22. Nmap scan report for ec2-xx-xx-xxx-xxx-compute-1.amazonaws.com (xx.xx.xxx.xxx)
  23. Host is up (0.036s latency).
  24. Not shown: 993 filtered ports
  25. PORT      STATE  SERVICE
  26. 22/tcp    open   ssh
  27. 80/tcp    closed http
  28. 389/tcp   closed ldap
  29. 443/tcp   closed https
  30. 3306/tcp  closed mysql
  31. 5432/tcp  closed postgresql
  32. 10082/tcp closed amandaidx
  33.  
  34. Nmap done: 1 IP address (1 host up) scanned in 6.37 seconds