summaryrefslogtreecommitdiffstats
path: root/utils/statd/monitor.c
Commit message (Collapse)AuthorAgeFilesLines
* statd - check for 'priv' when looking for duplicate registrations.Neil Brown2007-03-291-1/+2
| | | | | | | | From the point of view of the client (lockd), the 'priv' blob is probably the most important key, so make sure to not throw away requests with new 'priv' information. Signed-off-by: Neil Brown <neilb@suse.de>
* statd - remove a pointless ifNeil Brown2007-03-291-19/+17
| | | | | | The if contains a while with essentially the same condition. Signed-off-by: Neil Brown <neilb@suse.de>
* statd - keep persistent state in sm/* files.Neil Brown2007-03-291-1/+76
| | | | | | | | | | | | If statd dies and is restarted, it forgets what peers the kernel is interested in monitoring, and so will not forward NOTIFY requests properly. With this patch the required information is recorded in the files in /var/lib/nfs/sm/* so that a kill/restart does what you might hope. Signed-off-by: Neil Brown <neilb@suse.de>
* Make --enable-secure-statd the default.Neil Brown2007-03-151-6/+14
| | | | | | | | | | | | | | i.e. you now need --disable-secure-statd if you want any client other than lockd to talk to statd. Also relax the RESTRICTED_STATD checks so that a recent kernel with /proc/sys/fs/nfs/nsm_use_hostnames set can still talk to statd. Finally, restrict access to simulate_crash so that only privileged processes on localhost can call it. Having it accessible by the whole world is probably not much more than a minor inconvenience, but it really should be kept closed.
* Fix a number of the easier compile warnings: unused variables,Greg Banks2006-06-221-0/+4
| | | | unused labels, constness, signedness.
* Autogen updateneilbrown2005-12-201-1/+3
|
* Assorted changes from Steve Dicksonneilbrown2005-10-061-1/+2
|
* Fix spurious error message: erroneous SM_UNMON if RESTRICTED_STATDneilbrown2004-09-151-5/+41
|
* Support --ha-callout for high-availability calloutsneilbrown2004-09-061-0/+9
|
* Rename statd log() to note() to avoid conflict with ISO C.chip2003-08-221-18/+18
|
* Support "-P path" in statd as alternate to /var/lib/nfsneilbrown2002-09-021-1/+1
|
* 2000-12-10 Chip Salzenberg <chip@valinux.com>chip2000-12-111-4/+7
| | | | | | * utils/statd/monitor.c (sm_mon_1_svc): Fix buggy check for program and procedure numbers of kernel lockd's callback. Also, besides the old (and broken) procedure #24, allow #16 per Trond.
* Accept lockd callbacks to the new port 24 as well as the historicalchip1999-11-251-1/+4
| | | | port 100021.
* Initial revisionhjl1999-10-181-0/+287