|
|||||||||||
|
linux-ipsec: canonical name of a machine
From: Richard Guy Briggs <rgb(at)conscoop.ottawa.on.ca>
Date: Tue Nov 03 1998 - 14:04:11 EST
I am trying to compare an arbitrary IP with the host to see if they are one and the same. I would like to be able to compare a symbolic or numeric address with the host it is running in to see if it is referring to itself. In the case of a single network card, this is trivial, but once you have more than one network interface (3 ethers and 1 ppp) it is no longer obvious. Is there some resolver function that will identify the canonical address of any machine?
slainte mhath, RGB
see:<http://conscoop.ottawa.on.ca/rgb/wedding.html> Richard Guy Briggs -- PGP key available Auto-Free Ottawa! Canada rgb at conscoop dot ottawa dot on dot ca < http://flora.org/afo/><http://www.conscoop.ottawa.on.ca/rgb/> FreeS/WAN:<http://flora.org/freeswan> Please send all spam to root@127.0.0.1
"We left our footprints in the Earth
-----BEGIN PGP SIGNATURE-----
iQCVAwUBNj9TqN+sBuIhFagtAQGHFgP/QsXaN1pL/whCnxN8DZwmnU5qEAVVfqcl
D/z1oGdxG3pJOgzkMZj15KtyECZTog0pysIxGd0aefLKHMMoXFzsaLXWIF/aIkNI
tbGbj7WabFPZ/NJ1o7mLAuwyOH2K2kuzyczOqsnHwb2D+zflBM52KoUGjOoH1p47
Mr8DaZiGQXA=
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:04 EDT |
||||||||||
|
|||||||||||