1 2000-09-01 H.J. Lu <hjl@lucon.org>
3 * README: Updated for 0.2.
5 2000-09-01 Jay Weber <jweber@valinux.com>
7 * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
8 supporting version 3 of nfs if available, else it will fall back to
9 version 2 support only.
11 2000-08-30 H.J. Lu <hjl@lucon.org>
13 * configure.in (VERSION): Set to "0.2".
14 * configure: Regenerated.
15 * nfs-utils.spec: Updated.
17 2000-08-25 H.J. Lu <hjl@lucon.org>
19 * support/misc/tcpwrapper.c (logit): Modify the log output.
21 2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
23 * utils/rquotad/rquotad.man, utils/statd/statd.man,
24 utils/mountd/mountd.man: updated
26 * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
27 * utils/rquotad/Makefile: fix comment
29 * support/misc/tcpwrapper.c (logit): added comment about waiting
30 for the children after fork()
32 * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
33 zombies behind (from logit()'s fork)
34 * utils/rquotad/rquota_svc.c (main): ditto
35 * utils/statd/statd.c (main): ditto
37 * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
38 to check_default instead of 0, for prognum
40 * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
41 to check_default instead of 0, for prognum
43 * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
44 HAVE_TCP_WRAPPER is defined.
45 (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
46 defined. Reject an RPC call if check_default () fails.
48 2000-08-25 H.J. Lu <hjl@lucon.org>
50 * support/include/tcpwrapper.h: New for the tcp wrapper
52 * support/misc/Makefile: Likewise.
53 * support/misc/from_local.c: Likewise.
54 * support/misc/tcpwrapper.c: Likewise.
56 * aclocal.m4 (AC_TCP_WRAPPER): New.
57 * configure.in: Use it. Substitute LIBWRAP.
60 * config.mk.in (LIBNSL): New.
63 * support/Makefile (SUBDIRS): Add misc.
65 * support/lib/Makefile (LIBS): Add libmisc.a.
67 * utils/rquotad/Makefile (LIBS): Add
69 -lmisc $(LIBWRAP) $(LIBNSL)
71 * utils/statd/Makefile (LIBS): Likewise.
73 * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
74 HAVE_TCP_WRAPPER is defined.
75 (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
76 defined. Reject an RPC call if check_default () fails.
78 * utils/statd/statd.c: Include "tcpwrapper.h" if
79 HAVE_TCP_WRAPPER is defined.
80 (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
81 check_default () before calling sm_prog_1 (). Define it as
82 sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
84 2000-08-25 Chip Salzenberg <chip@valinux.com>
86 * debian/*: Complete Debian build support.
87 * etc/debian/*: Remove.
89 2000-08-24 Neil Brown <neilb@cse.unsw.edu.au>
91 * support/export/client.c(client_check): removed the "dot+1" as a
92 ypdomain argument to innetgr as this is entirely bogus.
93 It should always be NULL.
95 2000-08-23 Neil Brown <neilb@cse.unsw.edu.au>
97 * support/export/xtab.c(xtab_read): introduce new mode for
98 reading xtab. i.e. a list of exports that might be known to the
99 kernel, or might not. These are flagged as m_exported == -1
100 * support/export/xtab.c(xtab_mount_read): call xtab_read with new
101 value "2" for xtab, meaning don't trust this too much.
102 * support/include/exportfs.h(struct mexport): changed m_exported
103 from one bit to an int so that it can hold new value
104 * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
105 kernel if it is uncertain whether the kernel knows (m_exported == -1)
106 * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
109 * support/nfs/xio.c(xflock): added O_CREAT when getting
110 a write lock so that missing files aren't fatal.
112 * etc/debian/nfs-common: new file from "potato"
113 * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
115 2000-08-09 H.J. Lu <hjl@lucon.org>
117 * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
118 startup to ensure all existing clients work fine.
120 * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
121 to xtab_read () for reading _PATH_XTAB.
123 2000-08-02 H.J. Lu <hjl@lucon.org>
125 * utils/mountd/auth.c (auth_authenticate_internal): Try to
126 avoid the reverse name lookup.
128 2000-07-04 H.J. Lu <hjl@lucon.org>
130 * utils/statd/log.c: Include <stdlib.h> for exit ().
132 * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
135 2000-07-04 H.J. Lu <hjl@lucon.org>
137 * configure.in (VERSION): Set to "0.1.9.1".
138 * configure: Regenerated.
139 * nfs-utils.spec: Updated.
143 2000-07-04 Neil Brown <neilb@cse.unsw.edu.au>
145 * support/export/hostname.c (hostent_dup): Handle the NULL
148 2000-07-03 H.J. Lu <hjl@lucon.org>
150 * README: Update the util-linux requirement.
152 2000-07-03 H.J. Lu <hjl@lucon.org>
154 * configure.in (VERSION): Set to "0.1.9".
155 * configure: Regenerated.
156 * nfs-utils.spec: Updated.
160 2000-07-03 H.J. Lu <hjl@lucon.org>
162 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
163 stop to ensure all clients can still access the server
164 before it is shutdown.
166 2000-06-30 Jeff Uphoff <juphoff@transmeta.com>
168 * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
169 calls with format string.
171 2000-06-28 Chip Salzenberg <chip@valinux.com>
173 * utils/statd/log.c (log): Call syslog with format string.
175 2000-06-27 H.J. Lu <hjl@lucon.org>
177 * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
180 2000-06-27 H.J. Lu <hjl@lucon.org>
184 2000-06-27 H.J. Lu <hjl@lucon.org>
186 * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
187 startup to ensure all existing clients are exported.
189 * configure.in (VERSION): Set to "0.1.8.2".
190 * configure: Regenerated.
191 * nfs-utils.spec: Updated.
193 2000-06-06 H.J. Lu <hjl@lucon.org>
195 * configure.in (VERSION): Set to "0.1.8.1".
196 * configure: Regenerated.
197 * nfs-utils.spec: Updated.
199 2000-06-06 H.J. Lu <hjl@lucon.org>
201 * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
202 to "struct sockaddr_in *" for glibc 2.2.
203 (mount_umnt_1_svc): Likewise.
204 (mount_umntall_1_svc): Likewise.
205 (mount_export_1_svc): Likewise.
206 (mount_exportall_1_svc): Likewise.
207 (mount_pathconf_2_svc): Likewise.
208 (get_rootfh): Likewise.
210 2000-06-04 H.J. Lu <hjl@lucon.org>
212 * etc/redhat/nfs.init: Fix a typo in comment.
214 2000-05-31 H.J. Lu <hjl@lucon.org>
216 * configure.in (VERSION): Set to "0.1.8".
217 * configure: Regenerated.
218 * nfs-utils.spec: Updated.
222 2000-05-31 H.J. Lu <hjl@lucon.org>
224 * configure.in (VERSION): Set to "0.1.7.5".
225 * configure: Regenerated.
226 * nfs-utils.spec: Updated.
228 * support/include/nfslib.h (exportent): Add a new field,
229 r_count, to count the number of mounts from a client.
230 (getrmtabent): Take a new argument for position in file.
231 (putrmtabent): Likewise.
232 (fgetrmtabent): Likewise.
233 (fputrmtabent): Likewise.
234 * support/nfs/rmtab.c (getrmtabent): Handle the new argument
235 for position in file.
236 (fgetrmtabent): Likewise.
237 (putrmtabent): Likewise.
238 (fputrmtabent): Likewise.
240 * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
243 * support/export/rmtab.c (rmtab_read): Pass NULL as the new
244 argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
246 * utils/mountd/rmtab.c (mountlist_add): Likewise.
247 (mountlist_del): Likewise.
248 (mountlist_del_all): Likewise.
249 (mountlist_list): Likewise.
251 * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
252 for the existing entry and initialize "r_count" to 1.
253 (mountlist_del): Decrement "r_count".
255 2000-05-18 H.J. Lu <hjl@lucon.org>
257 * configure.in (VERSION): Set to "0.1.7.4".
258 * configure: Regenerated.
259 * nfs-utils.spec: Updated.
261 2000-05-18 H.J. Lu <hjl@lucon.org>
263 * etc/redhat/nfs.init (restart): Just do stop and start.
265 2000-05-09 Jay Weber <jweber@valinux.com>
267 * utils/rquotad/hasquota.c: added support for ext3 recognition
269 * utils/rquotad/mntent.h: Likewise.
271 2000-05-01 H.J. Lu <hjl@lucon.org>
273 * configure.in (VERSION): Set to "0.1.7.3".
274 * configure: Regenerated.
275 * nfs-utils.spec: Updated.
277 2000-05-01 H.J. Lu <hjl@lucon.org>
279 * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
280 mounting poins in /etc/fstab.
282 2000-05-01 H.J. Lu <hjl@lucon.org>
284 * configure.in (VERSION): Set to "0.1.7.2".
285 * configure: Regenerated.
286 * nfs-utils.spec: Updated.
288 2000-05-01 H.J. Lu <hjl@lucon.org>
290 * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
291 to check for the mounting point.
293 2000-04-29 Chip Salzenberg <chip@valinux.com>
294 Neil Brown <neilb@cse.unsw.edu.au>
296 * Really re-use RPC ports.
297 (Fixes earlier patch. Sorry, Neil.)
299 2000-04-26 H.J. Lu <hjl@lucon.org>
301 * configure.in (VERSION): Set to "0.1.7.1".
302 * configure: Regenerated.
303 * nfs-utils.spec: Updated.
305 2000-04-26 H.J. Lu <hjl@lucon.org>
307 * etc/redhat/nfslock.init: Check if lockd exits before killing
310 2000-04-25 H.J. Lu <hjl@lucon.org>
312 * README: Require util-linux-2.10f-mount-rpc.patch for mount.
314 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
316 * support/nfs/exports.c (parsesquash): Correctly set the
319 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
321 * support/include/nfs/nfs.h: Removed knowledge of internals of
322 kernel filehandles (which can change) and defined nfs_fh_size
323 which has variable size
325 * support/nfs/getfh.c: defined getfh_size to use new syscall to
326 get variable sized file handles, and change getfh{,old} to
329 * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
332 * tools/Makefile, tools/nlmtest/nlmtest.c
333 nlmtest.c depended on internel format of file handles, so now
337 2000-03-12 Chip Salzenberg <chip@valinux.com>
338 Neil Brown <neilb@cse.unsw.edu.au>
340 * support/nfs/rpcmisc.c (rpc_init): Share transports.
342 2000-03-13 H.J. Lu <hjl@lucon.org>
344 * etc/redhat/nfsd.init: Updated.
346 * etc/redhat/nfslock.init: Updated.
348 * nfs-utils.spec.in: Updated.
350 * configure.in (VERSION): Set to "0.1.7".
351 * configure: Regenerated.
352 * nfs-utils.spec: Updated.
356 Wed Mar 8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
358 * utils/exportfs/exportfs.c (dump): Included printing of
359 nohide, no_subtree_check, and insecure_locks
361 2000-02-26 Chip Salzenberg <chip@valinux.com>
363 * config.mk.in (INSTALLSUID): Strip ("-s").
364 (INSTALLSCRIPT): Define.
365 * utils/nhfsstone/Makefile: Use it.
367 2000-02-26 Chip Salzenberg <chip@valinux.com>
369 * utils/lockd/lockd.man: Create.
370 * utils/lockd/Makefile: Install it.
371 * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
372 * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
373 * utils/nhfsstone/Makefile: Install the helper scripts and
375 * utils/exportfs/exports.man: Fix typo.
377 2000-02-26 Chip Salzenberg <chip@valinux.com>
379 * support/nfs/xio.c (xungetc): Decrement line number when
380 character to unget is newline. Make first parameter int, so
381 it can distinguish EOF from \377.
382 * support/include/xio.h (xungetc): Adjust prototype.
384 Fri Feb 4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
386 * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
387 * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
388 * utils/exportfs/exports.man: added documentation for no_auth_nlm.
390 This is for supporting a new option introduced in 2.3.42
392 Thu Feb 3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
394 * COPYING: Added. GPL.
396 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
398 * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
399 to get the block size.
401 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
403 * nfs-utils.spec.in: Update ftp site.
405 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
407 * README: Update hostnames.
409 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
411 * configure.in (VERSION): Set to "0.1.6".
412 * configure: Regenerated.
413 * nfs-utils.spec: Updated.
417 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
419 * utils/mountd/auth.c (auth_authenticate_internal): Call
420 xstrdup for hostname before passing it to gethostbyname.
422 * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
425 Sun Dec 19 09:35:01 1999 H.J. Lu <hjl@lucon.org>
427 * README: Update the mailing list address.
429 Sun Dec 19 09:22:28 1999 H.J. Lu <hjl@lucon.org>
431 * configure.in (VERSION): Set to "0.1.5".
432 * configure: Regenerated.
433 * nfs-utils.spec: Updated.
437 Mon Dec 13 13:40:20 1999 H.J. Lu <hjl@lucon.org>
439 * utils/rquotad/hasquota.c (hasquota): Malloc one more char
442 Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
444 * configure.in (VERSION): Set to "0.1.4".
445 * configure: Regenerated.
446 * nfs-utils.spec: Updated.
450 Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
452 * nfs-utils.spec.in: New file.
454 * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
456 * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
458 1999-12-04 Chip Salzenberg <chip@valinux.com>
460 * config.mk.in: Use $(CC) as set by configure.
462 1999-12-04 Chip Salzenberg <chip@valinux.com>
464 * rules.mk: Call $(MAKE) with $(MFLAGS).
466 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
468 * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
469 IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
471 Mon Nov 29 11:17:35 1999 H.J. Lu <hjl@lucon.org>
473 * nfs-utils.spec (Version): Set to 0.1.3.
475 * configure.in (VERSION): Set to "nfs-utils 0.1.3".
476 * configure: Regenerated.
480 Mon Nov 29 11:15:47 1999 H.J. Lu <hjl@lucon.org>
482 * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
483 (_PATH_DEV_DSK): Likewise.
484 (getquotainfo): Match the mounting point from /etc/mtab
485 instead of calling nfsmount_to_devname ().
487 1999-11-24 Chip Salzenberg <chip@valinux.com>
489 * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
490 to the new port 24 as well as the historical port 100021.
492 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
494 * etc/redhat/nfsd.init (stop): moved exportfs -ua after
495 stopping nfsd to stop spurious ESTALE on server shutdown.
497 Tue Nov 23 10:13:39 1999 Neil Brown <neilb@cse.unsw.edu.au>
499 * support/nfs/exports.c (parseopts): make copy of opt string
500 before 'nul'ing out commas so that
502 # exportfs -o option1,option2 hosta:/fs hostb:/fs
504 applies both options to both exports.
506 Thu Oct 28 12:55:42 1999 H.J. Lu <hjl@lucon.org>
508 * README: Fix a few typos.
510 * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
512 * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
513 * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
514 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
515 (unsigned_dec): Likewise.
516 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
517 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
519 * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
521 * tools/rpcgen/rpc_parse.c (get_type): Likewise.
522 (unsigned_dec): Likewise.
523 * tools/rpcgen/rpc_scan.c (symbols): Likewise.
524 * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
525 * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
527 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
529 * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
530 * support/nfs/exports.c: added {no_,}subtree_check and changed
532 * utils/exportfs/exports.man: added no_subtree_check and nohide
533 and removed irrelevant stuff from unfsd.
534 * support/export/rmtab.c: rmtab_read didn't quite do the right
535 thing if a pathname from rmtab was a subdirectory of an export-point
537 Tue Oct 26 17:22:40 1999 H.J. Lu <hjl@lucon.org>
539 * README: Updated ftp site.
541 Mon Oct 25 18:12:45 1999 H.J. Lu <hjl@lucon.org>
543 * nfs-utils.spec (Version): Set to 0.1.2.
545 * configure.in (VERSION): Set to "nfs-utils 0.1.2".
546 * configure: Regenerated.
550 Mon Oct 25 18:11:21 1999 H.J. Lu <hjl@lucon.org>
552 * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
553 (auth_authenticate_internal): Check for NULL return on forward
555 (auth_authenticate): Handle "no_forward_dns".
557 Thu Oct 21 16:22:06 1999 H.J. Lu <hjl@lucon.org>
559 * Version 0.1.1 released.
561 * nfs-utils.spec (Version): Set to 0.1.1.
563 * configure.in (VERSION): Set to "nfs-utils 0.1.1".
564 * configure: Regenerated.
568 Mon Oct 18 17:43:29 1999 H.J. Lu <hjl@lucon.org>
570 * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
572 (Provides): Likewise.
574 Mon Oct 18 14:56:22 1999 H.J. Lu <hjl@lucon.org>
576 * Initial version 0.1 released.
578 * configure.in (VERSION): Set to "nfs-utils 0.1".
579 * configure: Regenerated.
581 Mon Oct 18 14:54:57 1999 H.J. Lu <hjl@lucon.org>
583 * utils/mountd/mountd.c (get_exportlist): Cleanup.
585 * utils/exportfs/exportfs.c (unexport_all): Unexport from
586 kernel only if the entry is exported to kernel.
587 (unexportfs): Likewise.
589 Wed Sep 08 16:49:32 1999 Neil Brown <neilb@cse.unsw.edu.au>
591 1/ utils/mountd/rmtab.c::mountlist_list
593 This routine stats the rmtab file to see if it has changed. It
594 if has, it cleans up it's old copy of the data. But it still
595 always re-read the file, thus returning multiple copies of the
596 data on consecutive calls without intervening changes.
597 "Showmount -a" didn't show this as it appears to sort/unique the
598 data, but 'strace showmount -a' showed that the size of the
599 datagram that it received grew.
601 I moved the getrmtabent loop inside the mtime test.
603 2/ utils/exportfs/exportfs.c
605 Many routines used the m_path field of m_export instead of
607 According to the comment in nfslib.h, m_path should only
608 be used when processing a mount request (i.e. in mountd)
609 where the mountpoint may be a subdirectory of the export point.
611 I changed all occurances of m_path to e_path
614 3/ utils/exportfs/exportfs.c:main
616 extra arguments are not meaningful with -a or -r, but
617 exportfs accepted them and then ignored the -a/-r, expect that
618 -r would still unexport everything first.
620 I generate an error if there are extra args and f_all
622 4/ utils/exportfs/exportfs.c:main
623 extract dump out as a special case.
625 5/ utils/exportfs/exportfs.c
626 made f_reexport a local variable.
629 6/ utils/exportfs/exportfs.c:main,exportall
631 support/export/rmtab.c
632 only mayexport on newly created entries, don't set xtabent at all
634 7/ support/include/nfslib.h
636 add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
638 8/ support/export/xtab.c
640 xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
644 9/ support/export/xtab.c
646 xtab_mount_read now sets m_exported, and NOT
647 xtabent and mayexport
649 removed the append arguement from xtab_write as it was
652 added is_export flag to xtab_write similar to xtab_read
653 if is_export, only write entries with m_xtabent or m_addxtab
654 if !is_export, only write entries with m_exported
656 10/ support/export/export.c::export_allowed_internal
658 added test for exp->m_mayexport, as the export tree
659 may have entries that are no longer allowed to be exported,
660 and so shouldn't caused deduced exported by rmtab_read
662 11/ utils/exportfs/exportfs.c::main
663 error checking of flags.
665 12/ utils/exportfs/exportfs.c
667 total rewrite of export and unexport logic.
669 - build an exportslist of valid exports, based on
670 current etab file and arguments,
671 - read rmtab to instantiate relevant wild card entries
672 - read etab to find out what is currently exported
673 - synchronise intention with reality
674 - write out etab and xtab
677 discard the m_addxtab flag
678 add m_changed flag so we know what to report in exportfs
680 14/ utils/mountd/auth.c:auth_authenticate
682 the value returned by gethostbyaddr was trusted.
684 It now follows this with a call to gethostbyname
685 and checks that the address is in the list.
687 15/ support/export/nfsctl.c::cltsetup,expsetup
689 force client names to lowercase as kernel is
692 16/ quietened a few compiler warnings
694 17/ support/export/client:client_lookup
696 look for pre-existing client with same name before creating
699 18/ support/include/exportfs.h
701 The ordering of the MCL_* enum was:
702 ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
704 I moved ANONYMOUS to the end.
706 The ordering is significant when an export entry is being searched for to
707 match a given address. There are two problems with ANONYMOUS being first.
709 1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
710 then the ro case will always be found first and the privileged hosts won't get
712 2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
713 export entry for the specific host, and writes it to xtab.
714 When another request comes from the same host, the ANONYMOUS entry is found again,
715 before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
716 again. If causes bloat in xtab.
718 Putting ANONYMOUS at the end reflects it's nature as a catch-all
720 19/ utils/exportfs/exportfs.man
721 many updates to the man page to reflect changes to the code
723 -----------------------
729 - allow exportfs to modify rmtab file
730 - make sure kernel never gets two clients with same IP address
731 - possible kernel should reject
732 - needs to be some way to lookup client in kernel by IP address
733 - maybe get kernel to do case-insensitive comparisons on client names
734 - remove unused clients from kernel
736 - change etab to xtab and xtab to xtab.active
738 - timestamp and/or statd-stamp in rmtab for removing old entries.
740 Mon Oct 18 11:48:07 1999 H.J. Lu <hjl@lucon.org>
742 * linux-nfs: New directory.
743 * linux-nfs/ChangeLog: Moved from ..
744 * linux-nfs/INSTALL: Likewise.
745 * linux-nfs/KNOWNBUGS: Likewise.
746 * linux-nfs/NEW: Likewise.
747 * linux-nfs/README: Likewise.
748 * linux-nfs/THANKS: Likewise.
749 * linux-nfs/TODO: Likewise.
751 * Starting from knfsd 1.4.7.