The most comprehensive vsftpd problem set in history (Part II)

Source: Internet
Author: User
Tags ftp commands

VsftpdIs the most popular FTP server program in the Linux release. Features: small, light, secure, and easy to use. Vsftpd is too easy to use. If you don't have any friends, you will be out of date and the speed will be loaded. Next we will take a Q & A form to answer questions about vsftpd. All the friends who have read this article know the strength of the next article.

Q1)Help! Vsftpd displays GMT instead of local time!

A) This can be solved by setting use_localtime = YES.

Q2)Help! Can I disable some FTP commands?

A) Yes. There are some separate options (such as dirlist_enable), or you can use the cmds_allowed option to specify the allowed command set.

Q3)Help! Can I change the working port of vsftpd?

A1) Yes. If you run vsftpd in standalone mode, you can use the listen_port option in vsftpd. conf (specify the port ).

A2) Yes. If vsftpd is run in inetd or xinetd mode, inetd or xinetd is responsible for this problem. You must modify the configuration file of inetd or xinetd (possibly/etc/inetd. conf or/etc/xinetd. d/vsftpd ).

Q4)Help! Can vsftpd be verified using the LDAP server? Or use the Mysql database?

A) Yes. Vsftpd can be verified using PAM, so you need to configure PAM to use the pam_ldap or pam_mysql module. This includes installing the PAM module, and then editing the PAM Configuration File (possibly/etc/pam. d/vsftpd) of vsftpd ).

Q5)Help! Does vsftpd support per-IP limits?

A1) Yes. If you run vsftpd in standalone mode, you can use the max_per_ip option.

A2) Yes. If you run vsftpd in xinetd mode, you can use the xinetd configuration parameter per_source.

Q6)Help! Does vsftpd support bandwidth restrictions?

A) supported. See the "anon_max_rate" and "local_max_rate" options in man help (vsftpd. conf.5.

Q7)Help! Does vsftpd support IP-based Access Control?

A1) can be combined with tcp_wrappers implementation (provided that tcp_wrappers is added for compilation ). Enable tcp_wrappers = YES.

A2) Run vsftpd in xinetd mode. xinetd can be combined with tcp_wrappers.

Q8)Help! Does vsftpd support IPv6?

A) It is supported from version 1.2.0. See the man help of vsftpd. conf.

Q9)Help! Vsftpd compilation failed. The error is-lcap (unable to find-lcap) cannot be found ).

A) install libcap package and try again. It seems that Debian users have encountered more problems.

Q10)Help! My configuration file is/etc/vsftpd. conf, but it does not seem to work!

A) The RedHat user will encounter this problem-in some RedHat versions, the vsftpd configuration file is/etc/vsftpd. conf.

Q11)Help! Vsftpd compilation fails, and sysutil. c contains incomplete types (types ).

A) Your system may not support IPv6. You can either use the earlier version of vsftpd (for example, v1.1.3) in a modern (IPv6-supported) system or use a version without this problem.

Q12)Help! When downloading (especially a large number of small files), you can see a lot of such information: "500 OOPS: vsf_sysutil_bind ".

A) The vsftpd-1.2.1 has solved this problem.

Q13)Help! Can vsftpd hide or deny access to certain files?

A) Yes. Look at the hide_file and deny_file options in the man help of vsftpd. conf.

Q14)Help! Does vsftpd support FXP?

A) supported. The FTP server supports FXP without special configuration. However, due to the security restrictions of vsftpd on IP addresses, you may not succeed. To relax this restriction, see the pasv_promiscuous (and port_promiscuous, which is not recommended) option in the man help (vsftpd. conf.5) of vsftpd. conf.

Q15)......

A) To learn more about vsftpd, read the man help and configuration of vsftpd. conf.

After reading the above, I think all your doubts have been solved. I hope it will be of great help to you!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.