* scripts/amd.conf-sample, scripts/amd.conf.5, doc/am-utils.texi,
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 21 Apr 2006 01:11:50 +0000 (01:11 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 21 Apr 2006 01:11:50 +0000 (01:11 +0000)
commit75cfca58f7c31171c2d8c2d60a6824b20a423e51
treef4b441e8304454862789ca9ad25f6d2153268102
parent7018a199f745dd90efc8b3c7677ae56b9687752e
* scripts/amd.conf-sample, scripts/amd.conf.5, doc/am-utils.texi,
NEWS: document new nfs_allow_any_interface parameter.

* include/am_compat.h (INADDR_LOOPBACK): define INADDR_LOOPBACK if
not defined, since some systems don't have it.

* libamu/wire.c (is_interface_local): new boolena function to
determine if address represents any of the local interfaces.
(getwire): more properly check if address equals INADDR_LOOPBACK,
not if IFF_LOOPBACK is not (the latter isn't as correct).

* include/am_utils.h: extern for new is_interface_local() function.

* conf/transp/transp_{sockets,tli}.c: don't define INADDR_LOOPBACK
here but in am_compat.h

* amd/nfs_prot_svc.c (nfs_program_2): if
nfs_allow_any_interface=yes, then allow NFS packets from any local
interface (not just 127.0.0.1).

* amd/conf.c (gopt_nfs_allow_any_interface): implement the new
amd.conf parameter nfs_allow_any_interface.

* amd/amd.h (CFM_NFS_ANY_INTERFACE): define new global flag when
al interfaces are acceptable for local NFS packets.
13 files changed:
ChangeLog
NEWS
amd/amd.h
amd/conf.c
amd/nfs_prot_svc.c
conf/transp/transp_sockets.c
conf/transp/transp_tli.c
doc/am-utils.texi
include/am_compat.h
include/am_utils.h
libamu/wire.c
scripts/amd.conf-sample
scripts/amd.conf.5