Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xinetd]

The tag has no usage guidance.

13
votes
3answers
12k views

What is a ToD server, “Time of Day” (Not NTP)

I got a simple task: Setup a ToD server... It is not NTP. It runs on port 37. It seems to be bundled with inetd or xinetd. Shall be installed on Debian or CentOS. Alternatively FreeBSD (pfsense ...
4
votes
1answer
309 views

How to add custom xinetd Service in pfSense

On a pfSense 2.4, I installed a custom xinetd service. I appended the necessary line to the list in /etc/services and wrote a stanza in /var/etc/xinetd.conf. After reloading xinetd, the service runs ...
4
votes
1answer
2k views

systemd: get core dumps for service started by xinetd

I recently upgraded a system to openSUSE 13.1. We're running a custom-built service on the system through xinetd, and in the old xinetd init script had the line ulimit -c unlimited before starting ...
3
votes
5answers
1k views

TCPWrappers still in use?

According to my current understanding, tcpwrappers can be used via inetd or xinetd. Lately I have been informed that inetd/xinetd came into existence to make more efficient use of hardware in earlier ...
3
votes
4answers
2k views

xinetd 'connection reset by peer'

I'm using percona-clustercheck (which comes with Percona's XtraDB Cluster packages) with xinetd and I'm getting an error when trying to curl the clustercheck service. /usr/bin/clustercheck: #!/bin/...
3
votes
1answer
904 views

Bypass /etc/services lookup for xinetd

I'm looking to execute a script launched by xinetd over an arbitrary port. However after some testing it appears that I will need to explicitly define the service and port on /etc/services for xinetd ...
3
votes
2answers
1k views

BASH Script as xinetd service

I have recently found out that a server I am working on has an xinetd service that is in fact a shell script that calls another shell script with arguments retrieved via respective network connections....
3
votes
2answers
728 views

tomcat6 behind xinetd - real client ip

In server.xml, at the Connector I specify proxyPort as 80. Here's the xinetd service: service http { socket_type = stream protocol = tcp user = tomcat6 ...
3
votes
1answer
913 views

Inetd / xinetd isn't working under cygwin, why?

I am trying to use xinetd (or inetd) with netcat to act as a TCP proxy. This setup works on Linux without issue. Under Cygwin, either as a service or from the a Cygwin command line, the (x)inetd ...
2
votes
9answers
31k views

xinetd won't start

Silly question... I can't get xinetd to start on my linux box (CENTOS 4.8). I've got so far as to remove it and reinstall it via yum. When I try to start it, stop it, etc. I get no error at all. ...
2
votes
3answers
2k views

preventing log_on_success in xinetd

I'd like to prevent a particular xinetd check from logging START/EXIT messages as it's a lot of logging I don't need. Is ther a way to set log_on_success = NONE or something? I'm able to find ways of ...
2
votes
3answers
2k views

Docker container exits without any message

I'm trying to run xinetd in a Docker container. My Docker file is very basic: # voip-monitor # # VERSION 0.0.1 FROM ubuntu:14.04 RUN apt-get update && apt-get install -y ...
2
votes
2answers
364 views

web browser dislikes xinetd

How can I make an xinetd service such that a web browser can reliably show its output? The service always sees the HTTP GET request on its stdin, and sends its reply to stdout. xinetd handles the tcp ...
2
votes
1answer
3k views

How do I get rsync to listen on two different ports via xinetd?

I have multiple servers that receive files via rsync on different ports. I'd like to merge them into the same physical server and let the clients continue to direct their files to the same port they ...
2
votes
1answer
2k views

Fedora 17 tftp not sending files on requests

My Issue is I am attempting to set up tftp on a server, Everything appers to be running correctly exept when I try to download a file from tftp it never responds, There are not any error's that I see, ...
2
votes
1answer
5k views

Why is xinetd ignoring 'bind' option? [closed]

On a server with proftpd controlled by xinetd (plesk/centos FWIW), I want to make proftpd listen only on a specific ip address. I've tried putting bind = 12.34.56.78 in /etc/xinetd.d/ftp_psa, and ...
1
vote
3answers
360 views

Allow access to a xinetd service only when client connects to a specific subdomain

This question is regarding a dedicated server running CentOS 5.4. I can connect as root for hairier configuration tasks if needed. I'm writing because I've set up svnserve to handle requests using ...
1
vote
2answers
152 views

ll Centos Xinetd

I have CentOS servers 5.5 and I see that the Xinetd is not install on any of them. Do you think it will be wise to install xinetd or not? These are production systems.
1
vote
2answers
424 views

Port forwarding via xinetd in NATed environment

I'm working on a setup that requires redirecting request coming on one of the server's port to other server's port in a NATed environment (example: all request coming on 192.168.1.100:843 should be ...
1
vote
1answer
702 views

is it possible to provide variable arguments to xinetd service?

I have created a bash script to listen on specific port (using xinetd), so whenever there is someone connecting to port, then it invokes the script and provides its output to user. But i need to ...
1
vote
1answer
2k views

SSH tunnel with xinetd; bind Address already in use

I'm having an ssh tunnel connection which works fine from the command-line; ssh -f -N -L 4444:to.somewhere.com:80 user@xxx.xxx.xxx.xxx -p 22 Now I'm trying to make this connect to connect on demand ...
1
vote
2answers
863 views

TFTP works localhost but not global

I have a TFTP server on Centos 7.4. The TFTP server is up and running and works well when trying to access a file, connecting on localhost. However, if I try to access the TFTP server from another ...
1
vote
1answer
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 ...
1
vote
1answer
5k views

Linux: tftp not working, transfer timed out, what could be the reason?

I have a server which runs cobbler and tftp server. My task is to configure a read-write tftp server. tftp is configured through xinetd and the configuration file looks like so: service tftp { ...
1
vote
1answer
817 views

NRPE: What's the difference between `only_from` directive and `allowed_hosts` and which one is preferred by NRPE?

I see two different places where I can configure which Nagios server my NRPE clients will speak with. The first one, while configuring NRPE to run under xinetd: only_from = 127.0.0.1 mon1....
1
vote
1answer
1k views

Monitoring MySQL replication through HAProxy Xinetd service

I have have set up MySQL multi-master replication with HAProxy as a load balancer following Alex Williams' tutorial found here; http://www.alexwilliams.ca/blog/2009/08/10/using-haproxy-for-mysql-...
1
vote
1answer
2k views

Xvnc4 started from xinetd only displays empty gray X screen

I'm attempting to setup an Ubuntu 10.10 box so that anyone can connect to port 5900 and be greeted by the gdm login manager. To do so, I added a vnc entry in /etc/services and I am starting Xvnc4 ...
1
vote
0answers
227 views

xinetd: udp service returning just a string

I'm using xinetd to provide a simple service, that basically only needs to return a string value. The service is required to support tcp and udp. The tcp services looks like this, and works as ...
1
vote
2answers
813 views

xinetd read post data

I'm trying to write a simple handler for a webhook using xinetd and bash. I have the trivial case working with this config for xinetd: service github-hooks { port = 61000 ...
1
vote
1answer
4k views

VNC over xinetd doesn't starts vncserver

in Debian Lenny, using TightVNC 1.3.9 I can setup a VNC server manually by using vncserver -query localhost -once -geometry 1024x768 -depth 16 :1 But then, as I have read is a better option, I use ...
1
vote
1answer
463 views

Route requests to IPs depending on the (sub)domain the server was accessed from

Example: 1) The server is running Ubuntu and is on a LAN (192.168.9.*) 2) The server is running several services on local IPs (Eg: 192.168.9.5 VPS (OpenVZ)) 3) A client connecting from vps1.mydomain....
0
votes
1answer
961 views

How to disable plain FTP with proftp and xinetd? [duplicate]

I'm using CentOS release 6.4 on a VPS. Its runs proftp with xinetd I've found configuration files at /etc/proftpd.conf /etc/xinetd.conf /etc/xinetd.d/ftp_psa I want to disable plain FTP, but need ...
0
votes
1answer
2k views

issue with xinetd arguments

i have created this BASH script called blah which does something simple like this (See below) #./blah -x "bindas" hello bindas i would like to execute script using xinetd with dynamic variable, ...
0
votes
2answers
4k views

Curl Failure when receiving data from peer using Percona XtraDB Cluster Check

I'm having a similar issue to the one mentioned here: xinetd 'connection reset by peer' I've setup percona-clustercheck (which comes with Percona's XtraDB Cluster packages) with xinetd and I'...
0
votes
3answers
2k views

Git daemon doesn't work properly when run from xinetd

I'm trying to set up a git public repository for my team. I have installed Git on a linux box (RedHat 5.6). As a first step, i'm trying to configure Git to use the git protocol, by setting it up to ...
0
votes
1answer
4k views

vsftpd over xinetd: connection refused

I've been banging my head against this for hours and I'm stumped. I am setting up a Gentoo Linux box with vsftpd. I can get it to work as a standalone daemon, but not with xinetd. When I try to ...
0
votes
4answers
1k views

xinet vs iptables for port forwarding performance

I have a requirement to run a Java based web server on port 80. The options are: Web proxy (apache, nginx, haproxy etc.) xinet iptables setuid The baseline would be running the app using setuid but ...
0
votes
2answers
318 views

xinetd port forwarding causes HttpServletRequest.getRemoteAddr() to always return 127.0.0.1

We're attempting to identify where specific requests are coming from inside our Java application. We have changed the log files to include the IP address and we're using httpServletRequest....
0
votes
1answer
393 views

xinetd service: OK to change user? (cvs pserver)

Legacy Source Control: CVS under xinetd We have a team that uses legacy source control: cvs. We run cvs pserver under xinetd (config file below). Audit Flag A security audit raised a flag: "make ...
0
votes
1answer
705 views

Linux/RHEL Server Down with “xinetd” Alerts?

Suddenly one of my RHEL 6 Server [VM] (serving Apache on it also) went down and when i rebooted it, i saw several of following /var/log/messages as latest before it went down: May 4 08:16:37 ...
0
votes
1answer
552 views

Forward public port to localhost

I have a process running on my Ubuntu 12.04 server that insists on binding to a public IP address. I only want it accessible from localhost, and NOT the outside world. I've been trying to work out a ...
0
votes
1answer
972 views

Cannot get xinetd to start on a RHEL server

When I try to execute /etc/init.d/xinetd start I get the following error: Starting xinetd: /bin/bash: /usr/sbin/xinetd: cannot execute binary file ...
0
votes
2answers
562 views

svnserve vs xinetd + svnserve

What would be the best solution considering, scalability/load and security, svnserve + xinetd or standalone svnserver? Thank you!
0
votes
2answers
282 views

Can I serve files using xinet/tftpd without 777'ing them?

I set up a tftp server on my linux server to serve files for my cisco 7940 sip phone. Is there any way I can serve these files without having to set their permissions to 777? Each time I change them ...
0
votes
1answer
44 views

How do i stop xinetd mysql service check to log every success?

How do I stop xinetd mysql service check to log every success? It creates a log entry every second the check is successful, I cant use log_on_failure as the service just checks mysqld and turns status=...
0
votes
2answers
199 views

haproxy'd mysql client hangs attempting to connect

I am attempting to set up an haproxy LB for a cluster of mySQL slaves using the method outlined here in github's engineering blog. I've got the xinetd checks working but when I attempt to login via ...
0
votes
1answer
406 views

NRPE Firewall blocking xinetd

From one side, my nagios server, IP 10.1.1.232. Here is my Nagios's xinetd's NRPE config : # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = ...
0
votes
1answer
561 views

How to set up DNS port forwarding using xinetd?

I have a KVM hypervisor and a few VMs in a bridged network. I use xinetd to forward ports from the public IP address to the proper VM. Now I installed PowerDNS on a machine and I'd like to create a ...
0
votes
0answers
122 views

Does Dovecot no longer work under xInetd?

I've been trying to get Dovecot to work under CentOS 7 with xinetd and I get errors such as: Error: net_connect_unix(anvil) failed: No such file or directory Fatal: Couldn't connect to anvil and the ...
0
votes
0answers
1k views

Pure-ftpd port does not get opened even though the service starts properly, what could be the cause?

I've installed Pure-ftpd on my CentOS 6.4 server, after configuring the server I ran /etc/init.d/pure-ftpd start ; /etc/init.d/xinetd restart and it indicates that the service has started successfully....