Questions tagged [inetd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9
votes
3answers
2k 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.
0
votes
3answers
47 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 ...
0
votes
1answer
46 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....
-2
votes
1answer
55 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
3answers
638 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 ...
2
votes
1answer
2k 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
1answer
73 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
0answers
24 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
2answers
286 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 ...
1
vote
1answer
477 views

How to install and run inetd on OSX or the equivalent in launchd

I'm trying to capture the data destined for a "networked printer" so it can be processed locally or forwarded to another system. It looks like Linux as a network printer device (Raw, port 9100) will ...
2
votes
1answer
174 views

What services accept tcp connection?

I've been learning about socket programming recently, and am just beginning learning about tcp/ip sockets. My study material gives an example of connecting to the localhost daytime service by running ...
1
vote
1answer
226 views

Can we kill inetd if there's nothing using it / no config?

In a small embedded Linux Busybox based system, by default inetd is being started at boot but inetd.conf has every service commented out as none of them are being used. Does this mean we can just ...
1
vote
1answer
337 views

gdbserver as an inetdamon broken pipe

Ive added gdbserver in the inetd.conf and etc/services yet when I attempt to connect as follows I immediately get Remote communication error. Target disconnected.: Broken pipe. (gdb) target extended-...
1
vote
1answer
949 views

How to start talkd daemon?

I'd like to set up a talkd deamon on my machine to talk with other users. The deamon should be set through inetd: # /usr/sbin/in.talkd must be run from inetd. How do I configure inetd to start the ...
1
vote
0answers
2k views

Unable to start xinetd service though it is installed

I already installed xinetd but when I run: service xinetd start I get: start: Rejected send message, 1 matched rules; type="method_call", sender=":1.791" (uid=1000 pid=16012 comm="start xinetd ") ...
0
votes
1answer
276 views

RSH closing stderr socket with a delay?

Environment: CentOS 6.6 When running this simple test (from myclient): while true; do rsh myserver "echo OK"; done After ~500 iterations, the server runs out of ports. netstat -anp on the server ...
1
vote
1answer
141 views

Time service — interpreting the bytes

I tried installing xinetd and allowing some services such as echo, time, daytime by uncommenting them in /etc/inetd.conf I tested it with nc: $ nc localhost echo #works like cat—✓ $ nc localhost ...
1
vote
2answers
1k views

How do I run inetd at startup on OpenBSD?

I am trying to backup my Synology NAS to my old NAS. The old NAS has to be an rsync compatible server (according to Synology), and the original OS didn't support it. Fortunately OpenBSD supports my ...
3
votes
1answer
2k views

Is Super server (inted / xinetd/… ) comes with Ubuntu default?

Few days back I learn about super server in networking. Then I looked for /etc/inetd.conf and /etc/xinetd.d and found neither of them in Ubuntu. Note: I know only these two types of super server ...
1
vote
3answers
4k views

Inetd and Xinetd: which is running?

I'm studying for the first LPIC exam. In a quiz, I've found this question: How can you tell whether your system is using inetd or xinetd as a super server? And the right answer should be: Type ...
3
votes
1answer
3k views

enable echo service and linux security loophole issues

in order to enable the echo service we need to add the echo lines as the following example : more /etc/inetd.conf echo stream tcp nowait root internal echo dgram udp wait root ...