XINETD - Extended Internet Service Daemon
The xinetd daemon is a TCP-wrapped super service which controls access to a subset of popular network services, including FTP, IMAP, and Telnet. It also provides service-specific configuration options for access control, enhanced logging, binding, redirection, and resource utilization control.
Best Linux Training Institute in Gurgaon...
HOW DOES IT WORKS ?
When a client attempts to connect to a network service
controlled by xinetd, the super service receives the request and checks for any
TCP Wrappers access control rules.
If access is allowed, xinetd verifies that the connection is
allowed under its own access rules for that service. It also checks that the
service is able to have more resources assigned to it and that it is not in
breach of any defined rules.
If all these conditions are met (that is, access is allowed to the service; the service has not reached its resource limit; and the service is not in breach of any defined rule), xinetd then starts an instance of the requested service and passes control of the connection to it. After the connection has been established, xinetd takes no further part in the communication between the client and the server.
Following are important configuration files for xinetd:
·/etc/xinetd.conf
– The global xinetd configuration file.
·/etc/xinetd.d/ – The directory containing all service-specific files such as ftp,rsync etc.
[root@ap2v ~]# cat /etc/xinetd.d/rsync
#
default: off
# description: The rsync server is a good addition to an ftp
server, as it allows crc checksumming etc.
service rsync
{
port = 873
disable = no
flags = IPv6
socket_type = stream
wait = no
user = root
server =
/usr/bin/rsync
server_args = --daemon -–config = /etc/rsync.conf
log_on_failure += USERID

Comments
Post a Comment