View Single Post
  #14  
Old 18th April 2012, 15:32
cyprus cyprus is offline
Member
 
Join Date: Oct 2011
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

netstap:
Quote:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 1936/mysqld
tcp 0 0 *op3 *:* LISTEN 2700/dovecot
tcp 0 0 *:imap2 *:* LISTEN 2700/dovecot
tcp 0 0 *:http-alt *:* LISTEN 5204/nginx
tcp 0 0 *:www *:* LISTEN 5204/nginx
tcp 0 0 *:webmin *:* LISTEN 2230/perl
tcp 0 0 *:tproxy *:* LISTEN 5204/nginx
tcp 0 0 localhost:9010 *:* LISTEN 2046/php-fpm: pool
tcp 0 0 localhost:9011 *:* LISTEN 2066/php-fpm: pool
tcp 0 0 localhost:9012 *:* LISTEN 2129/php-fpm: pool
tcp 0 0 *:ftp *:* LISTEN 2620/pure-ftpd (SER
tcp 0 0 localhost:9013 *:* LISTEN 2107/php-fpm: pool
tcp 0 0 squeeze.xxxxx.co:domain *:* LISTEN 1603/named
tcp 0 0 localhost:domain *:* LISTEN 1603/named
tcp 0 0 localhost:9014 *:* LISTEN 2087/php-fpm: pool
tcp 0 0 *:ssh *:* LISTEN 1904/sshd
tcp 0 0 localhost:smtp *:* LISTEN 2652/master
tcp 0 0 localhost:953 *:* LISTEN 1603/named
tcp 0 0 squeeze.xxxxx.com:11613 *:* LISTEN 5344/pure-ftpd (IDL
tcp 0 0 *:imaps *:* LISTEN 2700/dovecot
tcp 0 0 *op3s *:* LISTEN 2700/dovecot
tcp 0 0 localhost:10024 *:* LISTEN 2401/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 2652/master
tcp 0 0 localhost:mysql localhost:36010 ESTABLISHED 1936/mysqld
tcp 0 48 squeeze.xxxx.com:ssh chello21015:53157 ESTABLISHED 5624/sshd: cyprus [
tcp 0 0 localhost:mysql localhost:35967 ESTABLISHED 1936/mysqld
tcp 0 0 squeeze.xxxx.com:ftp chello21015:51359 ESTABLISHED 5344/pure-ftpd (IDL
tcp 0 0 localhost:35967 localhost:mysql ESTABLISHED 2402/amavisd (ch2-a
tcp 54 0 localhost:60201 localhost:10025 CLOSE_WAIT 2403/amavisd (ch1-a
tcp 0 0 localhost:36010 localhost:mysql ESTABLISHED 2403/amavisd (ch1-a
tcp6 0 0 [::]:ftp [::]:* LISTEN 2620/pure-ftpd (SER
tcp6 0 0 [::]:domain [::]:* LISTEN 1603/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 1904/sshd
tcp6 0 0 ip6-localhost:953 [::]:* LISTEN 1603/named
iptables L
Quote:
Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
fail2ban-dovecot-pop3imap tcp -- anywhere anywhere multiport dports pop3,pop3s,imap2,imaps

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-dovecot-pop3imap (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Thanx
Reply With Quote