Greetings,
When logging into my VSFTPD server, my clients recieve this:
220 (vsFTPd 2.0.5) Name (------): user 331 Please specify the password. Password: 421 Service not available, remote server has closed connection Login failed.
vsftpd logs show that everything went ok:
Sat Sep 12 15:52:02 2009 [pid 1131] CONNECT: Client "" Sat Sep 12 15:52:02 2009 [pid 1131] FTP response: Client "", "220 (vsFTPd 2.0.5)" Sat Sep 12 15:52:04 2009 [pid 1131] FTP command: Client "", "USER user" Sat Sep 12 15:52:04 2009 [pid 1131] [user] FTP response: Client "", "331 Please specify the password." Sat Sep 12 15:52:06 2009 [pid 1131] [user] FTP command: Client "", "PASS <password>" Sat Sep 12 15:52:06 2009 [pid 1130] [user] OK LOGIN: Client ""
/etc/shells is correct, there is no chroot user list involved, there are no pam-auth error events in /var/log/secure.
In fact, just for giggles, i made all of the possible auth errors that i know of and they generally provide a very explicit error: "530 Login incorrect."
I have restricted the port range for passv and opened iptables, ip_conntrack_ftp (sp?) is loaded, and port 20 and 21 are opened.
Anyone seen this similar?
Regards, Eugene Vilensky evilensky@gmail.com
2009/9/12 Eugene Vilensky evilensky@gmail.com:
I have restricted the port range for passv and opened iptables, ip_conntrack_ftp (sp?) is loaded, and port 20 and 21 are opened.
I'm not sure it can solve the problem, but I recommend loading ip_nat_ftp instead.