Luca Deri
7090ef838c
Minor optimizations
2017-11-28 00:44:08 +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
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
Campus
a4532a4999
update Telegram match
2017-11-11 16:23:14 +01:00
Campus
3caac691d5
removed bigrams for src/lib/ndpi_content_match.c.inc
2017-11-11 15:56:16 +01:00
Hidde van der Heide
ee957e0831
Merge remote-tracking branch 'upstream/dev' into dev
2017-11-09 10:14:02 +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
Luca Deri
cf07c92538
Dropbox and apple improvements
...
Fixed warning
2017-10-29 18:31:31 +01: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
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
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
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
b129487636
Custom protocols are not set as application and no longer master protocols
2017-09-25 14:51:46 +02:00
Luca Deri
c115903fbb
Patch for giving prority in case of match to custom-defined protocols
2017-09-24 22:49:07 +02:00
Luca Deri
8cc2b04f3c
Fixed category for email services
2017-09-23 11:34:12 +02:00
Luca Deri
c2002cd48f
Removed / from category names that can cause issues in applications
2017-09-21 19:35:03 +02:00
Luca Deri
9fb5981128
Added ndpi_category_set_name() API call
2017-09-19 22:39:00 +02: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
Luca Deri
4176fd5068
Reworked categories
2017-09-15 11:56:40 +02:00
Luca Deri
1808519b5b
Reorganized protocol families
...
Added new API calls ndpi_set_proto_breed() and ndpi_set_proto_category() for overwriting nDPI protocol specifications
2017-09-15 11:23:34 +02:00
Luca Deri
83b1b34c18
Added custom 5 protocol categories to be used by applications. They are currently empty
...
Added ndpi_is_custom_category() to check if a defined category is custom
2017-09-15 11:13:25 +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
8e8445e02f
fix telegram detection
2017-09-03 16:40:41 +02:00
Campus
0e8756ab46
Merge branch 'newfeature' of https://github.com/k0ste/nDPI into k0ste-newfeature
2017-08-31 11:28:58 +02:00
Luca
b2bc6039da
Partial fix for #410 : added case insensitive HTTP header checks.
...
If the user will provide a pcap for reproducing further potential issues reported we will consider them
2017-08-29 21:32:52 +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
Luca Deri
5547ef06b3
Collapsed email send and receive categories in a new email category
2017-08-17 17:55:52 +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