Modified Diameter category to network

Updated test results
This commit is contained in:
Luca Deri
2019-11-14 15:13:13 +01:00
parent 6b7c56c909
commit 7a1940e1f7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1478,7 +1478,7 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp
ndpi_build_default_ports(ports_b, 443, 80, 0, 0, 0) /* UDP */);
ndpi_set_proto_defaults(ndpi_str, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_DIAMETER,
0 /* can_have_a_subprotocol */, no_master,
no_master, "Diameter", NDPI_PROTOCOL_CATEGORY_WEB,
no_master, "Diameter", NDPI_PROTOCOL_CATEGORY_NETWORK,
ndpi_build_default_ports(ports_a, 3868, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
ndpi_set_proto_defaults(ndpi_str, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_APPLE_PUSH,
+1 -1
View File
@@ -1,3 +1,3 @@
Diameter 6 1980 1
1 TCP 10.201.9.245:50957 <-> 10.201.9.11:3868 [proto: 237/Diameter][cat: Web/5][3 pkts/1174 bytes <-> 3 pkts/806 bytes][bytes ratio: 0.186 (Mixed)][IAT c2s/s2c min/avg/max/stddev: 13/12 39.0/31.5 65/51 26.0/19.5][Pkt Len c2s/s2c min/avg/max/stddev: 362/226 391.3/268.7 414/290 21.7/30.2][PLAIN TEXT (1263278878147)]
1 TCP 10.201.9.245:50957 <-> 10.201.9.11:3868 [proto: 237/Diameter][cat: Network/14][3 pkts/1174 bytes <-> 3 pkts/806 bytes][bytes ratio: 0.186 (Mixed)][IAT c2s/s2c min/avg/max/stddev: 13/12 39.0/31.5 65/51 26.0/19.5][Pkt Len c2s/s2c min/avg/max/stddev: 362/226 391.3/268.7 414/290 21.7/30.2][PLAIN TEXT (1263278878147)]