Questions tagged [xinetd]

63 questions
2
votes
1 answer

Why is xinetd ignoring 'bind' option?

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 also putting DefaultAddress 12.34.56.78 in…
DaedalusFall
  • 197
  • 2
  • 12
2
votes
1 answer

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 do now (ie different alternate ports). Normally…
Jason Powers
  • 21
  • 1
  • 2
2
votes
1 answer

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 with xinetd. I've put this custom port in…
Ezeyme
  • 193
  • 6
2
votes
1 answer

Get the actual username of a SSH Client that established a SSH session to a remote server

Let's say we have a user account called john on a CentOS server (192.168.1.1) and on the other side we have a user who owns this account and from time to time uses his account from different locations (laptops) to SSH. [jsmith@mac ~]# ssh…
1
vote
3 answers

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 xinetd. This is working perfectly and I'm happily…
1
vote
0 answers

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 expected: service simple-tcp { disable = no …
soey
  • 111
  • 1
1
vote
4 answers

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 server, I get a time out. The firewall is configured…
user440625
  • 19
  • 1
  • 3
1
vote
1 answer

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 FTP server . So for this change do I have to…
Mathews Jose
  • 151
  • 2
  • 9
1
vote
3 answers

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 socket_type = stream protocol = tcp wait…
spinlock
  • 111
  • 3
1
vote
1 answer

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, something similar to below example #telnet localhost…
bindas
  • 13
  • 3
1
vote
1 answer

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.company.com The second one, in the…
Itai Ganot
  • 10,424
  • 27
  • 88
  • 143
1
vote
2 answers

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 redirected to 192.168.1.200:8443 - both servers are…
vasco.debian
  • 306
  • 2
  • 13
1
vote
1 answer

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 provide dynamic arguments to server, for example when…
Farhan
  • 4,210
  • 9
  • 47
  • 76
1
vote
1 answer

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-failover-and-redundancy/ I am using a status checker…
Joe Gibson
  • 45
  • 8
1
vote
2 answers

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.
edotan
  • 1,786
  • 12
  • 37
  • 57