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.