diff options
author | Luca Deri <deri@ntop.org> | 2020-08-21 19:35:27 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-08-21 19:35:27 +0200 |
commit | fef199ad450d451d88d143d395dfcfd7906deefc (patch) | |
tree | cc958c032795af42f74bcc5a288eba9f5229ac6f /src/lib/ndpi_utils.c | |
parent | b23781e80735bf856bf5d7f364a382dd85b8cd28 (diff) |
Added new check for detecting suspicious (too long) names
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 0d2f5cf3c..7a9a662ac 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1537,6 +1537,9 @@ const char* ndpi_risk2str(ndpi_risk_enum risk) { case NDPI_TLS_SUSPICIOUS_ESNI_USAGE: return("TLS Suspicious ESNI Usage"); + case NDPI_BLACKLISTED_HOST: + return("Blacklisted Host"); + default: snprintf(buf, sizeof(buf), "%d", (int)risk); return(buf); |