Generate Graphviz graphs of network communication

This commit is contained in:
2023-09-02 23:33:50 +02:00
parent 1aa3572c30
commit 1989ae996f
6 changed files with 141 additions and 6 deletions

View File

@@ -39,6 +39,9 @@ func Analyze(source *gopacket.PacketSource) error {
}
}
// Register communication for graph
output.AddPkgToGraph(packet)
// Raise statistics
totalPackets += 1
if processed {