SHARE
Facebook X Pinterest WhatsApp

BSD Today: inetd and inetd.conf – Managing Your System’s Internet Switchboard Operator

Written By
thumbnail
Web Webster
Web Webster
May 9, 2000

[ Thanks to Jeremy
Reed
for this link. ]

The file /etc/inetd.conf is vitally important to your
system’s security and well-being — especially if your system has a
24×7 connection to the Internet.
Many common security holes in
UNIX systems (and UNIX-like systems such as Linux) are the result
of entries in inetd.conf that should have been “commented out” or
removed. On the other hand, an omitted entry can cause your system
to consume extra memory or swap space, or make it more susceptible
to denial of service attacks.”

“As the name implies, /etc/inetd.conf is the configuration file
for inetd, the “Internet daemon.” In the early days of UNIX, when a
10 MB hard drive was considered to be huge and system memory was
measured in kilobytes instead of megabytes, inetd was devised as a
way to save valuable RAM and disk swap space.”

“Prior to inetd, each “daemon” — that is, a program which
provided an Internet service — had to be in memory, waiting for
requests, at all times. But there was a problem: keeping that code
loaded and ready to run consumed valuable system resources. As the
repertoire of services provided by systems on the Internet (then
the ARPANet) grew, systems were in peril of being overrun by
daemons, leaving no space for programs that did other work.”

“Enter inetd. Acting as a sort of switchboard operator, inetd
fields incoming requests for other daemons. When a “call” comes in,
inetd starts up a copy of the appropriate daemon and “transfers the
call” to it. Thus, no Internet daemon — other than inetd itself,
of course — must remain in memory when it’s not providing a
service.”

Complete
Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.