summaryrefslogtreecommitdiffstats
path: root/utils/statd
Commit message (Collapse)AuthorAgeFilesLines
...
* sm-notify - Fix typos in Usage message.Neil Brown2007-03-221-1/+1
|
* Fix errors in statd calling sm-notify.Neil Brown2007-03-221-4/+5
| | | | | | The option for set-source-address is '-v', not '-N'. And only warn about -N if -N was actually used.
* statd - remove try_to_resolveNeil Brown2007-03-201-60/+2
| | | | | | try_to_resolve is used to resolve a hostname when sending a notification. But we now only send notifications to localhost, so name resolution is not needed.
* sm-notify - use state directory provided via ./configureNeil Brown2007-03-201-1/+5
|
* Add --with-rpcgen= for configure so that the system rpcgen can be used.Neil Brown2007-03-201-2/+5
| | | | | | | Ultimately it makes sense to remove remove rpcgen from the nfs-utils release as it is already in the glibc release. With this patch you can use the system rpcgen to make sure it works. It is not default yet, but it might be in a future release.
* statd - delay drop-privs until sockets have been setup.Neil Brown2007-03-201-1/+5
| | | | | Registering sockets with portmap might require root privs, so don't drop privs until that has been done.
* Allow rpc.statd to *not* run sm-notify.Neil Brown2007-03-203-22/+47
| | | | | With -L (for Listen-only) or --no-notify, statd will not run sm-notify.
* Remove notify functionality from statd in favour of sm-notifyNeil Brown2007-03-209-392/+84
| | | | | statd now execs sm-notify to notify peers and only listens to monitor requests and remote notifications itself.
* sm-notify - compile and installNeil Brown2007-03-203-4/+8
| | | | | Add sm-notify to the compile/install scripts, (and fix a compile warning).
* sm-notify - drop privileges before receiving packets from network.Neil Brown2007-03-202-0/+47
| | | | | If /var/lib/nfs/sm is owned by non-root, setuid to that uid after opening sockets but before receiving answers.
* Prevent sm-notify from being run multiple times per reboot.Neil Brown2007-03-202-4/+62
| | | | | | | | | As "mount.nfs" can start statd, and as statd can start sm-notify, the risk of sm-notify being run multiple times increases. As this is not normally appropriate, sm-notify now creates a file in /var/run which will stop future instances from being run (though ofcourse this behaviour can be controlled by a new command line option).
* sm-notify - make the manpage a little more up-to-dateNeil Brown2007-03-201-18/+29
|
* sm-notify: remove addr_parseNeil Brown2007-03-201-22/+2
| | | | | This functionality is alreday present in getaddrinfo so it isn't needed explicitly.
* sm-notify: Allow base path to be set by command line option.Neil Brown2007-03-201-4/+26
| | | | for compat with statd.
* Add sm-notify from SuSENeil Brown2007-03-202-0/+792
| | | | Not included in build yet.
* Make --enable-secure-statd the default.Neil Brown2007-03-152-6/+38
| | | | | | | | | | | | | | 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.
* Remove path name for rpc.statd from manpage.Neil Brown2007-02-051-1/+1
| | | | | As the man page doesn't need it, and different distros put it in different places.
* Fix typos in various man pages.Steinar H. Gunderson2006-07-051-1/+1
|
* Merge branch 'master' of git://linux-nfs.org/nfs-utilsGreg Banks2006-07-031-5/+3
|\
| * Further coverity related cleanups.Neil Brown2006-06-231-9/+3
| | | | | | | | | | Greg Banks suggested some variations, particularly improved use of xmalloc/xstrdup functions. Thanks.
| * Fix various issues discovered by CoverityNeil Brown2006-06-231-1/+5
| | | | | | | | Thanks to Michael Halcrow for finding them.
* | Comment out unused variable.Greg Banks2006-06-271-0/+2
| |
* | Detect if glibc provides socklen_t and use that insteadGreg Banks2006-06-271-1/+5
| | | | | | | | | | of int in those cases which generate compile warnings, e.g. the last argument of recvfrom().
* | Fix a number of the easier compile warnings: unused variables,Greg Banks2006-06-224-4/+7
|/ | | | unused labels, constness, signedness.
* Remove **/Makefile.in, aclocal.m4, configure, andNeil Brown2006-04-171-650/+0
| | | | | | support/include/config.h.in from source control These are auto autogenerated by aclocal -I aclocal ; autoheader ; automake ; autoconf
* Define and use HIAVE_IFADDRS_HNeil Brown2006-04-171-1/+7
|
* 2006-04-10 "Kevin Coffman" <kwc@citi.umich.edu>neilbrown2006-04-101-0/+2
| | | | | Check for sufficient version of librpcsecgss and libgssapi in configure.in
* 2006-04-10 "Kevin Coffman" <kwc@citi.umich.edu>neilbrown2006-04-101-0/+2
| | | | | Update aclocal/tcp-wrappers.m4 to define HAVE_LIBWRAP and HAVE_TCP_WRAPPERS as appropriate.
* aclocal/autoconf/automake, properly this time.neilbrown2006-03-281-0/+4
|
* Remove all the Makefilesneilbrown2005-12-201-61/+0
|
* More automake stuffneilbrown2005-12-201-0/+642
|
* Autogen updateneilbrown2005-12-2014-13/+138
|
* Assorted changes from Steve Dicksonneilbrown2005-10-065-13/+74
|
* Update contact information; no functional changes.juphoff2005-04-232-8/+8
|
* Added TOP, as needed, for easier compile in subdirectoriesgmorris2005-04-121-0/+1
|
* Make statd_get_socket actually honour the 'port' parameter.neilbrown2005-02-281-2/+9
|
* HA statd updatesneilbrown2004-12-062-1/+5
|
* statd fixesneilbrown2004-12-062-1/+13
|
* Ignore SIGPIPE in statdneilbrown2004-12-031-0/+5
|
* Fix spurious error message: erroneous SM_UNMON if RESTRICTED_STATDneilbrown2004-09-151-5/+41
|
* Support --ha-callout for high-availability calloutsneilbrown2004-09-066-3/+70
|
* Makefile changes.neilbrown2003-09-141-0/+2
|
* Work around RLIMIT_NOFILE-to-big problemneilbrown2003-09-121-0/+17
|
* Rename statd log() to note() to avoid conflict with ISO C.chip2003-08-2213-91/+91
|
* statd cleanupneilbrown2003-07-042-11/+102
|
* See ChangeLogneilbrown2002-10-111-2/+11
|
* Haircut.juphoff2002-09-161-42/+1
|
* Back at NRAO, updated contact info.juphoff2002-09-162-9/+9
|
* -N for statdneilbrown2002-09-023-8/+20
|
* Support "-P path" in statd as alternate to /var/lib/nfsneilbrown2002-09-025-8/+67
|