1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
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
brunetta@tin.it
stebrune@dsi.unive.it
|