PDA

View Full Version : How is vsftp working


zarrelli
22nd July 2006, 15:11
Hi,

I installed vsftpd for ISPConfig and I have some questions.

I saw there are 3 vsftpd configuration file.

One is the "classic" vsftpd.conf

One is vsftpd_your_ip.conf

One is vsftpd_127.0.0.1.conf

Well. I have not the vsftpd_127.0.0.1

If I undestand correctly, each on carries the configuration for the ip of the server which is related to. But what's the practical use that lead to have a 127.0.0.1 configuration file? I think is for the web_ftp, but if it's so, what is required in 127.0.0.1 that is not required for the external ip and viceversa?

Second question: where is the home directory of the anonymous ftp user?

Thank you a lot.

Giorgio

TheRudy
22nd July 2006, 15:16
open them and look what's different :)
anonymouse home is i think at /home/ftp

Be aware that vsftp support only 1 anonymouse account if i'm not mistaken..

zarrelli
22nd July 2006, 15:29
open them and look what's different :)
anonymouse home is i think at /home/ftp

Be aware that vsftp support only 1 anonymouse account if i'm not mistaken..

Ahahahah, I opened them. Just wanted to know why they were made two and not 1, it's not clear.

Vsftpd supports only 1 account per server. Proftpd one account per IP. Since I have 1 IP, they are the same for me. Moreover, Vsftp is faster and more reliable, in security, than Proftpd.

Curious: I have no vsftp_127.0.0.1 and dont' see difference. Well, there's a difference: ftp on 127.0.0.1 now works with anonymous and guest (giving chmod -R a-w /home/ftp), but ftp from outside on the public ip of the server does'nt give me anonymous access.

falko
24th July 2006, 00:05
What's the output of ls -l /etc?
BTW, ISPConfig has much better support for ProFTPd than for vsftpd, so you should consider switching to ProFTPd.