Exported HTTP server in metadata

This commit is contained in:
Luca Deri
2022-12-05 21:27:30 +01:00
parent c882120afd
commit e0afc16aa2
7 changed files with 26 additions and 4 deletions
+3
View File
@@ -1578,6 +1578,9 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa
fprintf(out, "[Content-Type: %s]", flow->http.content_type);
}
if(flow->http.server[0] != '\0')
fprintf(out, "[Server: %s]", flow->http.server);
if(flow->http.user_agent[0] != '\0')
fprintf(out, "[User-Agent: %s]", flow->http.user_agent);