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
a06c399530
Compilation fixes
2017-12-13 08:04:51 +01:00
Michele Campus
cb8f4f87bf
Merge branch 'dev' into dev
2017-12-07 22:45:28 +01:00
Luca
d88a73397d
Fix for #491 (SpeedTest/Ookla)
2017-12-07 18:29:46 +01: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
Luca Deri
8bcafff569
Fixes for iQIYI and 1kxun protocols
2017-10-06 19:08:08 +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
Luca Deri
1a4e57e736
Code rework
2017-09-17 23:34:46 +02:00
Paulo Angelo
63c97753a1
Respose status code after validation check.
2017-08-19 14:19:30 -03:00
Paulo Angelo
449e06df77
Code formating and some improvements on HTTP (issue 434)
2017-08-11 17:52:32 -03:00
Paulo Angelo
5a8aa3d72d
Windows 10 detection from UA and indentation
2017-08-11 13:38:46 -03:00
Campus
05912a49ae
fixed 1kxun application protocol to avoid false positive in udp detection
2017-06-09 01:15:11 +02:00
Pavlos Antoniou
0a2cbe4926
Fix buffer overflows in http.c
2017-05-17 18:11:25 +03:00
emanuele-f
0659f9b592
Replace BSD dependent strnstr with ndpi portable one
2017-04-02 11:17:57 +02:00
Luca Deri
281ba768ec
Added Ookla (SpeedTest) protocol detection
2017-04-01 21:33:15 +02:00
Campus
149818671d
minor fix for http
2017-03-16 10:31:36 +01:00
Josh Soref
ce0a3e858a
spelling: scrupulous
2017-03-12 22:06:44 +00:00
Josh Soref
f8fed9be7e
spelling: exclude
2017-03-12 21:33:32 +00:00
Josh Soref
e89ce717ba
spelling: delivered
2017-03-12 21:31:56 +00:00
Campus
fd93036b79
better improvement of netflix traffic detection - added netflix pcap and output - change little bit http detection behaviour
2017-03-05 12:38:15 +01:00
Luca Deri
889cdbff3c
Fixed bug that can lkead to a crash in iqiyi dissector
2017-02-25 06:31:07 +01:00
Campus
a787287bfa
fix and improved netflix detection by user-agent
2017-02-22 17:14:52 +01:00
Luca Deri
a3d32d9d80
Improved HTTP subprotocol matching
2017-01-31 16:01:58 +01:00
Luca Deri
8805d8523b
Optimized code to avoid multiple calls to ndpi_network_ptree_match()
...
HTTP-based subprotocols have not HTTP set as master_protocols
2017-01-31 15:04:24 +01:00
Luca Deri
0610ae2d21
Fixed issues caused by (invalid) protocol renumbering. The problem has been solved and now protocols are in sync with its previous values in the stable version
2017-01-31 13:16:36 +01:00
Campus
8b1aa4a7bd
improved steam detection
2016-12-13 19:00:34 +01:00
Luca
424fbb710c
Added fixes to properly honour subprotocols
2016-11-26 18:36:08 +02:00
Alexis La Goutte
2ab1faf05a
http: unused variable 'no_pps' [-Werror=unused-variable]
2016-11-22 20:56:12 +01:00
Luca Deri
b25e3e0917
Compilation fix
2016-11-20 20:24:39 +01:00
Campus
9abbef7e05
added iqiyi media service and updated ppsetream protocol - added 1kxun media service
2016-11-20 13:07:00 +01:00
Campus
1fbe25f91e
fix facebook detection in http dissector
2016-11-18 20:21:08 +01:00
Alexis La Goutte
c7eb8d1082
HTTP: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang Analyzer
2016-11-12 16:00:10 +01:00
Campus
f8a9faf2fa
added adobe flash host name - fix twitter and netflix detection - removed twitter dissector (useless have a dissector that looking for ip range; moved matching in ndpi_content_match.c.inc)
2016-09-24 13:45:28 +02: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
cc4ceb88a0
Fix for #143
2016-02-12 22:07:37 +01:00
Campus
a4f170604c
removed kernel support and #if 0s
2015-11-12 12:08:41 +01:00
Luca Deri
8edd628973
Minor core reorganization
2015-10-26 01:34:39 +01:00
Luca
0b7af2dbbc
Fixes for #27
2015-07-13 15:34:47 +02:00
Luca
2f347a33d8
Fixes for issues #40 -> #52
...
Implemented sub-protocol detection for SSL/HTTP/HTTPS
2015-07-11 16:04:58 +02:00
Michele Campus
1dd0c912c7
fixed upper/lower name and init_non_tcp_udp_dissector
2015-07-09 00:00:27 +02:00
Luca
5266c726f2
Reworked protocol initialization. Work in progress (more cleanup is needed)
2015-07-08 11:58:55 -07:00
Luca
60884f9047
Split former protocol into upper and lower protocol
2015-07-01 17:40:14 +02:00
Luca
07ebed7fae
Removed commented code
...
Renamed ndpi_int_add_connection() with ndpi_set_detected_protocol()
2015-07-01 16:45:29 +02:00
Michele Campus
8da7af7b7b
deleted protocol type (real-correlated)
2015-06-29 16:24:51 +02:00
Luca
9d361ec772
HTTP response is now dissected so we can match mime types on responses
2015-06-18 16:24:03 +02:00
Luca Deri
2e5ceac844
Initial import from SVN
2015-04-19 07:25:59 +02:00