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
d88a73397d
Fix for #491 (SpeedTest/Ookla)
2017-12-07 18:29:46 +01:00
Darryl Sokoloski
3577072b12
Return before calling ndpi_match_host_subprotocol when dns_dissect_response enabled.
...
Otherwise responses will never be seen if a host sub-protocol matched.
2017-11-30 14:54:23 -05: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
Luca Deri
8547b50be7
Merge pull request #493 from evengx/dev
...
Fixed ndpi_win32.h so that it compiles on MinGW+GCC
2017-11-28 17:51:53 +01:00
Jacob Masen-Smith
950f5db3dd
Changed MinGW __forceinline strategy to something with less side effects
2017-11-23 20:40:43 -08:00
Luca
8eaf0cefa1
Warning fix
2017-11-23 15:39:20 +01:00
Luca Deri
8b1f8636d1
Further check if a STUN flow will eventually become RTP
2017-11-23 15:25:02 +01:00
Luca Deri
1b5c90cfbe
STUN improvements
2017-11-23 14:16:27 +01:00
Luca Deri
a488c9b7dc
Fixes #485
2017-11-03 09:32:43 +01:00
Vitaly Lavrov
50645e11d8
Merge branch 'dev' into dev
2017-11-02 10:59:21 +03:00
Michele Campus
3e53577936
Merge pull request #486 from vel21ripn/dev-sip
...
Bug fix. Protocol SIP: command 'CANCEL sip:' is not recognized.
2017-11-01 11:07:37 +01:00
Vitaly Lavrov
a0980228ef
Bug fix. Protocol SIP: command 'CANCEL sip:' is not recognized.
...
Add sip.pcap for tests ( Source: https://wiki.wireshark.org/SIP ).
2017-10-31 22:04:14 +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
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