diff options
author | Luca Deri <deri@ntop.org> | 2020-07-27 13:05:06 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-07-27 13:05:06 +0200 |
commit | da87cc315744914c92cca27725dc87f59f83deec (patch) | |
tree | 6a15bbcd0aa4ddaf37cade61cf621cb94198c8d4 /src/lib/ndpi_utils.c | |
parent | 69f140878ca61a6ea8077901986e0dbc2e129b2e (diff) |
Added NDPI_SMB_INSECURE_VERSION for detecting insecure SMB versions (e.g. v1)
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r-- | src/lib/ndpi_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 2fb3a5d9e..347e65d52 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1530,6 +1530,9 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) { case NDPI_SSH_OBSOLETE_SERVER_VERSION_OR_CIPHER: return("SSH Obsolete Server Version/Cipher"); + case NDPI_SMB_INSECURE_VERSION: + return("SMB Insecure Version"); + default: snprintf(buf, sizeof(buf), "%d", (int)risk); return(buf); |