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.
to integrate vsftpd with xinetd we need to take following steps.
1). Create a file /etc/xinetd.d/vsfpt with the following entries
# default: off
# description: The vsftpd FTP server serves FTP connections. It uses \
# normal, unencrypted usernames and passwords for authentication.
service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
nice = 10
#allow only 10.1.10.2 machine
only_from = 10.1.10.2
}
2). Edit your /etc/vsftpd/vsftpd.conf file and comment out line
with “listen=YES”
3). Restart or reload the xinetd service.
/sbin/service xinetd reload
Now test your configuration with
netstat -a |grep ftp
also
To avoid port conflict at boot time turn off the vsftpd service
chkconfig vsftpd off
As of now our vsftpd is integrated with xinetd make sure that xinetd
starts automatically.
chkconfig xinetd on
Anuj Singh
… you have a very nice Site – Please visit my Webpage under Butzelnews Thanks and Greetings from Germany