Questions tagged [inetd]
The inetd tag has no summary.
27 questions
1 vote
0 answers
304 views
Can I use inetd or xinetd as a web server?
I just want to know if it is possible to use xinetd as a web server to server simple piped commands. For example, I want the output of ps -ef|grep root|wc -l to be served over HTTP using xinetd (...
-1 votes
1 answer
792 views
Is inetutils not included in Debian or Ubuntu?
Is inetutils or some programs in it provided or installed by default in Debian or Ubuntu? If not, why does Debian or Ubuntu not include it? Is it because they have better alternative programs in other ...
2 votes
2 answers
617 views
How to access an inetd service?
So I created a simple inetd error logging service according to this example https://en.wikipedia.org/wiki/Inetd #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { ...
4 votes
1 answer
2k views
What's the difference between the telnetd and inetutils-telnetd packages in Ubuntu?
Recently, a work came to me which needs to set telnet on linemode.so i install telnetd with apt install telnetd, which is controlled by inetd, and this operation will add new line telnet stream tcp ...
-1 votes
1 answer
82 views
Does inetd simplify server programs, without affecting the part of concurrently handling multiple clients? [closed]
In The Linux Programming Interface, Chapter 60 talks about designing a server to concurrently handle multiple clients, by using sockets, multiple processes/threads or thread/process pools designing ...
2 votes
0 answers
771 views
Can systemd be used as an inetd/xinetd replacement without being an init?
Can systemd be configured (in runtime or compile time) to serve as a simple process supervisor, not as /sbin/init? If yes, are there tutorials and other documentation to follow to make customized non-...
10 votes
3 answers
3k views
Why do daemons only read their configuration file when they start up? Why can't they "react" to changes in that file/hot reload? [closed]
I know daemons have to be sent a HUP for config changes to take effect. But I'm wondering why this is, and if it is possible to create a daemon responsive to such changes.
1 vote
3 answers
541 views
How does inetd transfer control to respective services?
How does inetd transfer control to the service, Below is my understanding inetd listens on every port mentioned in /etc/inetd.conf If a client make a request to one of the port that inetd listens then ...
0 votes
1 answer
721 views
tcpd, inetd/rinetd and iptables
What is the correlation between these programs? tcpd and inted/rinetd are very old but despite this they are still present in many distributions ... why? And there is also a correlation between hosts....
-1 votes
1 answer
134 views
Does `inetd` (and `nc`) apply only to programs written as daemons?
When inetd makes several programs run as services, does inetd require the programs necessarily written as daemons (e.g. not having a controlling terminal, no interactive input, ...)? Or caninetd ...
6 votes
3 answers
978 views
Is there a single program version of inetd?
inetd can make several programs with stdin input and stdout output work like programs with input and output from and to sockets, and monitor their listening sockets simultaneously. Is there a ...
3 votes
1 answer
12k views
What are the replacements of `inetd` and `/etc/inetd.conf` in Ubuntu?
inetd is a service dispatcher for services recorded in /etc/inetd.conf. In Lubuntu 18.04, there is no /etc/inetd.conf. ps -A | grep inetd returns nothing. What are the replacements of inetd and /etc/...
2 votes
1 answer
549 views
Is there a daemon which resolves a service name to a port?
A DNS server resolves a hostname to an IP address. A program can resolve a hostname to an IP address by calling getaddrinfo() which in turn asks a DNS server to do the resolution, if I am correct. In ...
0 votes
0 answers
60 views
Question on scalability of echo service on Linux
I'm trying to build a service which verifies that a network route is available. I have used the echo service on inetd in the past and it certainly fits the purpose but i am unsure about its scaling. ...
0 votes
2 answers
677 views
ttdbserver and inetd
If I disable ttdbserver service in an AIX server (I commented the line with # in /etc/inetd.conf): #ttdbserver sunrpc_tcp tcp wait root /usr/dt/bin/rpc.ttdbserver rpc.ttdbserver ...