diff options
author | Luca Deri <deri@ntop.org> | 2019-11-14 15:13:13 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-11-14 15:13:13 +0100 |
commit | 7a1940e1f70ffebae76fffb3d96a0b69a6cbfaf0 (patch) | |
tree | 221bf61775e7166ecb583bad2a373fb259073586 | |
parent | 6b7c56c909d2f5ee01c71317dc305224963381d4 (diff) |
Modified Diameter category to network
Updated test results
-rw-r--r-- | src/lib/ndpi_main.c | 2 | ||||
-rw-r--r-- | tests/result/diameter.pcap.out | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 83cf59898..640769782 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -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, diff --git a/tests/result/diameter.pcap.out b/tests/result/diameter.pcap.out index 02dfd010f..4d6a6041e 100644 --- a/tests/result/diameter.pcap.out +++ b/tests/result/diameter.pcap.out @@ -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)] |