DHCP fingerprint is now reported on flows

Fixed OS inconsistencies
This commit is contained in:
Luca Deri 2025-03-27 21:43:48 +01:00
parent cb03021f4e
commit 7d8b599a8c
9 changed files with 50 additions and 24 deletions

View file

@ -1640,13 +1640,17 @@ else
end
if ((flow.community_id ~= nil) and (flow.community_id ~= "")) then
print(
"<tr><th width=10%><A class='ntopng-external-link' href=\"https://github.com/corelight/community-id-spec\">CommunityId <i class=\"fas fa-external-link-alt\"></i></A></th><td colspan=2>" ..
flow.community_id)
print("<tr><th width=10%><A class='ntopng-external-link' href=\"https://github.com/corelight/community-id-spec\">CommunityId <i class=\"fas fa-external-link-alt\"></i></A></th><td colspan=2>" .. flow.community_id)
print_copy_button('community_id', flow.community_id)
print("</td></tr>\n")
end
if ((flow.dhcp_fingerprint ~= nil) and (flow.dhcp_fingerprint ~= "")) then
print("<tr><th width=10%>" .. i18n("dhcp_fingerprint") .."</th><td colspan=2>" .. flow.dhcp_fingerprint)
print_copy_button('dhcp_fingerprint', flow.dhcp_fingerprint)
print("</td></tr>\n")
end
if (flow["protos.stun.mapped_ip_address"] ~= nil) then
local elems = split(flow["protos.stun.mapped_ip_address"], ":")
local ip = elems[1]