Commit graph

1122 commits

Author SHA1 Message Date
Campus
9a94c34b91 fix for https://github.com/ntop/nDPI/issues/364 2017-04-20 23:00:11 +02:00
Luca Deri
4cc54cceb5 Added port stats when verbose mode (-v) is used 2017-04-19 23:31:45 +02:00
Luca Deri
a9c01ded17 ndpiReader now prints (-v) the flows with the correct direction 2017-04-19 21:55:49 +02:00
Luca
56b6c7ed93 Fixed thread crash caused by commit 29cd6ef994 2017-04-19 09:50:54 +02:00
Luca
c1db9a830d Compilation fix for old compilers 2017-04-18 17:20:43 +02:00
Luca
4c5de9ef8e Added ethernet checksum reforging and nDPI protocol export in nDPI-extcap reader 2017-04-17 09:38:30 +02:00
Campus
2b0809f3dc name correction for llc_snap header and minor fix 2017-04-15 00:40:01 +02:00
Campus
29cd6ef994 fix segmentation fault caused by missing spanning tree check - add control for threads return values 2017-04-15 00:29:53 +02:00
Luca Deri
d8b2189cc3 Initial wireshark integration via extcap interface 2017-04-14 00:07:46 +02:00
Luca Deri
281ba768ec Added Ookla (SpeedTest) protocol detection 2017-04-01 21:33:15 +02:00
Campus
65359e53d8 Merge branch 'set_memory_functions' of https://github.com/vpiserchia/nDPI into vpiserchia-set_memory_functions 2017-03-29 10:46:38 +02:00
Luca Deri
92b1b46fa6 SSL server certificate is now detected 2017-03-21 00:48:16 +01:00
Vito Piserchia
4300208642 Added ndpi_flow_ free/malloc and set_ functions:
Ideally these two new functions will provide more flexibility
in regards of application that want to use specific allocation
approaches, for example storage queues for this structures
from where the application can pop and release the data it
needs.
Semantically they can be set up as the other ndpi_malloc and ndpi_free
functions, that is via the set_ndpi_flow_malloc and set_ndpi_flow_free.
In case a NULL parameter is passed to the above functions the old
approach will be used, that means that the ndpi_malloc will be used as
the ndpi_flow_malloc function and ndpi_free_flow as the ndpi_flow_free one.

Application that use the old functions will be not affected by this change,
and the ndpi_free_flow can be deprecated in the future and made private.
2017-03-16 17:35:10 +01:00
Campus
5de6a96af5 change behaviour for https://github.com/ntop/nDPI/issues/344 - fix skype detection deleting parts that detect host name and ip addr (duplicate behaviour) - improved any detection after fix - added skype host name 2017-03-15 17:28:31 +01:00
Josh Soref
fbe1fb285d spelling: platform 2017-03-12 22:00:21 +00:00
Josh Soref
fa34be1a00 spelling: modified 2017-03-12 21:52:59 +00:00
Josh Soref
c51f88e62a spelling: interface 2017-03-12 21:44:26 +00:00
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