summaryrefslogtreecommitdiffstats
path: root/utils/mountd
Commit message (Collapse)AuthorAgeFilesLines
* 1.0.6neilbrown2003-09-121-2/+2
|
* Work around RLIMIT_NOFILE-to-big problemneilbrown2003-09-121-11/+14
|
* close a filehandle before opening.neilbrown2003-08-111-1/+4
|
* Change CROSSMNT to CROSSMOUNTneilbrown2003-08-061-1/+1
|
* /proc/fs/nfsd as an alternate to /proc/fs/nfsdneilbrown2003-08-041-2/+5
|
* Open channel files O_WRONLY, and improve mountlist support.neilbrown2003-08-044-12/+26
|
* Release 1.0.5neilbrown2003-07-172-13/+14
|
* Assorted fixesneilbrown2003-07-142-2/+1
|
* See Changelogneilbrown2003-07-022-1/+2
|
* segfault fixneilbrown2003-06-161-1/+2
|
* new "mountpoint" export option.neilbrown2003-05-302-1/+34
|
* Stuffneilbrown2003-05-232-5/+15
|
* bug fixneilbrown2003-05-221-5/+4
|
* Support new kernel upcalls for export cache management.neilbrown2003-05-215-17/+530
|
* Define and use get_reliable_hostbynameneilbrown2003-05-211-66/+13
|
* typoneilbrown2003-03-261-1/+1
|
* See Changelogneilbrown2003-02-191-1/+1
|
* 2002-11-27 Chip Salzenberg <chip@pobox.com>chip2002-11-281-23/+14
| | | | | * utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer overflow bug. Reformat per rest of source file.
* 2002-10-15 Juan Gomez <juang@us.ibm.com>hjl2002-10-151-2/+38
| | | | | | * utils/mountd/rmtab.c (slink_safe_rename): New. Support symlink. (mountlist_add): Call slink_safe_rename instead of rename.
* 2002-04-08 H.J. Lu <hjl@lucon.org>hjl2002-04-082-3/+3
| | | | | | | | | | | | | * etc/redhat/nfs: New. * etc/redhat/nfs.init: Updated. * nfs-utils.spec.in: Updated. * nfs-utils.spec: Regenerated. * utils/mountd/mountd.c (longopts): Fix a typo. * utils/mountd/mountd.man: Updated.
* 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-10-11 Chip Salzenberg <chip@pobox.com>chip2001-10-111-8/+9
| | | | | * utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init. * debian/changelog: Version 0.3.3-2.
* 2001-10-08 Chip Salzenberg <chip@pobox.com>chip2001-10-081-2/+8
| | | | * utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
* Fix obsolete pathnames (/var/state -> /var/lib)chip2001-10-081-2/+2
|
* * utils/mountd/auth.c (auth_authenticate_internal): Reverseneilbrown2001-09-121-18/+6
| | | | | | change from 2000-08-02: It causes problems if someone exports to both a hostname and IP addresses. nfs-utils must be consistant about the canonical name that it chooses.
* 2001-06-05 H.J. Lu <hjl@lucon.org>hjl2001-06-052-7/+36
| | | | | | | | | * utils/mountd/mountd.c (longopts): Add "foreground/d". (main): Support --foreground/-d to set the limit of the number of open file descriptors. (usage): Updated. * utils/mountd/mountd.man: Updated for --foreground/-d.
* 2001-05-28 H.J. Lu <hjl@lucon.org>hjl2001-05-281-0/+7
| | | | | | | * utils/lockd/lockd.c (main): chdir to NFS_STATEDIR. * utils/mountd/mountd.c (main): Likewise. * utils/nfsd/nfsd.c (main): Likewise. * utils/rquotad/rquota_svc.c (main): Likewise.
* 2001-02-02 H.J. Lu <hjl@lucon.org>hjl2001-02-111-3/+3
| | | | | | | | | | | | * support/include/rpcmisc.h (rpc_init): Remove bufsize. * support/nfs/rpcmisc.c (makesock): Remove socksz and comment out SO_SNDBUF/SO_RCVBUF. (rpc_init): Remove bufsize and remove socksz in calls to makesock (). * utils/mountd/mountd.c (main): Remove bufsize in calls to rpc_init ().
* 2000-11-27 Tobias Ringstrom <tori@tellus.mine.nu>hjl2000-11-271-1/+5
| | | | | * utils/mountd/auth.c (auth_authenticate): Log the bad path warning.
* 2000-11-09 H.J. Lu <hjl@lucon.org>hjl2000-11-092-1/+8
| | | | | | | | | | | | * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if TCP is not supported by kernel. * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0. * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp". (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp". * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
* 2000-09-26 H.J. Lu <hjl@lucon.org>hjl2000-09-251-2/+3
| | | | | * utils/mountd/auth.c (auth_authenticate_internal): Make sure a non-NULL hostent is always returned.
* 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>hjl2000-08-264-17/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | * utils/rquotad/rquotad.man, utils/statd/statd.man, utils/mountd/mountd.man: updated * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL) * utils/rquotad/Makefile: fix comment * support/misc/tcpwrapper.c (logit): added comment about waiting for the children after fork() * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving zombies behind (from logit()'s fork) * utils/rquotad/rquota_svc.c (main): ditto * utils/statd/statd.c (main): ditto * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG to check_default instead of 0, for prognum * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG to check_default instead of 0, for prognum * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if HAVE_TCP_WRAPPER is defined. (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is defined. Reject an RPC call if check_default () fails.
* 1/ be less trusting of information in /var/lib/nfs/xtab. Add things toneilbrown2000-08-231-1/+1
| | | | | | kernel even if they are in here. 2/ O_CREAT [ex]log when locking for write incase they don't exist 3/ added etc/debian diretory with some files
* 2000-08-02 H.J. Lu <hjl@lucon.org>hjl2000-08-101-6/+17
| | | | | * utils/mountd/auth.c (auth_authenticate_internal): Try to avoid the reverse name lookup.
* 2000-06-05 H.J. Lu <hjl@lucon.org>hjl2000-06-061-7/+16
| | | | | | | | | | | * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller to "struct sockaddr_in *" for glibc 2.2. (mount_umnt_1_svc): Likewise. (mount_umntall_1_svc): Likewise. (mount_export_1_svc): Likewise. (mount_exportall_1_svc): Likewise. (mount_pathconf_2_svc): Likewise. (get_rootfh): Likewise.
* 2000-05-31 H.J. Lu <hjl@lucon.org>hjl2000-06-011-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (VERSION): Set to "0.1.7.5". * configure: Regenerated. * nfs-utils.spec: Updated. * support/include/nfslib.h (exportent): Add a new field, r_count, to count the number of mounts from a client. (getrmtabent): Take a new argument for position in file. (putrmtabent): Likewise. (fgetrmtabent): Likewise. (fputrmtabent): Likewise. * support/nfs/rmtab.c (getrmtabent): Handle the new argument for position in file. (fgetrmtabent): Likewise. (putrmtabent): Likewise. (fputrmtabent): Likewise. * support/nfs/rmtab.c (fgetrmtabent): Get value for the new field, r_count. * support/export/rmtab.c (rmtab_read): Pass NULL as the new argument to getrmtabent (), fgetrmtabent (), putrmtabent () and fputrmtabent (). * utils/mountd/rmtab.c (mountlist_add): Likewise. (mountlist_del): Likewise. (mountlist_del_all): Likewise. (mountlist_list): Likewise. * utils/mountd/rmtab.c (mountlist_add): Increment "r_count" for the existing entry and initialize "r_count" to 1. (mountlist_del): Decrement "r_count".
* Change to using variable length file handles, for better v3 support, andneilbrown2000-03-211-18/+22
| | | | | introduce getfh_size to use new (2.3.99) syscall for getting file handles with length
* Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>hjl2000-01-102-3/+9
| | | | | | | | * utils/mountd/auth.c (auth_authenticate_internal): Call xstrdup for hostname before passing it to gethostbyname. * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead of strdup.
* Fix forward/reverse DNS lookup for authentication.hjl1999-10-261-16/+29
|
* Initial revisionhjl1999-10-188-0/+1184