Extended Internet Services daemon, which starts internet protocols such as FTP or telnet as needed
Questions tagged [xinetd]
63 questions
16
votes
2 answers
Haskell default io buffering
Yesterday I wrote a little xinetd exercise for my students: make a reverse echo program.
To learn something new, I tried to implement a Haskell solution. The trivial main = forever $ interact reverse does not work. I went through this question and…

pasja
- 365
- 4
- 10
7
votes
1 answer
Pass Arguments to Bash Script when xinetd receive message via udp
i was wondering if its possible to pass args to a bash script when xinetd receive a command from a random host (in lan) via udp. To clearify: when i send e.g. hello from a random client to the xinetd server i want the xinetd server to pass the hello…

SkunKz
- 107
- 2
- 10
6
votes
4 answers
reading from sys.stdin without newline or EOF
I want to recieve data from my gps-tracker. It sends data by tcp, so I use xinetd to listen some tcp port and python script to handle data. This is xinetd config:
service gps-gprs
{
disable = no
flags = REUSE
socket_type =…

Павел Тявин
- 2,529
- 4
- 25
- 32
6
votes
1 answer
Xinetd disable stderr redirection
I just setup xinetd for one of my binary to run as a service. However it appears to me that both stdout and stderr is redirected into the socket stream.
Is there anyway to disable the stderr ? I try in the server field of xinetd setting: server =…

w00d
- 5,416
- 12
- 53
- 85
4
votes
2 answers
Executing script on receiving incoming connection with xinetd
I want xinetd to execute a shell script when a connection is received on a certain port. To accomplish this, followed this tutorial: [enter link description here][1]
Unfortunately, the whole thing doesn't work as I hoped that's why I am going to…

user1812379
- 827
- 3
- 11
- 22
3
votes
1 answer
Xinetd error service/protocol combination not in /etc/services
Trying to create a simple xinetd style server without needing to create a full service first. I have the following file which is located at /etc/xinetd.d/myscript:
service tester
{
disable = no
socket_type = stream
…

pooley1994
- 723
- 4
- 16
3
votes
1 answer
why xinetd can't run shell service
guys,i have a problem on using xinetd,the error message is 'xinetd[20126]: execv( /home/fulu/download/mysqlchk_status2.sh ) failed: Exec format error (errno = 8)'
the system operation is : CentOS release 6.2;
i installed the xinetd by the command…

user2307647
- 51
- 3
2
votes
1 answer
Solving the xinetd "Transport endpoint is not connected"
I'm trying to get a simple websocket proxy to work with xinetd.
The proxy is here : https://github.com/kumina/wsproxy
(basic proxy for vnc)
Here's my xinetd/wsproxy config:
service wsproxy
{
type = UNLISTED
socket_type = stream
…

Disco
- 4,226
- 11
- 58
- 76
2
votes
0 answers
Can Windows Service be started by incoming TCP connection?
I'd like to make a small Windows Service, that would be shutdown most of the time, but would be automatically activated when incoming TCP (REST?) connection comes. I do not want the service to be running 24/7 just in case (albeit that might trn to…

Arioch 'The
- 15,799
- 35
- 62
2
votes
1 answer
Can't see echo output of shell script using xinetd
I've created a simple shell script named /usr/sbin/helloworld
#!/bin/bash
echo "Hello World"
mkdir ~/itran
read -p "Say Hello : " hello
echo "$hello"
exit 0
I created /etc/xinetd.d/testservice-map as below
service testservice
{
port …

Jafari Sharib
- 63
- 7
2
votes
2 answers
How do you get xinetd to work with wait=yes for protocol=tcp
I have a service which will listen on port 8443 after it is launched.
I have xinetd configured to start my service when a connection is made on port 8443.
So Xinetd should launch my application and then let my application handle any more incoming…

Chey
- 21
- 3
2
votes
1 answer
Firebird Classic server on Ubuntu 13.10 listen to remote connections
I've installed Firebird Classic on Ubuntu (13.10) and I need to open it to remote connections. netstat -an on port 3050 shows this:
tcp 0 0 127.0.0.1:3050 0.0.0.0:* LISTEN
I tried editing /etc/xinet.d/firebird25 to…

Michal Holub
- 730
- 1
- 7
- 21
1
vote
1 answer
How To use JRMP (RMI) with both encryption (ssl) AND xinetd?
So, I'm rolling-my-own Java-based application server (because Glassfish, et al, aren't for non-web-based apps), and, of course, encryption is an absolute must. So, I coded up a basic ssl solution using the standard SslRMIClientSocketFactory, and…

Richard T
- 4,570
- 5
- 37
- 49
1
vote
1 answer
Ruby Script fails while invoked via xinetd
This is my first post on stack overflow and it's a bummer, so please bear with me.
I have a ruby script which has worked flawlessly for years on an Ubuntu 14.04 Server.
I set up a new Ubuntu 22.04 Server and migrated the Script, but it doesn't work…

lunqual
- 31
- 4
1
vote
1 answer
python xinetd client not receiving data
I'm trying to use xinetd to remotely run a command (traccejob). When I connect through telnet, everything works fine. Unfortuantely, the client that I've written doesn't seem to receive the data from the server. The code looks…

Kyle
- 13
- 3