Questions tagged [xinetd]

xinetd is a daemon that manages internet services for Unix-like systems. It is a replacement for the inetd daemon, with access control, rate limiting, and extended logging features.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Resource exhaustion with systemd socket-activated service

I recently set up a new service with systemd having the following configuration: # myservice@.service [Unit] Description=My Service [Service] Type=simple RemainAfterExit=yes ExecStart=/usr/local/bin/...
user avatar
0 votes
1 answer
31 views

Is there an alternative for xinetd that supports control characters?

I am writing a project that allows users to connect in and run specific commands. xinetd is an option but pressing Tab via either nc or telnet will type an indentation. Is there a net daemon that can ...
user avatar
0 votes
0 answers
28 views

Using systemd to replace xinetd for a RPC service

I have an ONC RPC service which is currently being started by xinetd. In this use case, xinetd will first register the RPC service to the rpcbind service at a random unreserved port and then begin ...
user avatar
0 votes
1 answer
19 views

Is there a way to disable reverse lookups (hostname resolving) in xinetd?

I suspect that resolving the IP address to it's hostname on each incoming connections makes my xinetd connections slow. Is there an option somewhere which would allow me to disable reverse lookups ...
user avatar
0 votes
0 answers
143 views

Create Multiple VNC session for the same user

I am trying to create VNC sessions using xinetd on GNOME RHE7.9 and it worked fine. But what am trying to achieve is to login to same user in multiple session. For example: Created session $hostname:1 ...
user avatar
0 votes
0 answers
62 views

How to use xinetd to pipe over TCP into standard input of another program

Apologies if my wording is a little hard to understand -- I am fairly new to Linux. I have a program called fx2pipe on a Linux machine that communicates with a certain electronic device. The ...
user avatar
  • 101
2 votes
0 answers
105 views

After restarting xinetd service, rsh shows "poll: protocol failure in circuit setup"

I have searched a lot in various forums and most indicate that the solution is to open ports in the firewall or restart the xinetd service. Although that may be the solution in some cases, I think the ...
user avatar
0 votes
1 answer
73 views

xinetd + shell script echoing flags in TCP packet

I'm trying to create a script that replicates a JSON status response from a Minecraft server (https://wiki.vg/Server_List_Ping). I've currently set up xinetd to execute a shell script that echos a ...
user avatar
  • 3
0 votes
0 answers
73 views

logrotate script for xinetd postrotate

I need help with rotating my xinetd.log file. I'm using CentOS8 and I have this logrotate file: /var/log/xinetd.log { compress dateext daily rotate 7 missingok copytruncate ...
user avatar
  • 41
0 votes
1 answer
3k views

TFTP: cannot send/recive file, showing Error: TFTP, Opcode: Error Code(5)

I am trying to send/receive a file using TFTP from the network switch to ubuntu(VirtualBox on Windows 10 Pro), but getting an error code 5 By following the steps mentioned below it seems like my ...
user avatar
0 votes
0 answers
31 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. ...
user avatar
8 votes
2 answers
3k views

systemd "socket activation" vs xinetd

I use xinetd and it works for my purposes. However I recently discovered that systemd has something built in called "socket activation". These two seem very similar, but systemd is "official" and ...
user avatar
  • 1,413
2 votes
1 answer
9k views

Centos7: Starting xinetd service with systemd

I have a xinetd service from Centos6 and I want to port to Centos7 ie create a systemd service # cat /etc/xinetd.d/br_rsh # default: on # description: The rshd server is the server for the rcmd(3) ...
user avatar
  • 193
2 votes
0 answers
768 views

How can I install rexecd on Ubuntu

I tried to install rexecd executing this codes: apt-get install xinetd apt-get install rsh-server But, following the steps found on a web page, I try access to /etc/xinetd.d/rsh, /etc/xinetd.d/...
user avatar
6 votes
4 answers
52k views

Telnet connection had been closed by a foreign host

The client PC IP: 10.49.46.5/24 and the server PC IP: 10.49.46.2/24 are two computers linked to the same network. When I try to create an interactive communication between these two computers using ...
user avatar
  • 61
1 vote
0 answers
757 views

Launching Xvnc server with xinetd, wrapped with vglrun

I'm trying to set up remote login for the CentOS 7 machine in our office, so that users can connect using TigerVNC from windows clients and reach a gdm login screen. Previously, I followed these ...
user avatar
3 votes
2 answers
1k views

Bash tcp redirection end of transmission

I made a simple network service with xinetd which reads a string from tcp socket and outputs its encoded view. Original binary(qrencode) just reading stdin. It works fine when I use it with netcat as ...
user avatar
0 votes
0 answers
1k views

Unable to do RSH connection

I have two servers with RHEL 6.6 installed. I'm trying to do an RSH connection between these two. Following are the errors which I'm getting: connect to address 172.21.70.95 port 544: Connection ...
user avatar
  • 616
3 votes
1 answer
4k views

How do I launch the daytime service?

Whenever I think I'm getting comfortable with Linux, I get stumped by a simple problem that exposes my inexperience: how do I launch the daytime service? My trail of attempts is as follows: >sudo ...
user avatar
  • 1,259
2 votes
1 answer
276 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 ...
user avatar
  • 1,259
1 vote
0 answers
753 views

Xinetd: End connection from server script

I have a xinetd service that is a script and the output is read by netcat on a remote host. However, when the script on the server exits, netcat still waits although, there won't follow anything. How ...
user avatar
  • 1,572
3 votes
0 answers
921 views

If I restart xinetd service , does it impact the currently active FTP connections?

In my Linux system FTP server is running from xinetd . I want to make a configuration change inside the /etc/xinetd.d/ directory for the FTP server launch with respect to the arguments passed to the ...
user avatar
1 vote
1 answer
425 views

Why tftp direct access request to different folders with different network interfaces

Here's my /etc/xinetd.d/tftp service tftp { socket_type = dgram protocol = udp wait = yes user = ...
user avatar
  • 148
1 vote
1 answer
1k 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 ...
user avatar
  • 4,238
1 vote
1 answer
1k views

Webmin help page encoding : iso-8859-1 vs utf-8

Webmin is serving static help pages. Webmin 1.47 was using the characters set was iso-8859-1 as character encoding. This information is transmitted by the HTTP header content type:"Text/html; ...
user avatar
  • 1,103
1 vote
0 answers
3k 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 ") ...
user avatar
0 votes
1 answer
667 views

Using TFTP on Fedora 22

I am trying to troubleshoot tftp on my Fedora 22 to see if it is working or not. All I want to do is transfer a file between two systems. The commands I am finding online are not working. All I need ...
user avatar
6 votes
1 answer
10k views

systemd vs xinetd

I have a CentOS 7 system which uses systemd, and I want to start a tftp server. I'm confused about the right way to do this. I've seen some posts that say install xinetd and launch it from there (...
user avatar
  • 1,312
0 votes
1 answer
350 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 ...
user avatar
  • 453
1 vote
2 answers
11k views

Starting FTP with xinetd

I'm using GNU's Inetutils FTP and have gotten it all set up except it does not automatically start when I turn on my system. In order to get it to work I have to start the standalone using "ftpd -D". ...
user avatar
1 vote
1 answer
7k views

TFTP times out in CentOS 7

I have an isolated server that telnets into the single device on its network and loads a file to it using the telnet command load. I am trying to recreate the functionality on another PC. The old ...
user avatar
  • 203
3 votes
3 answers
18k views

TFTP isn't listening the defined port when started using a xinetd rule

I am following this tutorial to work with tftp: First, I install all the necessary packages: sudo apt-get install xinetd tftpd tftp -y Next, create a configuration file: sudo nano /etc/xinetd.d/...
user avatar
3 votes
1 answer
3k 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 ...
user avatar
  • 131
0 votes
1 answer
511 views

Running xinetd and httpd on centos 6

We are running several centos 6.4 lamp stacks, and our backup solution (unitrends) has a client that requires xinetd. Can these two coexist on the same server? If so, is there any secret handshake I ...
user avatar
1 vote
3 answers
5k 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 ...
user avatar
  • 113
1 vote
1 answer
1k views

Telnet no echo output from xinetd script

I have have installed xinetd, and I wrote a script: #!/bin/bash echo "Some text" touch /home/somefile I made a service configuration under /etc/xinetd.d/ and basically it works when I connect to ...
user avatar
1 vote
0 answers
303 views

xinetd apache2-proxy service unavailable

I'm using the filesharing service F*EX F*EX . If I run the service without a proxy I can reach it and it works. The service is controlled by xinetd. Now a apache2 is configured to run as proxy and a ...
user avatar
2 votes
1 answer
610 views

xinetd cannot launch lighttpd

I want to launch lighttpd when someone tries to connect to port 80. I started with a simple test script to see if anything was working: /etc/xinetd.d/www service www { disable = no ...
user avatar
  • 157
4 votes
1 answer
469 views

hosts.allow: %u not working (log username)

I need to keep track of all SSH connections on my server. In my /etc/hosts.allow I have something like this: sshd: ALL : spawn ( echo "`date` from %u %a " >> /var/log/ssh/%d.log ) & where %...
user avatar
0 votes
1 answer
7k views

Cannot create new service with xinetd in RHEL6

I've installed the Nagios on My RHEL 6.4(x64) machine. and i added one more module name called "NSCA" for some central monitoring solution.so the setup required add NSCA service detail under xinetd. ...
user avatar
0 votes
0 answers
105 views

How can I add PAM functionality in netkit-rsh-0.17

I am using CentOS. In my project, that is working on a network, I need an rsh utility. I downloaded netkit-rsh-0.17 for that and until recently all worked fine. But now I found that this utility ...
user avatar
  • 427
7 votes
0 answers
16k views

Cannot get TFTP server working on Ubuntu using xinetd [closed]

I am trying to get a very simple tftp server working. I followed the guides at several websites, including how-to-setup-tftp-on-ubuntu and installing-and-testing-tftpd-in-ubuntudebian, but I haven't ...
user avatar
1 vote
3 answers
3k views

Is there any way to set Mac OS X to use xinetd instead of launchd?

Can Mac OS X run xinetd instead of launchd and if so, how do you do it?
user avatar
  • 221
2 votes
2 answers
2k views

Is xinetd still the best method to let non root daemons listen on privileged ports?

When I need to use SNMP monitoring for java applications, there is the need to that application (usually ran as daemon user) to listen on snmp port. If there is no other alternative, of course I can ...
user avatar
  • 215
4 votes
2 answers
4k views

Setting nice and ionice for rsync via xinetd

I am attempting to set nice and ionice for rsync via xinetd. I am running Fedora 16. The reason I would like to use these values is to reduce the rsync process to an idle state so other processes run ...
user avatar
  • 171
2 votes
2 answers
5k views

Configuring OpenSuSE's xinetd

I need to run approx, a package proxy for Debian / Ubuntu packages, on an OpenSuSE box. Until now, I converted the installation package from .deb to .rpm using alien. Installing the resulting .rpm ...
user avatar
  • 1,634