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. Cheers! _______________________________________________ Bug-inetutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-inetutils
