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
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
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
f7e9264c36
LISP PROTOCOL by Huniya Arif (xFlowResearch)
2017-09-14 12:52:18 +05: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
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
22beb7714d
Implements #376
2017-08-29 20:56:08 +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
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
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
Konstantin Shalygin
fbfe3e004c
Added Sony Playstation protocol.
2017-07-29 16:52:03 +07: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
emanuele-f
bab373f992
Add nintendo protocol
2017-07-24 12:06:13 +02:00
Micah Lyle
6e85b93442
Implementation for extra packet processing if desired
2017-07-17 18:06:07 -07:00
Luca Deri
9bfab472e4
Win fix
2017-07-06 08:29:21 +02:00
Campus
dbb9724c4e
added fix protocol https://github.com/ntop/nDPI/issues/372
2017-06-27 11:38:44 +02:00
Yoni.Linder
968085c965
last updated protocol updated to SOMEIP(228)
2017-06-14 16:49:45 +03:00
Yoni.Linder
ef1a84fb39
ndpi someip initial version with hardcoded port enforcing
2017-06-14 16:43:47 +03:00
Luca Deri
f3f83f2eee
Adding AppleStore and PlayStore (work in progress)
2017-06-13 14:48:59 +02:00
Campus
05912a49ae
fixed 1kxun application protocol to avoid false positive in udp detection
2017-06-09 01:15:11 +02:00
Campus
39dc99443c
added GoogleDrive detection
2017-06-07 18:18:12 +02:00
William Guglielmo
4a751f9d05
Updated libcache
2017-05-30 19:17:41 +02:00
William Guglielmo
46284e1537
Update ndpi_typedefs.h
2017-05-29 21:30:30 +02:00
William Guglielmo
694bc039e8
Added tinc protocol detection
2017-05-29 19:09:32 +02:00
Luca Deri
aa6167bb42
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2017-05-01 21:21:03 +02:00
Luca Deri
205b82f6ba
Added new API calls
...
- ndpi_add_string_value_to_automa
- ndpi_match_string_id
2017-05-01 21:20:43 +02:00
Luca
45582194cf
Added DNScrypt detection
2017-04-19 09:56:51 +02:00
Campus
b97e3ee51a
add initial detection for WeChat
2017-04-15 11:23:03 +02:00
Campus
2b0809f3dc
name correction for llc_snap header and minor fix
2017-04-15 00:40:01 +02:00
Luca
bc68949c76
Added AMQP (Advanced Message Queueing Protocol)
2017-04-07 08:05:39 +02:00
Luca Deri
281ba768ec
Added Ookla (SpeedTest) protocol detection
2017-04-01 21:33:15 +02:00
Campus
65359e53d8
Merge branch 'set_memory_functions' of https://github.com/vpiserchia/nDPI into vpiserchia-set_memory_functions
2017-03-29 10:46:38 +02:00
Luca Deri
6a5b380bc7
Exported ndpi_netbios_name_interpret() to all nDPI apps
2017-03-19 22:51:13 +01:00
Vito Piserchia
4300208642
Added ndpi_flow_ free/malloc and set_ functions:
...
Ideally these two new functions will provide more flexibility
in regards of application that want to use specific allocation
approaches, for example storage queues for this structures
from where the application can pop and release the data it
needs.
Semantically they can be set up as the other ndpi_malloc and ndpi_free
functions, that is via the set_ndpi_flow_malloc and set_ndpi_flow_free.
In case a NULL parameter is passed to the above functions the old
approach will be used, that means that the ndpi_malloc will be used as
the ndpi_flow_malloc function and ndpi_free_flow as the ndpi_flow_free one.
Application that use the old functions will be not affected by this change,
and the ndpi_free_flow can be deprecated in the future and made private.
2017-03-16 17:35:10 +01:00
Campus
3add72c686
deleted useless function - change macro name
2017-03-15 18:42:44 +01:00
Campus
5de6a96af5
change behaviour for https://github.com/ntop/nDPI/issues/344 - fix skype detection deleting parts that detect host name and ip addr (duplicate behaviour) - improved any detection after fix - added skype host name
2017-03-15 17:28:31 +01:00