
Untitled
By: a guest on
Jul 18th, 2012 | syntax:
None | size: 1.57 KB | hits: 10 | expires: Never
## puppet server
[root@puppet ~]# netstat -tapn | grep -i listen
tcp 0 0 0.0.0.0:10080 0.0.0.0:* LISTEN 2381/xinetd
tcp 0 0 0.0.0.0:8140 0.0.0.0:* LISTEN 1694/ruby
tcp 0 0 0.0.0.0:8012 0.0.0.0:* LISTEN 1362/python2.6
tcp 0 0 0.0.0.0:8013 0.0.0.0:* LISTEN 1362/python2.6
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 3606/httpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1438/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1156/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1181/sendmail: acce
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 3606/httpd
## nmap of puppet server
[tim@host:~]#sudo nmap -P0 xx.xx.xxx.xxx
Starting Nmap 5.21 ( http://nmap.org ) at 2011-05-12 14:32 EDT
Nmap scan report for ec2-xx-xx-xxx-xxx-compute-1.amazonaws.com (xx.xx.xxx.xxx)
Host is up (0.036s latency).
Not shown: 993 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp closed http
389/tcp closed ldap
443/tcp closed https
3306/tcp closed mysql
5432/tcp closed postgresql
10082/tcp closed amandaidx
Nmap done: 1 IP address (1 host up) scanned in 6.37 seconds