Whamcloud - gitweb
LU-13343 gss: no sec flavor on loopback connection
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 4 Mar 2022 15:45:59 +0000 (16:45 +0100)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 16 Jul 2023 23:07:17 +0000 (23:07 +0000)
commit4b96af4a8f003c6aed4f283d9405eca7035e6d7c
tree42615201e5e0e9ea9be89eabbf96081d3275e193
parent74790938f50052200b24ee27685ad75cd5868eb4
LU-13343 gss: no sec flavor on loopback connection

When using a local client, i.e. a client mounted on a server node,
there is no benefit from a security standpoint to enforce an SSK or
KRB flavor, since the data does not go over the network.
So force the 'null' security flavor for connections on 0@lo,
independently of the currently defined srpc flavor.

Lustre-change: https://review.whamcloud.com/46704
Lustre-commit: e3e91ea95fd96a5eafc598e3812390b4cbac05c3

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: If25d69bb1e67735cb0544ca954e49175f7471248
Reviewed-by: Aurelien Degremont <adegremont@nvidia.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51610
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/lmv/lmv_obd.c
lustre/lov/lov_obd.c
lustre/ptlrpc/sec_config.c
lustre/tests/recovery-small.sh
lustre/tests/test-framework.sh