diff options
| author | Jakub Kicinski <[email protected]> | 2022-07-09 02:52:53 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-07-12 02:48:33 +0000 |
| commit | bb56cea9abd85c22175b31d8f7c44d6c615fe526 (patch) | |
| tree | 39fc221488be3d6da39757990a3403080eb46410 /net/tls/tls_proc.c | |
| parent | tls: fix spelling of MIB (diff) | |
| download | kernel-bb56cea9abd85c22175b31d8f7c44d6c615fe526.tar.gz kernel-bb56cea9abd85c22175b31d8f7c44d6c615fe526.zip | |
tls: rx: add counter for NoPad violations
As discussed with Maxim add a counter for true NoPad violations.
This should help deployments catch unexpected padded records vs
just control records which always need re-encryption.
https: //lore.kernel.org/all/[email protected]/
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tls/tls_proc.c')
| -rw-r--r-- | net/tls/tls_proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tls/tls_proc.c b/net/tls/tls_proc.c index ede9df13c398..68982728f620 100644 --- a/net/tls/tls_proc.c +++ b/net/tls/tls_proc.c @@ -21,6 +21,7 @@ static const struct snmp_mib tls_mib_list[] = { SNMP_MIB_ITEM("TlsDecryptError", LINUX_MIB_TLSDECRYPTERROR), SNMP_MIB_ITEM("TlsRxDeviceResync", LINUX_MIB_TLSRXDEVICERESYNC), SNMP_MIB_ITEM("TlsDecryptRetry", LINUX_MIB_TLSDECRYPTRETRY), + SNMP_MIB_ITEM("TlsRxNoPadViolation", LINUX_MIB_TLSRXNOPADVIOL), SNMP_MIB_SENTINEL }; |
