Xinetd

Xinetd has nothing in common with the multimedia player xine. It is a successor of inetd a Internet service daemon. Inetd requires additionally a wrapper daemon, xinetd has it integrated. If you have servers installed for Internet services, then different ways are possible:

  1. Every server waits actively and listens to its IP port and uses unnecessarily resources of your computer

  2. One central IP port listener is active and wakes up the corresponding Internet service server when requests are arriving. This is the work of xined!

  3. Last but not least and whats probably on your computer both method above are installed and hopefully do not conflict. Some well known Internet services as apache2 do not require an Internet service daemon.

After emerge xinetd check out the /etc/xinetd.conf file where you have to make sure that the following line

#only_from = localhost

is commented. In the /etc/xinetd.d directory where every service has a file (/etc/xinetd.d/telnetd) make sure that

disable = no

Then start the daemon /etc/init.d/xinetd start or automatically

rc-update add xinetd default

And after having done some modifications do a /etc/init.d/xinetd restart

To know what services are behind the different IP ports see /etc/services

There are files configure who has access rights. A good strategy is deny everything and allow some exceptions.

/etc/host.deny and the log file /var/log/deny.log

    all:all : spawn (echo Attempt from %h %a to %d at $(date) >> /var/log/deny.log)

/etc/host.allow

    in.telnetd : 192.168.0.0/255.255.255.0 : ALLOW

Linurs Servernest startpage