Luca Deri
50216991bd
Improved hyperscan support and category definition
2018-05-10 23:46:35 +02:00
Luca
3adccc98f7
Implemented custom category loading.
...
Modified ndpiReader with -c <file> (use mining_hosts.txt as example) for loading name-based categories
2018-04-26 21:10:59 +02:00
Michele Campus
79f3199339
Merge pull request #553 from dsokoloski/pr-debug-call-back
...
Added missing file, func, and line parameters to call-back typedef.
2018-04-26 11:45:36 +02:00
Darryl Sokoloski
c54a8f8cfa
Moved ndpi_config.h from ndpi_main.h to ndpi_main.c, and example source files.
2018-04-24 10:21:47 -04:00
Darryl Sokoloski
3b5f32f261
Added missing file, func, and line parameters to debug call-back typedef.
2018-04-24 10:20:06 -04:00
Luca Deri
7798b964fe
Replaces outdates socrates protocol with ntop
2018-04-24 15:48:46 +02:00
Leonn
5a7f58d23f
💡 Add Apache JServ Protocol Dissector
2018-04-22 01:54:28 -03:00
Luca Deri
c7e53724dc
Added protocol placeholders for undefined protocols
2018-04-06 11:34:26 +02:00
Luca Deri
85f25fad6d
Removed NDPI_PROTOCOL_MOVE protocol no longer used
...
Merged NDPI_PROTOCOL_CITRIX_ONLINE with NDPI_PROTOCOL_CITRIX
2018-04-05 23:08:10 +02:00
Luca Deri
462da90a21
Added API calls
...
ndpi_network_ptree_match
ndpi_check_flow_func
ndpi_config.h is now installed with "make install"
2018-03-23 19:05:32 +01:00
Luca
a2acd09263
Added ndpi_get_api_version() API call to be used in applications that
...
are dynamically linking with nDPI, to make sure the APIs are in sync
2018-03-21 18:33:08 +01:00
Luca Deri
d4a20ba6a8
Increased number of protocols to 512
...
Implemented WhatsApp file exchage support (added test pcap)
2018-03-01 20:52:06 +01:00
Campus
029ca0797a
Merge branch 'config_gebug' of https://github.com/vel21ripn/nDPI into vel21ripn-config_gebug
2018-02-16 22:18:43 +01:00
Luca Deri
52a2c0589e
Updadate last protocol id
...
Updated tests with new protocols
2018-02-11 21:11:36 +01:00
Luca Deri
12368ba2d5
Implemented supporto for GoogleDocs and AmazonVideo
...
Fixed various bugs in detecting Google Drive
Improved Spotify support
2018-02-11 19:36:13 +01:00
Vitaly Lavrov
0624afd422
Added option --enable-debug-messages.
...
The configurator option "--enable-debug-messages" is added to enable
debug information output (define NDPI_ENABLE_DEBUG_MESSAGES=1).
Mandatory inclusion of the file ndpi_config.h in all the compiled files.
2018-02-07 16:31:35 +03:00
Luca Deri
78feabfad7
Inital hyperscan work
2018-01-24 22:11:05 +01:00
Luca Deri
54306411a4
Merge pull request #508 from emanuele-f/hyperscan
...
Initial support for Intel hyperscan pattern matching library
2018-01-24 18:09:12 +01:00
Luca Deri
f2280c90a4
Merge pull request #482 from hvanderheide/dev
...
Revert the revert of 2155dd9 after fixing ntopng Travis
2018-01-24 18:08:44 +01:00
emanuele-f
e09ebab0c2
Initial support for Intel hyperscan pattern matching library.
2018-01-24 16:47:23 +01:00
Luca Deri
fbf7fe2424
Implemented Google services detection
...
Refreshed google-based services support
2018-01-16 15:57:45 +01:00
Luca Deri
ced9658c63
Added ApplePush support
2018-01-15 20:13:34 +01:00
Hidde van der Heide
d896ce7469
Merge remote-tracking branch 'upstream/dev' into dev
2018-01-10 10:40:54 +01:00
Ludovico Cavedon
35dc6e27ae
Fix MPLS header parsing in ndpiReader.
...
Reported at https://bugs.debian.org/886133 .
The current parsing for the MPLS header in examples/ndpi_util.c has
multiple issues:
- the bitfield order is incorrect for little endian architectures
- ntohl() is applied to a 20 bit label, which has unclear purpose
- if multiple labels are detected, the while loop parsing labels will
never exit due to a missing re-read of the mpls label
- the last label is identified by looking inside the label field, while
it should be done by looking at the S bit
This change fixes the above issues.
Notice that bitfield ordering is implementation-dependent, so C
bitfields should not be used in the first place to parse network
packets.
2018-01-09 10:26:10 -08:00
Campus
1d1082342f
added diameter protocol dissector
2018-01-02 13:47:46 +01:00
Luca Deri
8d52491508
Added simplified makefile
...
Fixed small warnings
Compilation fixes
2017-12-25 19:26:17 +01:00
Luca Deri
caf602c4a9
Merged categories network and network_tool (way too similar)
...
Replaced former network_tool category with streaming category
2017-12-23 19:40:39 +01:00
Hidde van der Heide
bf8c9c2625
Merge remote-tracking branch 'upstream/dev' into dev
2017-12-20 13:19:24 +01:00
Luca Deri
00e6ee3dc3
Implemented GooglePlus support that replaced ancient Quake protocol now obsolete
2017-12-15 10:33:01 +01:00
Simone Mainardi
cd12a86088
Implements ndpi_get_category_id
2017-12-11 20:15:00 +01:00
Luca Deri
61bc528159
Simplified IPv6 datatypes
2017-12-08 18:13:31 +01:00
Michele Campus
cb8f4f87bf
Merge branch 'dev' into dev
2017-12-07 22:45:28 +01:00
Luca Deri
8af18763cc
Compilation fixes
2017-11-28 22:05:34 +01:00
cymaniac
df7015f3a5
Added dissector for protocol check_mk
2017-11-28 21:29:38 +01:00
Jacob Masen-Smith
950f5db3dd
Changed MinGW __forceinline strategy to something with less side effects
2017-11-23 20:40:43 -08:00
Jacob Masen-Smith
33e0be73f7
Fixed ndpi_win32.h so that it compiles on MinGW+GCC
2017-11-22 01:11:49 -08:00
Campus
6e62367b56
add ICQ (instant messaging client) detection - deleted unused skyfile protocol
2017-11-20 17:05:15 +01:00
Luca Deri
2831d64f6a
Added YouTube Upload protocol (used the identified unused by NDPI_PROTOCOL_SKYFILE_PREPAID)
2017-11-19 18:11:37 +01:00
Hidde van der Heide
ee957e0831
Merge remote-tracking branch 'upstream/dev' into dev
2017-11-09 10:14:02 +01:00
Vitaly Lavrov
50645e11d8
Merge branch 'dev' into dev
2017-11-02 10:59:21 +03:00
Darryl Sokoloski
169aa11adc
Added DHCP class identifier support.
2017-10-26 21:07:00 -04:00
Vitaly Lavrov
2787c2390c
Refactoring the debugging output.
...
levels of debug output:
0 - ERROR: Only for errors.
1 - TRACE: Start of each packets and if found protocol.
2 - DEBUG: Start of searching each protocol and excluding protocols.
3 - DEBUG_EXTRA: For all other messages.
Added field ndpi_struct->debug_logging for enable debug output of each protocols.
Simple macros for debugging output are added:
NDPI_LOG_ERR(), NDPI_LOG_INFO(), NDPI_LOG_DBG(), NDPI_LOG_DBG2(),
NDPI_EXCLUDE_PROTO()
2017-10-26 20:41:22 +03:00
Hidde van der Heide
441e43c167
Revert the revert of 2155dd9 after fixing ntopng Travis
...
This reverts commit 4f72b954da .
2017-10-24 17:05:48 +02:00
Simone Mainardi
4f72b954da
Undoes 2155dd9 that breaks ntopng Travis
2017-10-23 15:20:30 +02:00
Hidde van der Heide
2155dd9153
Add libcache to installed headers and removed relative import
2017-10-19 16:10:56 +02:00
Luca Deri
36adc23507
Fixed warning generated by some compilers
2017-10-14 13:15:35 +02:00
Luca Deri
83d5a46ec4
Added ndpi_icmphdr datatype
2017-10-13 19:41:34 +02:00
Luca Deri
8bcafff569
Fixes for iQIYI and 1kxun protocols
2017-10-06 19:08:08 +02:00
Luca Deri
9b91623d57
Added ndpi_is_subprotocol_informative() API call
2017-10-06 15:20:36 +02:00
Vitaly Lavrov
25a4569e67
Fix undefined behavior (detected by gcc):
...
ndpi_define.h.in:218: Macros NDPI_SET(), NDPI_CLR(), NDPI_ISSET()
runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
http.c:364: strncpy((char*)flow->protos.http.nat_ip,(char*)packet->forwarded_line.ptr,len);
runtime error: null pointer passed as argument 2, which is declared to never be null
ndpi_patricia.c:ndpi_comp_with_mask(): int m = ((-1) << (8 - (mask % 8)));
runtime error: left shift of negative value -1
Original function ndpi_comp_with_mask() is unreadable and slow.
We have only 2 type of address: 32 bit and 128 bit. The optimized version works 6 times faster (IPv4).
2017-10-03 16:43:23 +03:00