Date: Mon, 19 Mar 2001 04:50:14 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc netconfig Makefile rc.network rpc src/etc/defaults rc.conf src/include netconfig.h Makefile pthread_np.h src/include/rpc Makefile auth_kerb.h clnt_soc.h clnt_stat.h nettype.h raw.h rpcb_clnt.h rpcb_prot.x rpcent.h ... Message-ID: <200103191250.f2JCoEi27712@freefall.freebsd.org>
index | next in thread | raw e-mail
alfred 2001/03/19 04:50:14 PST
Modified files:
etc Makefile rc.network rpc
etc/defaults rc.conf
include Makefile pthread_np.h
include/rpc auth.h auth_des.h clnt.h des_crypt.h
pmap_clnt.h pmap_prot.h pmap_rmt.h rpc.h
rpc_com.h rpc_msg.h svc.h svc_auth.h
types.h xdr.h
include/rpcsvc key_prot.x nlm_prot.x sm_inter.x
lib/libc/gen _pthread_stubs.c
lib/libc/include namespace.h
lib/libc/rpc DISCLAIMER Makefile.inc README auth_des.c
auth_none.c auth_time.c auth_unix.c
authdes_prot.c authunix_prot.c
bindresvport.3 bindresvport.c
clnt_generic.c clnt_perror.c clnt_raw.c
clnt_simple.c crypt_client.c
getpublickey.c getrpcent.3 getrpcent.c
getrpcport.3 getrpcport.c key_call.c
key_prot_xdr.c netname.c netnamer.c
pmap_clnt.c pmap_getmaps.c pmap_getport.c
pmap_prot.c pmap_prot2.c pmap_rmt.c rpc.3
rpc.5 rpc_callmsg.c rpc_commondata.c
rpc_dtablesize.c rpc_prot.c rpcdname.c
svc.c svc_auth.c svc_auth_des.c
svc_auth_unix.c svc_raw.c svc_run.c
svc_simple.c
lib/libc/xdr Makefile.inc xdr.3 xdr.c xdr_array.c
xdr_float.c xdr_mem.c xdr_rec.c
xdr_reference.c xdr_sizeof.c xdr_stdio.c
lib/libc_r/uthread Makefile.inc
lib/librpcsvc Makefile yp_passwd.c
sbin/mount_nfs mount_nfs.c
sbin/mountd mountd.c
sbin/nfsd nfsd.8 nfsd.c
sbin/umount umount.c
usr.bin/keylogin keylogin.c
usr.bin/rpcgen rpc_main.c rpc_parse.c rpc_svcout.c
rpcgen.1
usr.bin/rpcinfo Makefile rpcinfo.8 rpcinfo.c
usr.bin/rup rup.c
usr.bin/rusers rusers.c
usr.sbin Makefile
usr.sbin/bootparamd/callbootd callbootd.c
usr.sbin/keyserv keyserv.c
usr.sbin/rpc.lockd Makefile lockd.c lockd.h rpc.lockd.8
test.c
usr.sbin/rpc.statd statd.h
usr.sbin/rpc.umntall rpc.umntall.c
usr.sbin/rpc.yppasswdd yppasswdd_main.c
usr.sbin/rpc.ypupdated ypupdated_extern.h ypupdated_server.c
usr.sbin/ypbind yp_ping.c ypbind.c
usr.sbin/yppush yppush_main.c
usr.sbin/ypserv yp_dnslookup.c
Added files:
etc netconfig
include netconfig.h
include/rpc Makefile auth_kerb.h clnt_soc.h
clnt_stat.h nettype.h raw.h rpcb_clnt.h
rpcb_prot.x rpcent.h svc_dg.h svc_soc.h
lib/libc/include reentrant.h
lib/libc/rpc clnt_bcast.c clnt_dg.c clnt_vc.c
getnetconfig.3 getnetconfig.c
getnetpath.3 getnetpath.c mt_misc.c
netconfig.5 rpc_clnt_auth.3
rpc_clnt_calls.3 rpc_clnt_create.3
rpc_com.h rpc_generic.c rpc_soc.3
rpc_soc.c rpc_svc_calls.3
rpc_svc_create.3 rpc_svc_err.3
rpc_svc_reg.3 rpc_xdr.3 rpcb_clnt.c
rpcb_prot.c rpcb_st_xdr.c rpcbind.3
svc_dg.c svc_generic.c svc_vc.c
lib/libc_r/uthread uthread_main_np.c
usr.sbin/rpc.lockd lock_proc.c lockd_lock.c lockd_lock.h
usr.sbin/rpcbind Makefile check_bound.c pmap_svc.c
rpcb_stat.c rpcb_svc.c rpcb_svc_4.c
rpcb_svc_com.c rpcbind.8 rpcbind.c
rpcbind.h security.c util.c warmstart.c
Removed files:
lib/libc/rpc clnt_tcp.c clnt_udp.c clnt_unix.c
get_myaddress.c svc_tcp.c svc_udp.c
svc_unix.c
usr.sbin/portmap Makefile from_local.c pmap_check.c
pmap_check.h portmap.8 portmap.c
usr.sbin/portmap/pmap_dump Makefile pmap_dump.c
usr.sbin/portmap/pmap_set Makefile pmap_set.c
Log:
Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.
Bring in required TLI library routines to support this.
Since we don't support TLI we've essentially copied what NetBSD
has done, adding a thin layer to emulate direct the TLI calls
into BSD socket calls.
This is mostly from Sun's tirpc release that was made in 1994,
however some fixes were backported from the 1999 release (supposedly
only made available after this porting effort was underway).
The submitter has agreed to continue on and bring us up to the
1999 release.
Several key features are introduced with this update:
Client calls are thread safe. (1999 code has server side thread
safe)
Updated, a more modern interface.
Many userland updates were done to bring the code up to par with
the recent RPC API.
There is an update to the pthreads library, a function
pthread_main_np() was added to emulate a function of Sun's threads
library.
While we're at it, bring in NetBSD's lockd, it's been far too
long of a wait.
New rpcbind(8) replaces portmap(8) (supporting communication over
an authenticated Unix-domain socket, and by default only allowing
set and unset requests over that channel). It's much more secure
than the old portmapper.
Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
to support TI-RPC and to support IPV6.
Umount(8) is also fixed to unmount pathnames longer than 80 chars,
which are currently truncated by the Kernel statfs structure.
Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul
Revision Changes Path
1.245 +2 -2 src/etc/Makefile
1.91 +119 -113 src/etc/rc.network
1.8 +34 -5 src/etc/rpc
1.96 +18 -16 src/etc/defaults/rc.conf
1.130 +3 -10 src/include/Makefile
1.8 +2 -0 src/include/pthread_np.h
1.16 +167 -77 src/include/rpc/auth.h
1.2 +18 -1 src/include/rpc/auth_des.h
1.12 +259 -181 src/include/rpc/clnt.h
1.3 +15 -29 src/include/rpc/des_crypt.h
1.12 +8 -7 src/include/rpc/pmap_clnt.h
1.11 +8 -5 src/include/rpc/pmap_prot.h
1.11 +6 -4 src/include/rpc/pmap_rmt.h
1.13 +33 -20 src/include/rpc/rpc.h
1.3 +31 -26 src/include/rpc/rpc_com.h
1.13 +32 -14 src/include/rpc/rpc_msg.h
1.17 +157 -62 src/include/rpc/svc.h
1.13 +10 -11 src/include/rpc/svc_auth.h
1.10 +53 -7 src/include/rpc/types.h
1.17 +80 -34 src/include/rpc/xdr.h
1.3 +1 -1 src/include/rpcsvc/key_prot.x
1.9 +145 -8 src/include/rpcsvc/nlm_prot.x
1.9 +6 -1 src/include/rpcsvc/sm_inter.x
1.3 +94 -1 src/lib/libc/gen/_pthread_stubs.c
1.3 +12 -6 src/lib/libc/include/namespace.h
1.2 +3 -0 src/lib/libc/rpc/DISCLAIMER
1.19 +132 -88 src/lib/libc/rpc/Makefile.inc
1.2 +156 -213 src/lib/libc/rpc/README
1.4 +161 -217 src/lib/libc/rpc/auth_des.c
1.10 +79 -37 src/lib/libc/rpc/auth_none.c
1.6 +2 -11 src/lib/libc/rpc/auth_time.c
1.13 +121 -97 src/lib/libc/rpc/auth_unix.c
1.2 +16 -7 src/lib/libc/rpc/authdes_prot.c
1.7 +15 -7 src/lib/libc/rpc/authunix_prot.c
1.12 +51 -60 src/lib/libc/rpc/bindresvport.3
1.14 +32 -16 src/lib/libc/rpc/bindresvport.c
1.11 +289 -77 src/lib/libc/rpc/clnt_generic.c
1.13 +105 -47 src/lib/libc/rpc/clnt_perror.c
1.11 +131 -59 src/lib/libc/rpc/clnt_raw.c
1.14 +132 -61 src/lib/libc/rpc/clnt_simple.c
1.5 +3 -3 src/lib/libc/rpc/crypt_client.c
1.4 +3 -1 src/lib/libc/rpc/getpublickey.c
1.13 +17 -17 src/lib/libc/rpc/getrpcent.3
1.11 +37 -20 src/lib/libc/rpc/getrpcent.c
1.7 +3 -1 src/lib/libc/rpc/getrpcport.3
1.11 +22 -7 src/lib/libc/rpc/getrpcport.c
1.5 +67 -22 src/lib/libc/rpc/key_call.c
1.2 +4 -2 src/lib/libc/rpc/key_prot_xdr.c
1.5 +7 -5 src/lib/libc/rpc/netname.c
1.5 +3 -1 src/lib/libc/rpc/netnamer.c
1.13 +48 -79 src/lib/libc/rpc/pmap_clnt.c
1.13 +26 -16 src/lib/libc/rpc/pmap_getmaps.c
1.12 +24 -14 src/lib/libc/rpc/pmap_getport.c
1.7 +13 -3 src/lib/libc/rpc/pmap_prot.c
1.8 +35 -10 src/lib/libc/rpc/pmap_prot2.c
1.18 +46 -288 src/lib/libc/rpc/pmap_rmt.c
1.15 +491 -1503 src/lib/libc/rpc/rpc.3
1.9 +38 -14 src/lib/libc/rpc/rpc.5
1.10 +42 -30 src/lib/libc/rpc/rpc_callmsg.c
1.8 +14 -9 src/lib/libc/rpc/rpc_commondata.c
1.12 +8 -2 src/lib/libc/rpc/rpc_dtablesize.c
1.9 +100 -42 src/lib/libc/rpc/rpc_prot.c
1.2 +3 -0 src/lib/libc/rpc/rpcdname.c
1.16 +402 -179 src/lib/libc/rpc/svc.c
1.8 +44 -47 src/lib/libc/rpc/svc_auth.c
1.5 +5 -2 src/lib/libc/rpc/svc_auth_des.c
1.9 +32 -24 src/lib/libc/rpc/svc_auth_unix.c
1.8 +152 -60 src/lib/libc/rpc/svc_raw.c
1.12 +32 -28 src/lib/libc/rpc/svc_run.c
1.10 +218 -61 src/lib/libc/rpc/svc_simple.c
1.11 +13 -4 src/lib/libc/xdr/Makefile.inc
1.12 +87 -2 src/lib/libc/xdr/xdr.3
1.11 +208 -115 src/lib/libc/xdr/xdr.c
1.9 +29 -23 src/lib/libc/xdr/xdr_array.c
1.9 +43 -48 src/lib/libc/xdr/xdr_float.c
1.9 +73 -61 src/lib/libc/xdr/xdr_mem.c
1.13 +140 -116 src/lib/libc/xdr/xdr_rec.c
1.9 +20 -13 src/lib/libc/xdr/xdr_reference.c
1.3 +4 -0 src/lib/libc/xdr/xdr_sizeof.c
1.8 +35 -30 src/lib/libc/xdr/xdr_stdio.c
1.27 +2 -1 src/lib/libc_r/uthread/Makefile.inc
1.14 +2 -2 src/lib/librpcsvc/Makefile
1.3 +3 -3 src/lib/librpcsvc/yp_passwd.c
1.38 +138 -160 src/sbin/mount_nfs/mount_nfs.c
1.41 +625 -253 src/sbin/mountd/mountd.c
1.14 +21 -5 src/sbin/nfsd/nfsd.8
1.17 +552 -295 src/sbin/nfsd/nfsd.c
1.25 +130 -67 src/sbin/umount/umount.c
1.2 +2 -1 src/usr.bin/keylogin/keylogin.c
1.14 +3 -12 src/usr.bin/rpcgen/rpc_main.c
1.7 +10 -0 src/usr.bin/rpcgen/rpc_parse.c
1.7 +3 -1 src/usr.bin/rpcgen/rpc_svcout.c
1.14 +4 -12 src/usr.bin/rpcgen/rpcgen.1
1.5 +10 -2 src/usr.bin/rpcinfo/Makefile
1.7 +292 -118 src/usr.bin/rpcinfo/rpcinfo.8
1.11 +1444 -390 src/usr.bin/rpcinfo/rpcinfo.c
1.13 +3 -3 src/usr.bin/rup/rup.c
1.9 +3 -3 src/usr.bin/rusers/rusers.c
1.198 +2 -2 src/usr.sbin/Makefile
1.9 +7 -5 src/usr.sbin/bootparamd/callbootd/callbootd.c
1.4 +14 -37 src/usr.sbin/keyserv/keyserv.c
1.9 +12 -10 src/usr.sbin/rpc.lockd/Makefile
1.6 +174 -55 src/usr.sbin/rpc.lockd/lockd.c
1.3 +6 -11 src/usr.sbin/rpc.lockd/lockd.h
1.11 +64 -23 src/usr.sbin/rpc.lockd/rpc.lockd.8
1.5 +59 -60 src/usr.sbin/rpc.lockd/test.c
1.3 +1 -14 src/usr.sbin/rpc.statd/statd.h
1.4 +30 -40 src/usr.sbin/rpc.umntall/rpc.umntall.c
1.17 +13 -2 src/usr.sbin/rpc.yppasswdd/yppasswdd_main.c
1.2 +1 -0 src/usr.sbin/rpc.ypupdated/ypupdated_extern.h
1.4 +1 -2 src/usr.sbin/rpc.ypupdated/ypupdated_server.c
1.8 +3 -3 src/usr.sbin/ypbind/yp_ping.c
1.32 +2 -2 src/usr.sbin/ypbind/ypbind.c
1.12 +4 -4 src/usr.sbin/yppush/yppush_main.c
1.20 +3 -3 src/usr.sbin/ypserv/yp_dnslookup.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103191250.f2JCoEi27712>
