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 23:35:28 +0000 (18:35 -0500)
commit1b199eeafad6420982380ce5e858f00c528cfd13
tree38e74ec877801110eb7016e00c61529a5b4c84fd
parent6f8c0c8134de1b5358ec56878e350aeab31aa3cd
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