XINETD configuration file

Source: Internet
Author: User
Tags syslog

XINETD is a super Guardian process
XINETD is extended Internet daemon,xinetd is a new generation of Network Daemon service program, also known as Super Internet server. Often used to manage multiple

Type of lightweight Internet service. XINETD provides functionality similar to Inetd+tcp_wrapper, but is more powerful and secure.


Master configuration file/etc/xinetd.conf


Defaults//The default configuration is also the global configuration{# The next items is intended to is a quick access place to# temporarily enable or disable services.## Enab LED=//yes means enable# disabled =//no means enable# Define General logging characteristics. Log_type= SYSLOG DaemonInfo             //log Type default syslog, level infoLog_on_failure = HOST//Login failed record host namelog_on_success = PID HOST DURATION EXIT//Login Success Log process pid, host, duration, exit information# Define Access restriction defaults## no_access=//Forbidden Host, network# Only_from =//only host networks allowed to access# max_load =0                //with a floating-point number as the load factor, when the load is reached within 1 minutes, the service//will cease processing subsequentCPS = - Ten                //more than 50 link requests per second, waiting 10 secondsinstances = -                //Maximum number of connections allowed for the same servicePer_source =Ten                //maximum number of allowed connections for the same client# Address and Networking defaults//Network Settings# # Bind=//the host IP of the binding, if the machine has multiple IPs, you can select a# MDNs = yes//support for multicast DNSV6only = No//whether to support IPV6# Setup Environmental attributes//Setting Environment Variables# # Passenv=//a table of environment variables in the XINETD environment that is passed to the service when it is activated.         groups= yes//Set group nameUmask =002                 //Set file permission mask# Generally, banners is not used. This sets up their global defaults## banner=//the information that is displayed when the connection is established, where the file path is filled# Banner_fail =//establish the connection failure display information, here fill in the file path# banner_success =//to establish a successful connection display, fill in the file path}includedir/etc/xinetd.d//contains the configuration under the/etc/xinetd.d path


The xinetd daemon reads the configuration information in the/etc/xinetd.d/, and the other unspecified parameters are set by the default configuration in/etc/xinetd.conf.

Transient process configuration file/etc/xinetd.d/*

Telnet configuration file/etc/xinetd.d/telnet

Service telnet{Disable= No//enabledFlags = Reuse//reuse is enabled by defaultSocket_type = Stream//TCP  wait= yes//allow multiple processes to respond to requestsuser = root//users running the serviceServer =/usr/sbin/inch. telnetd//binary file path for the serviceOnly_from =192.168.136.0/ -        //only which IP or network access is allowedNo_access =//which users are not allowed access,Access_time = ,:xx- +:xx            //what time periods are allowed to access the serviceBind =192.168.136.135        //Binding IPPer_source =Ten                //Maximum allowable requests per IPCPS =Ten   -            //Maximum allowed access per second, more than 30 seconds to waitBanner =/etc/telnet.banner//information displayed when logging inLog_type = File/var/log/telnet.log//custom log file pathLog_on_failure + = USERID//If the login fails, then the ID of the user is logged}

XINETD configuration file

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.