Thread: FTP issue
View Single Post
  #5  
Old 21st May 2009, 08:16
SlowJamz SlowJamz is offline
Junior Member
 
Join Date: May 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HI,

netstat -tap
Code:
(No info could be read for "-p": geteuid()=1000 but you should be root.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      -
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      -
tcp        0      0 *:mysql                 *:*                     LISTEN      -
tcp        0      0 localhost.localdo:spamd *:*                     LISTEN      -
tcp        0      0 *:http-alt              *:*                     LISTEN      -
tcp        0      0 *:www                   *:*                     LISTEN      -
tcp        0      0 *:ftp                   *:*                     LISTEN      -
tcp        0      0 servas.sakiai.co:domain *:*                     LISTEN      -
tcp        0      0 localhost.locald:domain *:*                     LISTEN      -
tcp        0      0 *:ssh                   *:*                     LISTEN      -
tcp        0      0 *:smtp                  *:*                     LISTEN      -
tcp        0      0 *:https                 *:*                     LISTEN      -
tcp        0      0 localhost.localdo:51870 localhost.localdo:mysql ESTABLISHED -
tcp        0     52 servas.sakiai.com:ssh   192.168.0.33:49455      ESTABLISHED -
tcp       54      0 localhost.localdo:33743 localhost.localdo:10025 CLOSE_WAIT  -
tcp        0      0 localhost.localdo:58950 localhost.localdoma:www TIME_WAIT   -
tcp        0      0 localhost.localdo:mysql localhost.localdo:51870 ESTABLISHED -
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      -
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      -
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      -
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      -
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      -
tcp6       0      0 localhost:domain        [::]:*                  LISTEN      -
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      -
tcp6       0      0 localhost:44640         localhost:domain        TIME_WAIT   -
tcp6       0      0 localhost:45230         localhost:ftp           TIME_WAIT   -
iptables -L

Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
fail2ban-ssh  tcp  --  anywhere             anywhere            multiport dports ssh

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

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