Subject: Re: echo-like replacement for telnetd
To: henry nelson <netb@irm.nara.kindai.ac.jp>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 09/19/2002 10:03:22
On Thu, 19 Sep 2002, henry nelson wrote:

> I wasn't able to get enough information from inetd(8) or hosts_access(5)
> to show me what you've done so that I can create something to meet my own
> needs.  Specifically, what will %d or %h insert, and how would I enter a

Look in hosts_access(5) again and search for "expansions":

       %d     The daemon process name (argv[0] value).

       %h (%H)
              The  client  (server)  host name or address, if the
              host name is unavailable.

   Jeremy C. Reed
   http://bsd.reedmedia.net/