Questions tagged [inetd]
27 questions
10
votes
3 answers
Why do daemons only read their configuration file when they start up? Why can't they "react" to changes in that file/hot reload?
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.
Frank Jones
- 109
- 4
6
votes
3 answers
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 simpler program than inetd which just works for a single…
Tim
- 98,580
- 191
- 570
- 977
3
votes
1 answer
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/inetd.conf?
I do not have /etc/xinetd*.
Thanks.
Tim
- 98,580
- 191
- 570
- 977
3
votes
1 answer
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 telnet 127.0.0.1 13 with the expected result that…
StoneThrow
- 1,575
- 5
- 19
- 41
3
votes
1 answer
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 configuration file in Unix like system.
Is Ubuntu…
john
- 131
- 1
- 3
3
votes
1 answer
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 internal
the question is about security…
maihabunash
- 6,973
- 19
- 64
- 80
2
votes
2 answers
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
#include
int main(int argc, char **argv)
{
const char *fn = argv[1];
FILE *fp = fopen(fn, "a+");
if…
neolith
- 213
- 2
- 7
2
votes
1 answer
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 nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd…
zzsuki
- 21
- 1
2
votes
1 answer
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 SysV init, is there some daemon which resolves a…
Tim
- 98,580
- 191
- 570
- 977
2
votes
1 answer
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 do what I want and only requires:
9100 stream tcp…
George Shaw
- 141
- 1
- 3
2
votes
2 answers
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 NAS ('landisk', well done!), and I managed to get…
ffonz
- 121
- 4
1
vote
0 answers
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 (without any other server software). How can I do that?
Ahmad Ismail
- 2,478
- 1
- 22
- 47
1
vote
0 answers
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-init-systemd setups?
If no, what other thing…
Vi.
- 5,528
- 7
- 34
- 68
1
vote
3 answers
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 inetd transfers control of that request to a…
Karthik Nedunchezhiyan
- 737
- 9
- 22
1
vote
1 answer
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 remove the call to start inetd or could it be…
John U
- 315
- 3
- 11