Linux inetd Server

Source: Internet
Author: User

Linux inetd server inetd (Internet super server) inetd is a daemon that monitors some network requests. It calls corresponding service processes to process connection requests based on network requests. It can manage connections for multiple services. When inetd receives a connection, it can determine the program required for the connection and start the corresponding process, and leave the socket to it (the service socket will be used as the standard input, output, and error output descriptor of the program ). Using inetd to run services with no heavy load helps reduce system load, because it does not need to start independent service programs for each service. In general, inetd is mainly used to start other service programs, but it also has the ability to directly process some simple services, such as chargen, auth, and daytime. Inetd is started through the rc system. The inetd_enable option is set to NO by default, but it can be enabled by the user through sysinstall as needed during system installation. Inetd. conf is the configuration file of inetd. The inetd. conf file tells inetd which network ports are listened for and which service is started for each port. To use Linux in any network environment, the first thing to do is to understand what services the server will provide. Services that are not needed should be disabled. It is best to uninstall them so that hackers will lose some chance to attack the system. View the "/etc/inetd. conf" file to learn about the services provided by inetd. Add a comment (add the # sign at the beginning of a line) to prohibit unnecessary services and send a SIGHUP signal to the inetd process. Of course, the/etc/inetd may not be found in a slightly newer operating system. conf is replaced by/etc/xinetd. conf, the default configuration file of xinetd is/etc/xinetd. conf. Its syntax is completely different from/etc/inetd. conf and is not compatible. It is essentially a combination of/etc/inetd. conf and/etc/hosts. allow,/etc/hosts. deny. Each item in/etc/xinetd. conf has the following form: service-name {.......} The service is a required keyword, and the attribute table must be enclosed in braces. Each item defines a service defined by service-name.

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.