Skip to main content

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
86 views

Is xinetd necessary? How to detect actual use on a running server?

I have "inherited" a CentOS 7 server on which xinetd is automatically started at boot. My task is to harden that server. Therefore I am wondering whether I can disable the xinetd service. ...
Ned64's user avatar
  • 8,924
0 votes
1 answer
137 views

xinetd: is it possible to bind service to all interfaces EXCEPT one?

I have previously asked this on ServerFault, but since it seems to get little views there, maybe there's a chance it will be better answered here... (I have deleted the post in ServerFault as ...
raj's user avatar
  • 1,133
1 vote
0 answers
190 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 (...
Ahmad Ismail's user avatar
  • 2,738
0 votes
1 answer
532 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 ...
Steven Yang's user avatar
0 votes
1 answer
81 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 ...
Arkadiy Bolotov's user avatar
1 vote
0 answers
228 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 ...
Octavio Rodriguez Perez's user avatar
0 votes
1 answer
181 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 ...
gupti's user avatar
  • 3
0 votes
0 answers
179 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 ...
Gwynn's user avatar
  • 41
0 votes
1 answer
6k 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 ...
Passionate's user avatar
0 votes
0 answers
35 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. ...
Georgios Vasilakis's user avatar
8 votes
2 answers
4k 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 ...
lonix's user avatar
  • 1,793
2 votes
1 answer
11k 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) ...
ealeon's user avatar
  • 193
2 votes
0 answers
1k 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/...
Iratzar Carrasson Bores's user avatar
8 votes
4 answers
67k 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 ...
Yuri's user avatar
  • 81
1 vote
0 answers
930 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 ...
spaceghost's user avatar
3 votes
2 answers
2k 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 ...
doublebind's 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 ...
Amit24x7's user avatar
  • 666
3 votes
1 answer
5k 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 ...
StoneThrow's user avatar
  • 1,797
3 votes
1 answer
412 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 ...
StoneThrow's user avatar
  • 1,797
1 vote
0 answers
917 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 ...
rudib's user avatar
  • 1,632
3 votes
0 answers
1k 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 ...
Mathews Jose's user avatar
1 vote
1 answer
546 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 = ...
wuyihao's user avatar
  • 168
1 vote
1 answer
2k 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 ...
user123456's user avatar
  • 5,088
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; ...
MUY Belgium's user avatar
  • 1,264
1 vote
0 answers
5k 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 ") ...
Madala Krishna's user avatar
0 votes
1 answer
774 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 ...
LinuxLearner's user avatar
6 votes
1 answer
13k 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 (...
TSG's user avatar
  • 1,768
0 votes
1 answer
405 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 ...
nicoulaj's user avatar
  • 471
1 vote
2 answers
13k 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". ...
user2508385's 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 ...
paperduck's user avatar
  • 203
3 votes
3 answers
21k 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/...
Ravi Sharma's 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 ...
john's user avatar
  • 131
0 votes
1 answer
591 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 ...
Donald Whitehead's user avatar
1 vote
3 answers
6k 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 ...
CharlesM's 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 ...
tinkering.online's user avatar
1 vote
0 answers
333 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 ...
thomas tugend's user avatar
2 votes
1 answer
704 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 ...
JakobJ's user avatar
  • 157
4 votes
1 answer
546 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 %...
Martin Vegter's 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. ...
HamTheAstroChimp's user avatar
0 votes
0 answers
123 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 ...
devsda's user avatar
  • 437
7 votes
0 answers
17k 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 ...
datadamnation's user avatar
2 votes
3 answers
4k 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?
rake's user avatar
  • 241
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 ...
motobói's 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 ...
eyesnz's user avatar
  • 181
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 ...
jstarek's user avatar
  • 1,724