Luca Deri
e45237a93f
Removed http:// from HTTP url
...
Reported URL in ndpiReader
2019-10-01 12:25:39 +02:00
Luca Deri
ab9246f51f
Adedd DTLS check in STUN
...
Uodated (C)
2019-09-21 09:16:56 +02:00
Luca
fdeecf5d41
Implemented STUN cache to enhance matching of STUN-based protocols
2019-08-12 14:16:28 +02:00
Luca Deri
f8fb1f838c
Fixes #740
2019-07-14 12:25:08 +02:00
Stuart Reilly
92c769f206
Solve remaining warnings
2019-07-12 16:41:39 +01:00
Stuart Reilly
8b1c68aed3
Add compiler warnings and fix them
2019-07-12 16:01:22 +01:00
Luca Deri
4e8055742e
Added fix for discarding core protocols as subprotocols
2019-06-05 23:15:06 +02:00
Luca Deri
173a04007f
Merge pull request #682 from chiehmin/dev
...
Parse HTTP PATCH method
2019-04-12 19:24:14 +02:00
Luca Deri
1915a63cf2
Implemented ndpi_process_partial_detection() API call to handle partial matches due to the nDPI specified configuration
2019-04-01 12:30:51 +02:00
chiehminw
1df5b453cb
Parse HTTP PATCH method
...
HTTP PATCH is introduced in RFC 5789 (https://tools.ietf.org/html/rfc5789 )
Signed-off-by: chiehminw <chiehminw@synology.com >
2019-03-26 11:46:57 +08:00
Luca Deri
e5f6f68cd6
Merge pull request #677 from chiehmin/add-http-method-prefix
...
Add NDPI prefix for HTTP_METHOD enum to avoid name collisions
2019-03-23 09:52:34 +01:00
chiehminw
b1bd7d6f8c
Add NDPI prefix for HTTP_METHOD enum to avoid name collisions
...
ref: https://stackoverflow.com/questions/35380279/avoid-name-collisions-with-enum-in-c-c99
Signed-off-by: chiehminw <chiehminw@synology.com >
2019-03-12 16:11:33 +08:00
Luca Deri
89d548f9d3
Removed categories based on file content
2019-03-10 21:18:19 +01:00
Luca Deri
e2ffcd7229
Improved HTTP response code handling
2019-01-23 00:53:56 +01:00
Luca Deri
efef99cbad
Removed this party LRU and replaced with home grown
2019-01-17 00:40:28 +01:00
Simone Mainardi
2ade0be365
Fixes ookla lru cache use with IPv6
2019-01-15 09:56:33 +01:00
Luca Deri
f2f2dbe381
Fix for IPv6 HTTP traffic
2019-01-14 20:03:06 +01:00
Luca Deri
97bdfe295d
nDPi now finally honours dissection of HTTP responses
2019-01-07 00:28:29 +01:00
Luca Deri
92ad057332
Added Ookla cache
2018-12-17 22:33:58 +01:00
Luca Deri
01bf295a19
Completed custom category implementation
2018-08-16 14:57:44 +02:00
Luca
667e77c609
Major code cleanup
...
Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
2018-07-21 16:02:54 +02:00
Luca Deri
6dd42d19f7
Implemented Facebook Messenger (mobile) support
...
Code cleanup
2018-05-18 23:10:00 +02:00
Luca Deri
1076455c01
Added ndpi_set_detection_preferences() APi call
2018-05-14 21:40:27 +02:00
Yingpei Zeng
4b720c4f3c
Add length check before do memcmp to "x-steam-sid" in http.c
2018-04-16 16:07:01 +08: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
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