Added generic user agent setter. (#1530)

* ndpiReader: Print user agent if one was set and not just for certain protocols.

Signed-off-by: lns <matzeton@googlemail.com>
This commit is contained in:
Toni
2022-04-25 13:00:50 +02:00
committed by GitHub
parent 075bce5f3d
commit bc2ad3407a
12 changed files with 97 additions and 87 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ Confidence DPI : 1 (flows)
RTSP 1 233 1
1 TCP 172.28.5.170:63840 -> 172.28.4.26:8554 [proto: 50/RTSP][ClearText][Confidence: DPI][cat: Media/1][1 pkts/233 bytes -> 0 pkts/0 bytes][Goodput ratio: 76/0][< 1 sec][Risk: ** Known Protocol on Non Standard Port **][Risk Score: 50][PLAIN TEXT (SETUP rtsp)][Plen Bins: 0,0,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
1 TCP 172.28.5.170:63840 -> 172.28.4.26:8554 [proto: 50/RTSP][ClearText][Confidence: DPI][cat: Media/1][1 pkts/233 bytes -> 0 pkts/0 bytes][Goodput ratio: 76/0][< 1 sec][User-Agent: LibVLC/3.0.16 (LIVE555 Streaming Media v2016.11.28)][Risk: ** Known Protocol on Non Standard Port **][Risk Score: 50][PLAIN TEXT (SETUP rtsp)][Plen Bins: 0,0,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]