Luca Deri
efbfb7cbd6
Set /usr as installation prefix
2020-10-29 17:45:55 +01:00
Alfredo Cardigliano
1c4ce8b0f4
Move libraries from /usr/local to /usr
2020-10-29 12:43:33 +01:00
Vitaliy Ivanov
10506b5173
Generate NDPI_API_VERSION based on git commands.
...
https://github.com/ntop/PF_RING/issues/668
Check for .git directory works in case of usual clone of nDPI repo.
But if you integrate is as submodule then .git is a file.
Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com >
2020-10-29 12:35:05 +01:00
Luca Deri
94471193c2
Added boundary check
2020-10-27 08:48:12 +01:00
Igor Duarte
ba6a48c9fe
Improve skype detection ( #1039 )
...
* Add new skype pcap
PCAP extracted from SkypeIRC.cap (available in https://wiki.wireshark.org/SampleCaptures?action=AttachFile&do=get&target=SkypeIRC.cap )
* Improve skype detection
2020-10-27 08:45:09 +01:00
Luca Deri
48d640583a
Moved global in reader_util.c
2020-10-27 08:40:00 +01:00
Luca Deri
948a906037
Added -D flag for detecting DoH in the wild
...
Removed heuristic from CiscoVPN as it leads to false positives
2020-10-26 21:40:59 +01:00
Luca Deri
9873972acb
Various improvemement when using ndpi_pref_enable_tls_block_dissection:
...
application data TLS blocks are now ignored when exchanged before
- the end of certificate negotiation (up to TLS 1.2)
- change cipher
2020-10-24 19:22:56 +02:00
Luca Deri
9b85669a64
Added -x for checking patterns
2020-10-22 23:28:18 +02:00
Luca Deri
833d0eee53
Added CPHA - CheckPoint High Availability Protocol protocl support
2020-10-22 18:39:13 +02:00
Ivan Nardi
6027a7c799
Fix parsing of DLT_PPP datalink type ( #1042 )
2020-10-21 22:27:42 +02:00
Luca Deri
9dac9945c9
Fixes #1033
2020-10-21 20:59:02 +02:00
Douglas and Douglas Wordell
efb712c2c0
Added new IPs for TeamViewer ( #1040 )
...
Co-authored-by: Douglas Wordell <douglas.wordell@seti.com.br >
2020-10-21 15:09:14 +02:00
Zied Aouini
43c1f6a3fd
CAPWAP tunnel decoding fix ( #1038 )
...
* Fix CAPWAP processing.
* Update result.
2020-10-21 15:07:20 +02:00
Toni
822c8e56f7
Improved/autoconf ( #1037 )
...
* Switched to PKG_CHECK_MODULES to keep pkg-config checks more portable.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
* Improved GCrypt autoconf check to detect a possible gpg-error inter-library dependency.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-10-21 15:05:33 +02:00
Hosein Ghahremanzadeh
bb33d57971
Fix a memory leak on fuzzing code ( #1036 )
...
After allocation of pcap_buffer it is necessary to free it
2020-10-21 15:05:11 +02:00
Igor Duarte
13d99a9390
Remove possible invalid read ( #1035 )
2020-10-21 15:04:55 +02:00
Luca Deri
6c0a809de8
Initial 3.5 commit
2020-10-19 16:23:03 +02:00
Luca Deri
64929a75e0
3.4 nDPI Release
3.4
2020-10-19 16:18:25 +02:00
Luca Deri
02de8e10ca
Added makefile target for creating changelog
...
Updated Changelog
2020-10-19 15:39:48 +02:00
Toni
c2d8955c18
Fixed missing PCAP include directories in Makefiles. ( #1034 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-10-19 11:25:22 +02:00
Luca Deri
e9721eb4ce
Improved processing of IPv6 header
...
Improved QUIC serialization
2020-10-15 21:57:59 +02:00
Alfredo Cardigliano
88f3519ab3
Handle list items in ndpi_deserialize_get_single_size
2020-10-15 12:02:43 +02:00
Alfredo Cardigliano
031cd04b7c
Add serialization of values list in TLV
2020-10-15 10:45:43 +02:00
aouinizied
d5d2a7e3f3
Fix CAPWAP handling.
2020-10-13 19:13:07 +02:00
Alfredo Cardigliano
2051e51380
Decoupled fuzzy and unit tests
2020-10-12 12:11:35 +02:00
Alfredo Cardigliano
c92e0d13fd
Serialized doxygen doc
2020-10-05 11:25:48 +02:00
Luca
05d93790e4
Added ndpi_quick_16_byte_hash
...
Warning fix
2020-10-05 08:26:24 +02:00
Luca Deri
32e4922c5a
Warning fix
2020-10-03 17:14:40 +02:00
Luca Deri
d4d82c27a5
Tests update
2020-10-02 21:35:15 +02:00
Luca Deri
addc775811
Added fix for invalid SNI check when SNI is missing
2020-10-02 21:26:43 +02:00
Luca Deri
b68a3707f6
Updated serialization test unit
2020-10-02 12:39:08 +02:00
b0c4d01734
don't pass arguments to ./configure as 1 string ( #1027 )
...
this causes the following error if there are arguments after --host :
'checking host system type... config.sub: too many arguments'
Co-authored-by: sahnalys12 <boris.vanhoof_ext@softathome.com >
Co-authored-by: Luca Deri <lucaderi@users.noreply.github.com >
2020-09-29 18:02:08 +02:00
Ivan Nardi
2c1b7cf1bd
QUIC: fix dissection of "offset" field ( #1025 )
...
The "offset" field is a variable-length integer.
This bug hasn't any practical effects right now, since we are ignoring any
packet with "offset" != 0 (and the value 0 is always encoded in only one byte).
But extracting a correct "offset" is important if we are ever going to handle
fragmented Client Hello messages.
2020-09-29 17:59:03 +02:00
Toni
656323c334
Added missing files to `make dist' target which are not required to build nDPI but still somehow essential. ( #1024 )
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-09-29 17:58:33 +02:00
Luca Deri
8e1a3f5cdc
Added JSON-C check for unit tests
2020-09-26 12:50:30 +02:00
Luca Deri
58538b7d19
Added extra boundary checks
2020-09-26 12:33:57 +02:00
Luca Deri
d0dbcf6dd6
Added back ndpi_check_flow_func (correct) prototype
2020-09-25 10:39:33 +02:00
Luca Deri
8413faf2ef
Boundary fix
2020-09-25 09:56:24 +02:00
Luca Deri
204f3ddff5
Compilation fix
2020-09-25 09:36:10 +02:00
Luca Deri
044ed14b4f
Various optimizations to reduce not-necessary calls
...
Optimized various UDP dissectors
Removed dead protocols such as pando and pplive
2020-09-24 23:26:03 +02:00
Luca Deri
51e86346d3
Added -fno-sanitize=alignment in clang-7
2020-09-24 16:46:28 +02:00
Luca Deri
8e7a707be1
-O0 -> -Og
2020-09-23 18:49:44 +02:00
Luca Deri
837ce7306b
Attempt to avoid errors due to misaligned packet headers
2020-09-23 18:17:51 +02:00
Luca Deri
05dfae6430
Improved boundary check to prevent overflow
2020-09-23 17:14:40 +02:00
Luca Deri
d29a0241ee
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
2020-09-22 12:45:44 +02:00
Luca Deri
cbf1be5789
Macro redefinition
2020-09-22 12:23:44 +02:00
Luca Deri
5f99433ee7
Minor UA handling improvement to avoid heap-overflow
2020-09-22 08:56:35 +02:00
lucaderi
27bad14738
Added missing install target in newly added unit tsts
2020-09-22 08:42:50 +02:00
Luca Deri
362baa6321
Minor change for alignment issue
2020-09-21 21:15:52 +02:00