OPENAFS-SA-2018-001 butc: require authenticated connections with -localauth
authorBenjamin Kaduk <kaduk@mit.edu>
Thu, 6 Sep 2018 23:50:39 +0000 (18:50 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Sun, 9 Sep 2018 22:35:29 +0000 (17:35 -0500)
commit736364f1e3426b7b15836cd95ce25f0e516ce3f2
tree55e296ebe1c3709fdc24518bf7d0803e6e5bbd0a
parentc43169fd36348783b1a5a55c5bb05317e86eef82
OPENAFS-SA-2018-001 butc: require authenticated connections with -localauth

The butc -localauth option is available to use the cell-wide key to
authenticate to the vlserver and buserver, which in normal deployments
will require incoming connections to be authenticated as a superuser.
In such cases, the cell-wide key is also available for use in
authenticating incoming connections to the butc, which would otherwise
have been completely unauthenticated.

Because of the security hazards of allowing unauthenticaed inbound
RPCs, especially ones that manipulate backup information and are allowed
to initiate outboud RPCs authenticated as the superuser, default to
not allowing unauthenticated inbound RPCs at all.  Provide an opt-out
command-line argument for deployments that require this functionality
and have configured their network environment (firewall/etc.) appropriately.

Change-Id: Ia6349757a4c6d59d1853df1a844e210d32c14feb
doc/man-pages/pod8/butc.pod
src/butc/butc_prototypes.h
src/butc/tcmain.c
src/butc/tcprocs.c