[CentOS] xinetd custom service - perl - remote address

Thu May 28 16:30:25 UTC 2020
Kenneth Porter <shiva at sewingwitch.com>

On 5/28/2020 8:55 AM, Jonathan Billings wrote:
> I don't believe that xinetd tells the underlying processes anything
> about IPs, since xinetd handles the network connection and as far as
> the process is concerned, it's just filehandles.

Isn't the filehandle just a socket? So can't you use Perl's socket API 
to recover the connection information? So the next problem is to find 
something that wraps an existing filehandle in a Perl socket object.