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
Paulo Angelo
d8ed5b1005
final revision.
2017-08-09 14:17:07 -03:00
Paulo Angelo
93ceb14302
few classification adjusts
2017-08-09 14:08:28 -03:00
Campus
0326442faf
add SoundCloud detection for https://github.com/ntop/nDPI/issues/396
2017-08-09 18:14:41 +02:00
Paulo Angelo
7cab6efcd5
Issue 118 implementation (risk classification), indentation, and PasteBin&LinkedIn added.
2017-08-08 18:06:33 -03:00
Paulo Angelo
d79c5ffc24
Identation and comments only.
2017-08-08 15:48:27 -03:00
Luca Deri
1d4eeaa328
Removed invalid networks from google list
2017-07-30 13:57:12 +02:00
Michele Campus
f336f1a340
Merge pull request #428 from k0ste/newfeature
...
Added Sony Playstation protocol.
2017-07-29 22:14:52 +02:00
Konstantin Shalygin
fbfe3e004c
Added Sony Playstation protocol.
2017-07-29 16:52:03 +07:00
Luca
9a809bf673
Improved TeamViewer support
2017-07-29 06:55:50 +02:00
Alexis La Goutte
ad401c4192
ndpi_main.c: fix unused variable 'rc' [-Werror,-Wunused-variable]
2017-07-28 13:46:02 +00: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