Commit graph

120 commits

Author SHA1 Message Date
Campus
34ce35dcfa minor fix makefile 2016-04-26 14:20:23 +02:00
Campus
f66cfca2a9 fixed and improved rx protocol detection - there was error on detection when -d option was enabled 2016-04-26 13:48:43 +02:00
Campus
7c1e8ba2bf rework some stuffs - added missing comments on functions 2016-04-24 23:43:22 +02:00
Luca Deri
e23446389c Reworked 8a4c15ecf5 to avoid adding (un-needed) pcap dependency in nDPI core 2016-04-24 23:17:18 +02:00
Luca Deri
8cb6172e4b Added #include <sys/types.h>
https://github.com/voidlinux/void-packages/blob/master/srcpkgs/ndpi/patches/types.patch
2016-04-24 22:59:05 +02:00
emanuele-f
5386aede36 Integrate root flows free and little changes 2016-04-20 15:36:44 +02:00
emanuele-f
4e1317cd0f Fix inline travis complaining 2016-04-20 02:23:37 +02:00
emanuele-f
9ee6442004 Other util API stuff 2016-04-20 01:32:01 +02:00
emanuele-f
7964e11c7f Add header stuff 2016-04-19 22:39:19 +02:00
emanuele-f
a4d0af1f96 Move relevant functions to ndpi_util API module 2016-04-19 22:35:18 +02:00
Giovanni Mascellani
18f5362a34 Support RX protocol (used by AFS). 2016-04-15 15:21:02 +02:00
theirix
fb3fc0c6de Fixed buffer overflows with safe str search
1. Detected a lot of memory errors using address sanitizer
and ndpi-scapy tool.

2. Added ndpi_match_prefix function that compares strings
with taking care of payload packet len. Almost drop-in
replacement for match_first_bytes function.

3. Replaced unsafe match_first_bytes usage with a ndpi_match_prefix
and additional length checks.
2016-04-12 22:08:30 +03:00
Sorin Zamfir
7b66fcff37 Merge remote-tracking branch 'upstream/dev' into dev 2016-04-03 14:45:39 +03:00
Campus
2998b78797 deleted winmx protocol due to abandoned development since July 2, 2004 2016-03-23 01:27:36 +01:00
Campus
95fffec172 fix for pull request https://github.com/ntop/nDPI/pull/161 2016-03-20 16:10:26 +01:00
Sorin Zamfir
3213d2205a Removed unused type definitions.
Disabled tracing in the example application.
2016-03-20 13:38:29 +02:00
Sorin Zamfir
6f428c03e2 Merge remote-tracking branch 'remotes/iot/dev' into dev
Conflicts:
	src/include/ndpi_protocol_ids.h
	src/lib/ndpi_main.c
2016-03-20 11:53:27 +02:00
Sorin Zamfir
2d5d39db7b Updated with mqtt callbacks. 2016-03-20 11:22:04 +02:00
Campus
7c511fb2f2 add new detection of Viber (service) 2016-03-15 00:56:09 +01:00
Campus
4370781b49 rework API (part 1) - minor fixes functions 2016-03-14 01:04:50 +01:00
Campus
7ae06a114d added check_punycode_string for issue https://github.com/ntop/nDPI/issues/157 2016-03-10 11:44:24 +01:00
Campus
8321b2fa66 added support for MS_OneDrive service 2016-03-08 01:49:48 +01:00
Luca Deri
462368f959 Added new ndpi_detection_giveup() API call to call before giving up for a given flow
Code cleanup
2016-03-04 19:15:13 +01:00
Luca
ecb8d117ac Reworked sockets support
Fixed TFTP support
2016-02-29 17:23:05 +01:00
Luca Deri
ead8c4933e Removed VEOHTV protocol and replaced with HTTPDownload
Fixed bug that prevented content type to be properly detected
2016-02-28 23:19:13 +01:00
Luca Deri
20374b542d Fixed warning
Reworked protocol initialization
2016-02-27 09:00:02 +01:00
Sorin Zamfir
237102b5f2 First draft of the Mqtt dissector. 2016-02-18 20:29:41 +02:00
Luca Deri
16a5c6995c Added ability to extract BitTorrent hash (and eventually peerId) 2016-02-15 09:57:26 +01:00
Campus
c7334e7c56 added cloudflare service - minor fixes for test pcap 2016-02-14 19:38:30 +01:00
Sorin Zamfir
ee5e7449ac First running example. No actual low-level detection.
* logging is now running
* included example capture
* included example log
* skeleton for coap detection
2016-02-08 23:01:22 +02:00
Luca
bc48b770de Added ndpi_automa_match_string_subprotocol call
Fixed DNS dissector decoding bug
2016-01-21 13:25:55 +01:00
Luca Deri
a08a0077e6 Hardened DNS dissector 2016-01-06 17:38:41 +01:00
Michele Campus
a2c51a586e Merge pull request #132 from pavel-odintsov/dev
Made ndpi memory allocator type compatible with C++ on x686 platforms
2015-12-31 10:27:54 +01:00
Campus
3aa506eb1b added Office 365 URLs and IP address ranges (part 1) 2015-12-29 19:41:15 +01:00
Campus
60e7e19dab wrote new dns dissector - deleted useless part of dns to slim data structures used in nDPI and ntopng 2015-12-29 18:17:52 +01:00
Pavel Odintsov
1b2702df24 Made ndpi memory allocator type compatible with C++ on x686 platforms. Switch from unsigned long to size_t as allocation functions parameter. 2015-12-28 14:08:57 +03:00
Campus
bfded90875 added OCS service and related pcap for testing 2015-12-24 00:16:33 +01:00
Luca Deri
6f3d5a7b33 Win fixes 2015-11-30 14:38:16 +01:00
Luca Deri
34491f4be1 Merge branch 'dev' of https://github.com/ntop/nDPI into dev 2015-11-30 14:22:01 +01:00
Luca Deri
34e0a74c07 Win fixes 2015-11-30 14:21:50 +01:00
Campus
587f156557 reorganized header files - added ndpi_includes.h 2015-11-30 12:37:15 +01:00
Luca Deri
f04c3c6acb Minor fix 2015-11-27 00:29:19 +01:00
Luca Deri
80171b7c54 Removed warning 2015-11-26 23:53:21 +01:00
Luca Deri
cb68d4d00a Win32 compilation fixes 2015-11-26 23:47:55 +01:00
Luca Deri
98ef945d2e fixes for packing datastructures 2015-11-26 19:46:51 +01:00
Campus
12b47fece0 fixed missed library netinet/in.h under FreeBSD 2015-11-26 12:32:15 +01:00
Simone Mainardi
bd7004ecd7 Fixes #116, adds extra #ifndef to prevent redefinitions
Extra #ifndef directives are added to prevent possible redefinitions
of __LITTLE_ENDIAN__ and __BIG_ENDIAN__
2015-11-15 22:44:06 +01:00
lucaderi
8babee0efb Fix for CentOS6 2015-11-12 16:25:12 +01:00
Luca
a407da79a9 Update ndpi_ethernet definition 2015-11-12 15:32:44 +01:00
Luca
8399afa607 Removed legacy linux_compat.h file
Updated IPv6 address dump format
2015-11-12 15:23:00 +01:00