summaryrefslogtreecommitdiffstats
path: root/utils/statd
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* 2001-12-26 Chip Salzenberg <chip@pobox.com>chip2001-12-271-2/+1
| | | | | | | | | * utils/exportfs/exports.man: Emphasize the need for options to immediately follow client names. Explain that wildcards don't usually work on addresses, but may work when reverse DNS fails. * utils/mountd/mountd.man, utils/rquotad/rquotad.man, utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)". * debian/changelog: Version 0.3.3-6.
* 2001-11-26 Chip Salzenberg <chip@pobox.com>chip2001-11-261-3/+1
| | | | | | | | | | * utils/showmount/showmount.c (main): Don't assume that strings starting with digits are IP addresses. * utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on /dev/null before nfssvc(). Use syslog to report nfssvc errors. * support/misc/tcpwrapper.c, utils/mountd/mountd.man, utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and man pages: We check host names *and* addresses with tcpwrappers.
* 2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>hjl2001-08-173-3/+22
| | | | | | | | | | | | | | | H.J. Lu <hjl@lucon.org> * etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd. * utils/statd/statd.c (longopts): Add "name". (usage): Add "-n/--name". (main): Set MY_NAME with "-n/--name". * utils/statd/state.c (change_state): Set MY_NAME only if it is NULL. * utils/statd/statd.man: Updated for "-n/--name".
* 2001-03-21 H.J. Lu <hjl@lucon.org>hjl2001-03-215-57/+113
| | | | | | | | | | | | | | | | | | | | | | * nfs-utils.spec: Regenerated. (Release): Set to 3. 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu> * utils/statd/statd.c (main): make sure file descriptors 0-2 are open to /dev/null. 2001-03-21 H.J. Lu <hjl@lucon.org> * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10. * support/nfs/rpcmisc.c: Likewise. * utils/rquotad/rquota_svc.c: Likewise. * utils/rquotad/rquotad.man: Likewise. * utils/statd/Makefile: Likewise. * utils/statd/rmtcall.c: Likewise. * utils/statd/simulate.c: Likewise. * utils/statd/statd.c: Likewise. * utils/statd/statd.man: Likewise.
* 2001-03-11 H.J. Lu <hjl@lucon.org>hjl2001-03-125-105/+55
| | | | | | | | | | | | * support/include/rpcmisc.h: Undo the change made on 2001-03-10. * support/nfs/rpcmisc.c: Likewise. * utils/rquotad/rquota_svc.c: Likewise. * utils/rquotad/rquotad.man: Likewise. * utils/statd/Makefile: Likewise. * utils/statd/rmtcall.c: Likewise. * utils/statd/simulate.c: Likewise. * utils/statd/statd.c: Likewise. * utils/statd/statd.man: Likewise.
* 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>hjl2001-03-115-55/+105
| | | | | | | | | | | | | | | | | * utils/rquotad/rquotad.man: Updated for -p. * utils/statd/statd.man: Likewise. 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu> * support/nfs/rpcmisc.[ch]: export makesock() * utils/statd/statd.c: added longopts, added support for specifying the port to bind to on the command line. * utils/statd/statd.c: ditto, also specify port used for outgoing connections. * utils/statd/Makefile (LIBS): link with our own libnfs
* 2001-02-17 Patrick J. LoPresti <patl@curl.com>hjl2001-02-171-1/+1
| | | | | * utils/statd/log.c (log_init): Use LOG_DAEMON instead of LOG_LOCAL5.
* Misc. updates per bug #127435lon2001-02-161-2/+2
| | | | /usr/sbin/rpc.statd -> /sbin/rpc.statd