diff options
author | Neil Brown <neilb@suse.de> | 2007-03-29 13:08:08 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-03-29 13:08:08 +1000 |
commit | 0da56f7d359475837008ea4b8d3764fe982ef512 (patch) | |
tree | 57ada9d84c59c5cd4adbb764ae78f026b773fbbc /utils/gssd/write_bytes.h | |
parent | 63d92ed0bc0e62b77e974b10f4ec02f004ef33cc (diff) | |
download | nfs-utils-0da56f7d359475837008ea4b8d3764fe982ef512.tar.gz nfs-utils-0da56f7d359475837008ea4b8d3764fe982ef512.tar.xz nfs-utils-0da56f7d359475837008ea4b8d3764fe982ef512.zip |
statd - use dnsname to ensure correct matching of NOTIFY requests.
When lockd asks to monitor a host, we find the FQDN from the DNS
and remember that, both internally and in the /var/lib/nfs/sm/*
file.
When we receive an SM_NOTIFY request, we compare both the
mon_name and the source IP address against that DNS name to find
a match.
If a DNS name is not available, we fall back to the name provided by
lockd, which at least is known to map to an IP address via
gethostbyname.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/gssd/write_bytes.h')
0 files changed, 0 insertions, 0 deletions