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
Luca Deri
2476c3c1b6
Fixed bug in someip dissector (access out of boundary)
...
Fixed memory leak in ndpiReader
2017-10-08 18:55:40 +02: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
Michele Campus
82c244b04f
Merge pull request #466 from vel21ripn/dev-fixerr
...
Fix error: Use of uninitialized structures in tcp_udp.c
2017-10-02 00:45:17 +02:00
Vitaly Lavrov
f80f0eedc0
Fix error: Use of uninitialized structures in tcp_udp.c
...
Now the test results do not depend on the compiler optimization level and architecture.
2017-10-01 22:43:20 +03:00
Vitaly Lavrov
1dd93590e4
Fixed a typo in lisp.c
2017-09-29 10:04:03 +03:00
Luca Deri
1a4e57e736
Code rework
2017-09-17 23:34:46 +02:00
Luca Deri
d6f7dd9c08
Implemented DHCP field 55 decode
2017-09-17 21:25:55 +02:00
huniya arif, xflowResearch
d4d4f2a17c
Added LISP protocol. By Huniya Arif (xFlowResearch)
2017-09-14 11:38:31 +05:00
huniya arif, xflowResearch
d3d6a95da7
Added protocol LISP. By Huniya Arif xFlow Research
2017-09-14 11:05:20 +05:00
Campus
0e8756ab46
Merge branch 'newfeature' of https://github.com/k0ste/nDPI into k0ste-newfeature
2017-08-31 11:28:58 +02:00
Luca
299b9435d0
Fixed memory out-of-bound issue
...
Added extra check for fixing #366
2017-08-29 19:56:32 +02:00
Konstantin Shalygin
31478703c2
Backported CSGO/DOTA2 protocol.
2017-08-26 15:41:04 +07:00
Paulo Angelo
7dc20134c0
Merge remote-tracking branch 'upstream/dev' into dev
2017-08-19 14:21:06 -03:00
Paulo Angelo
63c97753a1
Respose status code after validation check.
2017-08-19 14:19:30 -03:00
Campus
5515c3a109
fix for https://github.com/ntop/nDPI/issues/437
2017-08-18 10:11:41 +02: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
Michele Campus
6ca6d96821
Merge branch 'dev' into ssl-certificate-fix
2017-07-27 13:10:08 +02:00
Luca Deri
e6b594a626
Fixed TINC bug (cache usage)
...
Merged MS Lync with Skype (Microsoft renamed MS Lync in Skype for Business)
Renumbered Nintendo protocols in former MS Lync that was no longer used
Fix for #425
2017-07-27 00:18:15 +02:00
Luca Deri
c15f2bda97
Implemented support for Nintendo (switch) gaming protocol
2017-07-26 19:59:46 +02:00
Micah Lyle
6e85b93442
Implementation for extra packet processing if desired
2017-07-17 18:06:07 -07:00
Micah Lyle
0b72c2fce3
Fixed tcp ssl case where client cert got set but server did not
2017-07-14 14:55:03 -07:00
Luca Deri
d66e473a2c
Code cleanup
...
Updated test results
Renamed SOMEIP -> someip
2017-07-06 09:28:15 +02:00
Campus
dbb9724c4e
added fix protocol https://github.com/ntop/nDPI/issues/372
2017-06-27 11:38:44 +02:00
MaYuming
592b769f67
fix lync over ICE detection
2017-06-25 11:15:59 +08:00
Campus
68f1653dec
fix lync detection
2017-06-19 20:39:36 +02:00
Campus
117e61c34b
Merge branch 'dev' of https://github.com/YumingMa/nDPI into YumingMa-dev
2017-06-19 15:53:36 +02:00
Luca
be749e75a5
Removed tracing
2017-06-15 07:13:29 -04:00
Luca
ac5cb53066
mDNS improvemennts to recognize reponses senst to non multicast addresses
2017-06-15 05:25:27 -04:00
alexei-argus
d4ca57884b
CR fixes #2
2017-06-14 16:50:01 +03:00
alexei-argus
8ec2867433
CR fixes
2017-06-14 16:49:58 +03:00
Yoni.Linder
0aa5ebde5d
CR comments and fixes
2017-06-14 16:49:56 +03:00
alexei-argus
6029510ee7
Add CR comments
2017-06-14 16:49:53 +03:00
Yoni.Linder
7d39ba2124
removed debug prints, changed line of documentation
2017-06-14 16:49:50 +03:00
Yoni.Linder
ae959f2d78
SOMEIP debug + bug fixes
2017-06-14 16:49:47 +03:00
Yoni.Linder
bc7f0b3686
endianity for ports
2017-06-14 16:46:44 +03:00
alexei-argus
87b49c5249
Fix build errors
2017-06-14 16:46:42 +03:00
Yoni.Linder
ef1a84fb39
ndpi someip initial version with hardcoded port enforcing
2017-06-14 16:43:47 +03:00
MaYuming
d9bef8fa46
fix ms-lync detection missing, More detail at https://github.com/ntop/nDPI/issues/401
2017-06-13 17:17:19 +08:00
Campus
af3086fb82
add check for whatsapp in ssl
2017-06-09 13:22:58 +02:00
Campus
05912a49ae
fixed 1kxun application protocol to avoid false positive in udp detection
2017-06-09 01:15:11 +02:00
Pavlos Antoniou
1467ad68d4
Remove unused variables for ndpiReader.c and tinc.c
2017-06-07 11:18:38 +02:00
William Guglielmo
694bc039e8
Added tinc protocol detection
2017-05-29 19:09:32 +02:00
Pavlos Antoniou
ec0e6f98d4
Remove redundant check from btlib.c
2017-05-18 13:08:45 +03:00
Pavlos Antoniou
0a2cbe4926
Fix buffer overflows in http.c
2017-05-17 18:11:25 +03:00
Campus
cd26942edf
delete check for old protocol
2017-05-11 15:48:12 +02:00
Luca Deri
af5021d571
Fixed warning
2017-04-29 08:32:28 +00:00