diff options
author | Luca <deri@ntop.org> | 2017-07-29 06:55:50 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2017-07-29 06:55:50 +0200 |
commit | 9a809bf673712806f7bb6ed7c0d30ba697bbdcb6 (patch) | |
tree | 862687710b6f364e99ad44f956b90c2400a8e12a /src | |
parent | baa761a2e275d971ee6e72cbc9ad32c7dbc89bf3 (diff) |
Improved TeamViewer support
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_content_match.c.inc | 4 | ||||
-rw-r--r-- | src/lib/ndpi_main.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/ndpi_content_match.c.inc b/src/lib/ndpi_content_match.c.inc index 4475d640a..3896f3a08 100644 --- a/src/lib/ndpi_content_match.c.inc +++ b/src/lib/ndpi_content_match.c.inc @@ -627,6 +627,10 @@ static ndpi_network host_protocol_list[] = { { 0xB2F8D000 /* 178.248.208.0 */, 21, NDPI_PROTOCOL_OCS }, + + /* Teamviewer 159.122.189.32-63 */ + { 0x9F7ABD30 /* 159.122.189.32 */, 21, NDPI_PROTOCOL_TEAMVIEWER }, + /* IFLIX services -by www.vizuamatix.com R&D team */ diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 84e43e660..65c139c08 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1353,8 +1353,8 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_TEAMVIEWER, no_master, no_master, "TeamViewer", NDPI_PROTOCOL_CATEGORY_REMOTE_ACCESS, - ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, - ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */); + ndpi_build_default_ports(ports_a, 5938, 0, 0, 0, 0) /* TCP */, + ndpi_build_default_ports(ports_b, 5938, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_LOTUS_NOTES, no_master, no_master, "LotusNotes", NDPI_PROTOCOL_CATEGORY_COLLABORATIVE, |