summaryrefslogtreecommitdiffstats
path: root/utils/statd/rmtcall.c
Commit message (Collapse)AuthorAgeFilesLines
* Be more cautious about use for privilege ports (<1024).Neil Brown2007-04-161-11/+23
| | | | | | | | | | | | | Ports < 1024 are a scarce resource and should not be used carelessly. Technically they should be not used at all without registration with IANA, but sometimes we need them despite that. So: for the socket that RPC services listen on, don't use a <1024 port by default. There is no need. For sockets that we send messages on, that are long-lived, and that might need to appear 'privileged', avoid using a number that is registered in /etc/services if possible.
* 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.
* Remove notify functionality from statd in favour of sm-notifyNeil Brown2007-03-201-132/+19
| | | | | statd now execs sm-notify to notify peers and only listens to monitor requests and remote notifications itself.
* 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().
* Define and use HIAVE_IFADDRS_HNeil Brown2006-04-171-1/+7
|
* Autogen updateneilbrown2005-12-201-1/+3
|
* Assorted changes from Steve Dicksonneilbrown2005-10-061-2/+58
|
* Make statd_get_socket actually honour the 'port' parameter.neilbrown2005-02-281-2/+9
|
* statd fixesneilbrown2004-12-061-0/+10
|
* Support --ha-callout for high-availability calloutsneilbrown2004-09-061-0/+3
|
* Rename statd log() to note() to avoid conflict with ISO C.chip2003-08-221-23/+23
|
* 2001-03-21 H.J. Lu <hjl@lucon.org>hjl2001-03-211-3/+4
| | | | | | | | | | | | | | | | | | | | | | * 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-121-4/+3
| | | | | | | | | | | | * 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-111-3/+4
| | | | | | | | | | | | | | | | | * 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-14 H.J. Lu <hjl@lucon.org>hjl2001-02-151-0/+1
| | | | | * utils/statd/rmtcall.c: Include <time.h>. * utils/statd/svc_run.c: Likewise.
* Added some IP address paranoia when doing callbacks to local lockd.lon2000-10-241-1/+11
|
* Fixed a bug where we were ignoring the xid in the response from a client tolon2000-10-051-1/+6
| | | | a server's SM_NOTIFY.
* Initial revisionhjl1999-10-181-0/+406