Commit graph

655 commits

Author SHA1 Message Date
Josh Soref
d332370298 spelling: googlesyndication 2017-03-12 21:37:41 +00:00
Josh Soref
e115e0b89e spelling: creating 2017-03-12 21:26:33 +00:00
Campus
a787287bfa fix and improved netflix detection by user-agent 2017-02-22 17:14:52 +01:00
Campus
c2c92b2e9b added double tagging 802.1Q in dissection of vlan pkt 2017-02-21 13:04:17 +01:00
Campus
787ca096e6 Merge branch 'dev-numeronove-openbsd' of https://github.com/numeronove/nDPI into numeronove-dev-numeronove-openbsd 2017-02-13 13:11:54 +01:00
Luca Deri
e2cfc96577 Improvements for exporting info in MDNS and UBNTAC2 protocols
Added test pcap file for UBNTAC2
2017-02-13 01:29:25 +01:00
Numeronove
ffbe5d1e22 Easing OpenBSD build
Addedd macro AM_PROG_CC_C_O in configure.ac, needed to have autogen.sh
manage the error:

    C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'

Modified case instance in example/ndpi_util.c, since DLT_LINUX_SLL
isn't defined in OpenBSD pcap.h.
2017-02-11 11:04:59 +01:00
Luca Deri
1d2e67d38c Dissected SSH client/server versions and reported in data structures 2017-02-11 10:48:08 +01:00
Simone Mainardi
b161a6d7f7 Fix for FreeBSD build 2017-02-04 17:01:40 +01:00
Denis Volpato Martins
483eb63408 Removed some magic numbers 2016-12-06 18:48:26 -02:00
Luca Deri
b019dcd11a Added missing -ldl library 2016-12-05 19:15:45 +01:00
Campus
5f672dfb42 added comment to function process_packet 2016-12-02 02:32:46 +01:00
Campus
6f31ae722e added prototype of function packet_processing 2016-12-02 02:25:43 +01:00
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