diff options
author | Luca Deri <deri@ntop.org> | 2015-08-07 15:56:03 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2015-08-07 15:56:03 +0200 |
commit | d6b5d8e2c2da5481ccfbd084bcc21a5ccb8da3f6 (patch) | |
tree | 32a1a905f66f910c6472a0e12943a1f138a03320 /src/lib/ndpi_main.c | |
parent | 449742e69dbb7bfb34b7436e5e83549a9d5a4293 (diff) |
Added teredo protocol support. Fixed #74
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index f36537b49..f88651443 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -978,6 +978,11 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp no_master, "BitTorrent", ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 6771, 0, 0, 0, 0) /* UDP */); + ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_TEREDO, + no_master, + no_master, "Teredo", + ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, + ndpi_build_default_ports(ports_b, 3544, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_EPP, no_master, no_master, "EPP", @@ -2241,6 +2246,9 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n /* BITTORRENT */ init_bittorrent_dissector(ndpi_struct, &a, detection_bitmask); + /* Teredo */ + init_teredo_dissector(ndpi_struct, &a, detection_bitmask); + /* EDONKEY */ init_edonkey_dissector(ndpi_struct, &a, detection_bitmask); |