[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] [patch] inetd: set environment variables for remote

From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] [patch] inetd: set environment variables for remote host, ip and local port
Date: Tue, 25 Jul 2006 11:40:09 +0200 (CEST)

   I have just developed some very simple servers (with shell scripts)
   which are run via inetd. For logging purposes I wanted to have the
   remote hostname, ip and local port available in those shell scripts
   and have made an extension to inetd which will put this information
   into the environment on the forked process.

Wouldn't it be better to provide this information in log (if it isn't
provided already)?  And then just use grep to get that data? I'm a bit
sceptical to exporting envars like this.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]