Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    11

    How to pass client address to child process of inetd?


    Hello,
    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
    Location
    Texas
    Posts
    1,692
    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
    Just Joined!
    Join Date
    Feb 2007
    Posts
    11

    inetd

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

  4. $spacer_open
    $spacer_close

Posting Permissions

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