mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Remove obsolete JA3 support
This commit is contained in:
parent
4b1b37103a
commit
548c9aeec5
28 changed files with 31 additions and 303 deletions
|
|
@ -1152,42 +1152,6 @@ function format_tls_info(tls_info, no_html)
|
|||
end
|
||||
end
|
||||
|
||||
if tls_info["ja3_server_cipher"] then
|
||||
tls_info["ja3_server_cipher"] = nil
|
||||
end
|
||||
|
||||
if tls_info["ja3_server_unsafe_cipher"] then
|
||||
if no_html then
|
||||
tls_info["ja3_server_unsafe_cipher"] = tls_info["ja3_server_unsafe_cipher"]
|
||||
else
|
||||
local badge = get_badge(tls_info["ja3_server_unsafe_cipher"] == "safe")
|
||||
tls_info["ja3_server_unsafe_cipher"] = string.format('<span class="badge bg-%s">%s</span>', badge,
|
||||
tls_info["ja3_server_unsafe_cipher"])
|
||||
end
|
||||
end
|
||||
|
||||
if tls_info["ja3_server_hash"] then
|
||||
if no_html then
|
||||
tls_info["ja3_server_hash"] = tls_info["ja3_server_hash"]
|
||||
else
|
||||
tls_info["ja3_server_hash"] = i18n("copy_button", {
|
||||
full_name = tls_info["ja3_server_hash"],
|
||||
name = tls_info["ja3_server_hash"]
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
if tls_info["ja3_client_hash"] then
|
||||
if no_html then
|
||||
tls_info["ja3_client_hash"] = tls_info["ja3_client_hash"]
|
||||
else
|
||||
tls_info["ja3_client_hash"] = i18n("copy_button", {
|
||||
full_name = tls_info["ja3_client_hash"],
|
||||
name = tls_info["ja3_client_hash"]
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
if tls_info["ja4_client_hash"] then
|
||||
if no_html then
|
||||
tls_info["ja4_client_hash"] = tls_info["ja4_client_hash"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue