Insider Tips: Server Management with inetd and xinetd

HERDING DAEMONS

Article from Issue 52/2005
Author(s):

If you have many daemons running on your server, it can be quite difficult to keep track of them all. inetd and xinetd manage these services centrally and also take care of exchanges with your clients, allowing programs without network code to operate as Internet servers.

Typical server applications handle network communication autonomously. They open a socket and listen at a TCP port, using the port to send and receive data. Interaction with a socket is not exactly rocket science, but coding a program for socket interaction can be troublesome and prone to error. It can also be quite difficult to keep track of the various configurations. Central security settings involve a lot of effort if each server has its own set of configuration files. And what’s more, it doesn’t always make sense to re-invent the wheel by coding each program separately for network access.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Admin Workshop Identd

    In last month’s issue of Admin Workshop, we introduced tools that help admins get services up and running. This month, we will show how you can use the Ident protocol to associate a user name with a TCP connection.

  • Charly's Column

    Leafnode is a Usenet server for small sites where just a few users need access to a large number of groups. The Leafnode server is designed to recover from errors autonomously and needs very little attention.

  • Command Line: Processes

    Innumerable processes may be running on your Linux system. We’ll show you how to halt, continue, or kill tasks, and we’ll examine how to send the remnants of crashed programs to the happy hunting grounds.

  • dgamelaunch

    If you are into retrogaming, dgamelaunch lets you set up a server to play Roguelike games and compete with friends, all while preserving a piece of gaming history.

  • Security Lessons: Cloud Security

    Tools like OpenSCAP and Aqueduct can make life much easier when implementing cloud security standards.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News