Detailed description of proftpd Structure

Source: Internet
Author: User

 

Figure-ProFTPD

Structure of proftpd

The architecture of this proftpd server is also very simple! We only need to set up one example. Let's talk about the example that should be paid attention to by proftpd!

Proftpd. conf: This is the major proftpd settings! In the RPM Security example, the object is/etc/proftpd. conf. In this example, it is stored in/usr/local/proftpd/etc/proftpd. conf is running! The proftpd settings we are about to launch are all set in this case. In fact, the setting method of his role has been very difficult in this proftpd. conf example! Proftpd also provides very informative file resources. If you use RPM to secure your proftpd, in this case, the file is stored in/usr/share/doc/proftpd-"version"/Configuration.html, if you use the Tarball security rule in/usr/local/src/proftpd-"version"/Configuration.html. However, it should be clear that it is too difficult to understand ~ You only need to know some of the main settings! This is what we want to introduce later!

Proftpd: This is the main daemon Statement of proftpd! We have to trigger him! In addition, this is also the name of the Service case in the settings of TCP Wrappers (/etc/hosts. deny (allow. In addition, when proftpd is active, it will fetch the preset parameter, that is, proftpd. conf, but we can also specify other cases to set up proftpd! If this is the case, it is necessary to trigger proftpd like this: [root @ test root] # proftpd-c to set the role name

[Root @ test root] # proftpd-c/usr/local/proftpd/etc/proftpd. conf

Ftpcount:Currently, you can use the limit number of proftpd on the master machine. You can use the limit of ftpcount in the Command column!

Ftpshut: Specifies how long the proftpd server will wait! Sometimes we need to renew the FTP host, right! So you need to shut down! You can use this ftpshut command before shutting down the ftp server! The following method is used: [root @ test root] # ftpshut [-l minute break]-d [minute break] Time "minute break"

Data Description:

-L: the number of minutes before the FTP server is shut down to the server. New FTP administrators in zookeeper are not accepted.

-D: the number of minutes before the FTP server is shut down to the server, and the established FTP quota will be stopped.

Time: When or after the hour, the FTP server will be shut down for the FTP server! There are two formats:

+ Number: After the number is reached, the FTP will close the website.

MMHH: During the MM: HH period today, FTP will close

Interest: information displayed to the user!

Example:

Example 1:

# After 180 minutes, FTP will shut down and the first 20 minutes before the shutdown will no longer be accepted,

# The created token is used to encrypt the token 10 minutes before the host is shut down, and displayed on the client:

# FTP will shutdown at time

[Root @ test root] # ftpshut-l 20-d 10 + 180 "This FTP will shutdown at time"

In fact, ftpshut will establish a case, that is,/etc/shutmsg. Remember this case ?! In the previous chapter, the most simple ftpaccess settings in the settings of the Wu FTP master machine, the content mentioned in the eighth section, haha! No! This is the case! If you want to re-activate the FTP server, you only need to delete this case or modify the relevant data in this case! Please refer to the previous chapter for more information!

Ftpwho: You can use it to check the number of users using the proftpd service! You can directly perform the ftpwho command by using the dispatch method, as shown below:

[Root @ test root] # ftpwho

Standalone FTP daemon [8451]:

10194 badbird [0m11s] 0m6s (idle)

Service class-1 user

# As shown above, a user named badbird is currently using proftpd!

That's all about it!

Through the introduction in the bird's article, we clearly know that the structure of proftpd is composed of five major points. I hope everyone can use them!

  • Proftpd: create a special communication account
  • Proftpd. conf settings for anonymous users
  • Proftpd. conf settings for entity users
  • Proftpd. conf setting method
  • The simplest Proftpd. conf configuration file
  • Install, configure, and manage proftpd in Linux
  • ProFtpd Getting Started Guide
  • Start ProFTPD)

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.