Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to pass client address to child process of inetd?

    I 've been searching but found nothing. The question is: When I run a server by inetd, how can I pass the client IP address to it? Should I use some env variables or I have to do a mess with lsof and netstat?

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Can you explain more what you're trying to do? Why are you trying to make inetd pass a client address to a service it manages?

  3. #3


    Let's assume we have a script that serves some info / files/ etc. It would log the client IP and the requested resource.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts