Commit graph

792 commits

Author SHA1 Message Date
Luca Deri
be81d33495 Disabled coverage (work in progress) 2016-11-27 12:21:02 +01:00
Luca Deri
035a290ab5 Coverage (work in progress) 2016-11-27 11:52:50 +01:00
Luca Deri
45ca2ace0b Code cleanup. Added coveralls badge 2016-11-27 10:57:42 +01:00
Luca
424fbb710c Added fixes to properly honour subprotocols 2016-11-26 18:36:08 +02:00
Campus
4eb5297a79 Merge branch 'dev_libdl' of https://github.com/mgigante/nDPI into mgigante-dev_libdl 2016-11-24 10:05:56 +01:00
Marco Gigante
c52c738408 Checking for libdl vs. libc during configure 2016-11-23 08:44:07 +01:00
Campus
797eb2c3ca fix initialization of struct ndpi_flow_info *flow 2016-11-22 23:11:24 +01:00
Alexis La Goutte
4c23c3fec9 ndiReader: fix ‘jObj_main/jArray_detProto’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 2016-11-22 20:56:14 +01:00
Alexis La Goutte
3d6b4d4dff ndpi_util: fix ‘type/ip_offset’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 2016-11-13 18:22:03 +01:00
Alexis La Goutte
d129abcde0 ndpi_util: unused variable 'nDPI_traceLevel' [-Wunused-const-variable] 2016-11-13 18:22:03 +01:00
Alexis La Goutte
6fad364daa ndpi_util: fix unused variable 'ip6_offset/ethernet_2/llc_off/cdp/slarp' [-Wunused-variable] 2016-11-13 18:22:03 +01:00
Alexis La Goutte
dc7a85ee76 ndpiReader: fix unused function 'debug_printf' [-Wunused-function]
Comment the function
2016-11-13 18:22:03 +01:00
Vito Piserchia
e3d15ef4e7 Prevent Segfault when building with -DNDPI_ENABLE_DEBUG_MESSAGES 2016-11-03 15:23:06 +01:00
Luca Deri
6f0232763c Added -ldl needed by PF_RING 2016-11-02 20:48:22 +01:00
Campus
097ba22a59 minor fix to keep same coherence of type used 2016-10-30 01:14:49 +02:00
Campus
2c47dca086 fixed some dissector for logic or syntax 2016-10-07 11:37:42 +02:00
lucaderi
67ac0b431c Fix for #249 (not sure is enough) 2016-09-27 08:01:15 +02:00
Campus
1f807a1348 fix snaplen for pcap_open_live function - optimal value is described here http://pcap.man.potaroo.net/ 2016-09-26 10:43:44 +02:00
theirix
9c4f80449b Fixed dist build 2016-08-13 17:14:01 +03:00
Campus
8bccfa5b10 fixed invalid termination with ipv6 address 2016-08-09 23:00:33 +02:00
Luca
4fe8d350a2 Added fix to avoid IPv6 formatting differences across platforms 2016-07-12 00:38:07 +02:00
Luca Deri
adbba69988 Removed false positives from CoAP protocol
Improved DNS detection
Added misisng default DropBox port
Fix for #154
Added sample pcap of Tor traffic for regression testing
2016-06-19 21:25:58 +02:00
Luca Deri
0b7a392b30 Restored code harvested in
60e7e19dab (diff-0856ce19e6ed4e80946656d41f7edd65L135)

DNS reply dissection can now be controlled by a preference as demonstrated in ndpiReader.c
2016-06-07 17:14:16 +02:00
Luca Deri
72efa329db Enhanced fragments support in ndpiReader
Improved RX protocol dissection and removed port guess as it caused false positives.
2016-05-31 12:20:25 +02:00
Luca Deri
d113f8db5a Moved to 1.8 release 2016-05-28 09:24:57 +02:00
Alexis La Goutte
9935cb0e3b ndpi_util.c: fix The right operand of '+' is a garbage value 2016-05-24 08:12:36 +02:00
Alexis La Goutte
594f7074f7 ndpi_util: Value stored to 'fcs' is never read 2016-05-23 23:04:50 +02:00
Alexis La Goutte
a6c9d33c09 ndpi_util: replace if / else by switch/case
Fix also
The left operand of '==' is a garbage value
Value stored to 'slarp' is never read
Value stored to 'cdp' is never read
2016-05-23 23:03:26 +02:00
Alexis La Goutte
2f7a9bb789 Fix missing break 2016-05-23 08:01:51 +02:00
Luca Deri
5c149e0363 Simplified ndpi_exit_detection_module() 2016-05-08 11:04:20 +02:00
Luca Deri
22e03ee98a Simplified nDPI initialization function 2016-05-08 10:55:46 +02:00
Luca Deri
18901ca4d6 Added wrappers for substring-search
ndpi_init_automa()
ndpi_free_automa()
ndpi_add_string_to_automa()
ndpi_finalize_automa()
ndpi_match_string()
set_ndpi_malloc()
set_ndpi_free()
2016-05-07 18:45:18 +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
d427647ce7 Firxed warnings 2016-04-24 10:35:54 +02:00
emanuele-f
792d2fc79a Remove floating stack pointer causing segmentation fault 2016-04-20 16:20:50 +02:00
emanuele-f
5386aede36 Integrate root flows free and little changes 2016-04-20 15:36:44 +02:00
emanuele-f
9ee6442004 Other util API stuff 2016-04-20 01:32:01 +02:00
emanuele-f
d7548e72b2 Fix some issues 2016-04-19 23:35:35 +02:00
emanuele-f
a4d0af1f96 Move relevant functions to ndpi_util API module 2016-04-19 22:35:18 +02:00
emanuele-f
4ba106a525 Change confusing "ndpi_flow" structure name to "ndpi_flow_info" 2016-04-19 19:25:42 +02:00
theirix
efae85de84 Combined ASAN overflow detection and buffer modify
Combined approach from pull request #172 and commit 6a63ea4.
2016-04-13 11:42:59 +03:00
theirix
624f61193c Allocate exact-size buffer with address sanitizer
Allows address sanitizer to detect buffer overflow by
using special packet buffer when compiled with address sanitizer
support (autodetected clang and gcc).
2016-04-12 22:04:47 +03:00
Luca Deri
6a63ea46a4 Added check for alerting when nDPI modified packet payload (should not happen) 2016-04-04 21:40:23 +02:00
Luca Deri
7ea37edfbf Improved protocol detection 2016-03-04 22:13:37 +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
Campus
6df31099c2 typo fixed 2016-02-26 20:48:14 +01:00
Campus
4c3d9788dd added missing free for idle flow in ndpiReader.c 2016-02-18 00:29:06 +01:00
Campus
84976ed5dc fix for https://github.com/ntop/nDPI/issues/148 2016-02-16 12:23:56 +01:00
Luca Deri
15ccb70ae6 Improved WhatsAppVoice detection 2016-02-15 22:16:39 +01:00