Additional management project for Superdaemon of Red Hat (RedHat) Linuxrhel5

Source: Internet
Author: User
We know that the standalone startup method can process the maximum number of concurrent users through the max_clients and max_per_ip parameters. But what if it is managed by superdaemon? The xinetd syntax must be used. If you use superdaemon to manage vsftpd, you must first modify the "listen" project in vsftpd. conf. Then do this: [root

We know that the stand alone startup method can process the maximum number of concurrent users through the max_clients and max_per_ip parameters. But what if it is managed by super daemon? The xinetd syntax must be used. If you use super daemon to manage vsftpd, you must first modify the "listen" project in vsftpd. conf. Then, do the following:

[Root @ linux ~] # Vi/etc/xinetd. d/vsftpd

# Vsftpd is the secure FTP server.

Service ftp

{

Disable = no

Socket_type = stream

Wait = no

User = root

Server =/usr/sbin/vsftpd

Server_args =/etc/vsftpd. conf

# Set the server above according to your host environment!

# For server_args, write the complete shard name in your vsftpd configuration file!

Per_source = 5 <= related to the number of connections of the same IP address

Instances = 200 <= maximum number of online connections at the same time

No_access = 192.168.1.3

Banner_fail =/etc/vsftpd. busy_banner

# The above file is the content displayed on the Client when the host is busy!

Log_on_success + = PID HOST DURATION

Log_on_failure + = HOST

}

[Root @ linux ~] # Vi/etc/vsftpd. conf

# Make sure this parameter exists in this file!

Listen = NO

[Root @ linux ~] # Vi/etc/vsftpd. busy_banner

421 sorry, there are too many people on the server now. Please try again later!

# That 421 is the error code!

[Root @ linux ~] #/Etc/init. d/vsftpd stop

[Root @ linux ~] #/Etc/init. d/xinetd restart

So you can set it! With a simple set action, you can make vsftpd more secure!

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.