INSTALLATION:

First run configure:

bash$ ./configure

this will make the correct Makefile (I hope) for your system. In order
to print some debugging information with the asp package, you could
invoke configure with the --enable-debug flag. You can specify an
alternate path for /etc/hosts with the option --with-hosts-path=PATH.

Then type:

bash$ make

to make the binaries, and

bash$ make install

to install them and the man pages. You need to be root to install
files with root ownership, but it is not necessary that the programs
are owned by root; so you can change the Makefile with your own
needs. Make will check if your /etc/services and /etc/inetd.conf are
asp aware; if they aren't so, it will ask you if it can add an entry
for asp in each file; in case of an affirmative answer a copy of the
files will be made with the extension '.asp'.

This are the lines added automatically to /etc/services when you run
make if they aren't present yet:

# Address Search Protocol
asp		27374/udp

and the following are those added to /etc/inetd.conf, in order to make
inetd run asp instead of running it manually (this is the better
choice IMHO):

# Address Search Protocol
asp	dgram	udp	wait	root	/usr/local/sbin/aspd in.aspd

You could remove the binaries and the man pages with the command:

bash$ make de-install

This would not remove the lines added to /etc/services and
/etc/inetd.conf.


COMMENTS:

Try to restrict the range of the addresses to those that the searched
host could actually have: this saves bandwidth.

Metaip addresses are allowed only on the last part of the input
addresses: if the possible ip addresses belongs to different networks,
use as many metaip addresses as needed; this is because allowing
metaip addresses as xxx.yyy.*.* or even *.*.*.* would not be a good
idea...



Stenio Brunetta

stenio@brunettaeperin.it
