logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

aspd - Address Search Protocol Daemon

Author

       Stenio Brunetta <stenio@brunettaeperin.it>

       Comments and suggestions are welcome.

Bugs

       Maybe.

Description

Aspd  is a daemon that waits for incoming address requests on asp's port. If aspd detects itself as being
       the searched host, it sends a reply to the client, allowing the  retrieval  of  its  IP  address.  It  is
       possible  to  specify an alternate hostname on command line, instead of using the value returned from the
       gethostname(3) function. This is useful if your hostname is dynamically changed when the link goes up.

       If aspd is invoked as in.aspd it will work as a server: it makes its work and exit, instead of  wait  for
       new requests; this is useful if you want inetd(8) to automatically run the server when a request arrives.

Files

/etc/services
              Used by aspd to find the asp protocol port number.

Logging

       The peer IP address and the searched hostname are logged through the  syslogd(8)  system  logger  daemon,
       using  the daemon facility and the notice level. Transmission errors use the warning level and are logged
       only if aspd was compiled with the debug support.

Name

       aspd - Address Search Protocol Daemon

Options

-rrepetitions
              Set the number of times to re-send the reply. Default is 5 times.

       -iinterface
              Set the interface used to get the address to send to the client, for example ppp0.  Note that this
              option  can't  be  used  if  aspd is invoked by inetd. Note also that you have to kill aspd if the
              interface address changes.

       -V     Show version information

See Also

asp(1), inetd(8), syslog(3), syslogd(8).

Linux                                             February 1997                                          ASPD(8)

Synopsis

aspd    [-rrepetitions] [-iinterface] [hostname]
       aspd-Vin.aspd [-rrepetitions] [hostname]
       in.aspd-V

See Also