Hello, I cant FTP to my server anymore. I dont know where to look. PASS ******** 530 Login incorrect. No matter what i do. It also seems like pure-ftpd listens to only one of my two ip's. In which conf or log-files should i look? Thanks!
What's the output of Code: netstat -tap and Code: iptables -L ? Did you try both active and passive transfers in your FTP client?
The server responds with 530 Login incorrect. So my ports is open. Netstat. tcp 0 0 *:ftp *:* LISTEN iptables. Code: fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh ACCEPT all -- anywhere anywhere ACCEPT tcp -- anywhere anywhere tcp flags:ACK/ACK ACCEPT all -- anywhere anywhere state ESTABLISHED ACCEPT all -- anywhere anywhere state RELATED ACCEPT udp -- anywhere anywhere udp spt:domain dpts:1024:65535 ACCEPT icmp -- anywhere anywhere icmp echo-reply ACCEPT icmp -- anywhere anywhere icmp destination-unreachable ACCEPT icmp -- anywhere anywhere icmp source-quench ACCEPT icmp -- anywhere anywhere icmp time-exceeded ACCEPT icmp -- anywhere anywhere icmp parameter-problem ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ACCEPT tcp -- anywhere anywhere tcp dpt:auth ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data ACCEPT tcp -- anywhere anywhere tcp dpt:ftp ACCEPT tcp -- anywhere anywhere tcp dpt:smtp ACCEPT tcp -- anywhere anywhere tcp dpt:domain ACCEPT tcp -- anywhere anywhere tcp dpt:www ACCEPT tcp -- anywhere anywhere tcp dpt:pop3 ACCEPT tcp -- anywhere anywhere tcp dpt:imap2 ACCEPT tcp -- anywhere anywhere tcp dpt:https ACCEPT tcp -- anywhere anywhere tcp dpt:mysql ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt ACCEPT tcp -- anywhere anywhere tcp dpt:webmin ACCEPT udp -- anywhere anywhere udp dpt:mysql ACCEPT udp -- anywhere anywhere udp dpt:domain ACCEPT icmp -- anywhere anywhere icmp echo-request DROP tcp -- anywhere anywhere tcp dpts:nfs:2050 DROP tcp -- anywhere anywhere tcp dpts:x11:6063 DROP tcp -- anywhere anywhere tcp dpts:afs3-fileserver:7010 ACCEPT tcp -- anywhere anywhere tcp dpts:1024:65535 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 The response: Code: 220 ProFTPD 1.3.1 Server (Debian) [::ffff:xxx.xxx.xxx.xxx] USER xxxxx 331 Password required for xxxxx PASS ******** 530 Login incorrect.
Yes. It used to work. Just stopped working. The FTP should not respond with Login incorrect regardless of passive or active.
pure-ftpd or proftpd Just out of curiosity, in your original post you mention pure-ftpd, but later paste in a response screen from proftpd. I'm not suggesting anything, but this sure seems strange...
Strange! You're right! I will look in to that! Edit: I'm so stupid. Used the wrong IP... I have two ips. And i tried both... but both was wrong. Sorry for taking your time.