Commit graph

923 commits

Author SHA1 Message Date
Vitaly Lavrov
66bc0518d6 Fixed name of the "Vidto" protocol.
Added verification of duplicate protocol names.
2019-11-15 23:32:12 +03:00
Vitaly Lavrov
8bd338400f Work on the bugs.
Possible deadlocks and nested locks fixed.
Excluded sleep() inside atomic sections.
2019-10-30 21:10:28 +03:00
Vitaly Lavrov
720e32afe2 Fix warning gcc-9.2 2019-10-29 22:09:23 +03:00
Vitaly Lavrov
56d8788f4d Adding 2 missing Whatsapp IPs (#704) 2019-05-13 23:25:20 +03:00
Vitaly Lavrov
1b837da429 Added Viber IPs issue #684 2019-04-09 13:42:01 +03:00
Vitaly Lavrov
bf93dc2255 Added new Whatsapp addresses ntop/nDPI issue #683 2019-04-09 13:40:26 +03:00
Vitaly Lavrov
c45201d211 memcached: fix invalid read on short packet #695 2019-04-09 13:05:46 +03:00
Vitaly Lavrov
2c29bac141 csgo: fix invalid read on short packet #694 2019-04-09 13:01:56 +03:00
Vitaly Lavrov
b91096444e Fix warning gcc-8.3 2019-04-02 11:51:25 +03:00
Vitaly Lavrov
ac00e87122 Fix error after rebase to 2.8 2019-03-31 00:56:50 +03:00
Vitaly Lavrov
f0a71c0355 Merge branch '2.8-stable' into flow_info
Conflicts:
	autogen.sh
	src/include/ndpi_typedefs.h
	src/lib/Makefile.in
	src/lib/ndpi_main.c
	src/lib/protocols/dns.c
	src/lib/protocols/http.c
	src/lib/protocols/ookla.c
	src/lib/third_party/include/lruc.h
	src/lib/third_party/src/lruc.c
	tests/result/waze.pcap.out
2019-03-31 00:35:17 +03:00
Vitaly Lavrov
ce45424f86 Fix for kernel 5.0 2019-03-19 23:16:47 +03:00
Vitaly Lavrov
9766d5ecfe New option bt6_hash_size - size of hash for Bittorrent ipv6
fix locking problem in bt_port_gc
2019-03-05 23:56:47 +03:00
Vitaly Lavrov
a588be6d10 ndpi_network_list_compile.c: fix compile warning 2019-03-05 23:54:06 +03:00
Vitaly Lavrov
5bdb5a54ee Fix invalid TCP DNS dissection
cherry-pick commit ab3833a708
2019-03-05 23:51:13 +03:00
Luca
d283538146 Fixed false positive mining detection 2019-03-01 12:56:33 +01:00
Vitaly Lavrov
7eb9fd6486 Fix save dns query hostname. 2019-02-27 12:21:33 +03:00
Luca Deri
de16b01bb2 Improved MDNS dissection 2019-02-24 11:03:06 +01:00
Luca Deri
47669abd44 Added extra check to avoid nDPI wrong matches 2019-02-21 23:29:06 +01:00
emanuele-f
ab3833a708 Fix invalid TCP DNS dissection 2019-02-19 17:17:02 +01:00
Luca Deri
dc8d582b18 Fixes #671 2019-02-14 10:31:42 +01:00
emanuele-f
a035763afd Change ndpi_fill_ip_protocol_category to pass IPs explicitly 2019-02-12 17:28:30 +01:00
Luca Deri
0c4fada265 Fix for avoid wrong substring match to happen 2019-02-10 23:52:24 +01:00
Luca Deri
ddf0066c11 Aligned DNS to HTTP dissection 2019-02-07 22:44:48 +01:00
Vitaly Lavrov
0a0ff0d48d Fix whatsapp signature detecting (2). 2019-01-31 11:19:06 +03:00
cardigliano
2ec41c1732 Releasing old buffer if realloc fails 2019-01-31 09:12:04 +01:00
Vitaly Lavrov
aa855e134e Fix whatsapp signature detecting. 2019-01-30 14:51:43 +03:00
Alfredo Cardigliano
6a98aec2ca Support for protocol file files of arbitrary length 2019-01-30 08:44:32 +00:00
Luca Deri
e2ffcd7229 Improved HTTP response code handling 2019-01-23 00:53:56 +01:00
Luca Deri
b9ae650146
Merge pull request #659 from cavedon/direction-endianness
Compute packet_direction consistently independently from endianness
2019-01-20 23:18:46 +01:00
Vitaly Lavrov
23e3cbd40f Using do_div() for 32-bit platforms.
Thanks @panda-mute from GitHub.
2019-01-20 17:16:30 +03:00
Pramode
81649d9979 Propagate prefix settings to Makefiles
A "make install" was failing because the --prefix flag
setting was not being propagated to the Makefiles.
2019-01-20 19:09:07 +05:30
Luca Deri
7efe1f06ee Removed debug code 2019-01-17 22:03:39 +01:00
Luca Deri
85155d5899 Removed debug code 2019-01-17 00:42:45 +01:00
Luca Deri
d088a968a9 Merge branch 'dev' of https://github.com/ntop/nDPI into dev 2019-01-17 00:41:05 +01:00
Luca Deri
efef99cbad Removed this party LRU and replaced with home grown 2019-01-17 00:40:28 +01:00
Luca Deri
f3b0878a37 Warnign fixes
Updated test results
2019-01-17 00:39:45 +01:00
Luca Deri
c856e0a563 Disabled ookla statistics: needs to be improved 2019-01-16 22:30:55 +01:00
Ludovico Cavedon
2c672a4ea2 Compute packet_direction consistently independently from endianness
Ensure packet_direction is computed in the same way on little endian and
big endian architectures.
This change will convert IP addresses and port from little endian to host
endian (instead of converting from network endian to host endian) so
that it does not change the behavior on little endian architecture where
ndpi is usually developed.
A better (but more invasive) change would be to use the ntoh*()
functions and then adjust all affected tests.
2019-01-16 01:15:43 -08:00
Ludovico Cavedon
0cb4bae275 QUIC: convert little endian offsets to host endianness
Offset in the QUIC protocol are little endian. Reading them as uint32_t
works on little endian architectures, but breaks on big endian ones.
This change applies the proper conversion and fixes running the
http_ipv6 and quic tests on big endian architectures.
2019-01-15 23:49:26 -08:00
Simone Mainardi
2ade0be365 Fixes ookla lru cache use with IPv6 2019-01-15 09:56:33 +01:00
Luca Deri
f2f2dbe381 Fix for IPv6 HTTP traffic 2019-01-14 20:03:06 +01:00
Vitaly Lavrov
2586e77252 Small changes Makefiles 2019-01-14 12:47:02 +03:00
Vitaly Lavrov
5e7bc64bfa small changes Makefiles 2019-01-13 15:57:25 +03:00
Luca Deri
60eee5f9e9
Merge pull request #649 from Dark-Vex/dev
Bank website detected as TOR from SSL Dissector (bigram check)
2019-01-13 11:12:12 +01:00
Luca Deri
4a6b0d7de5
Merge pull request #654 from u-devel/patch-1
Update radius.c to RFC2865
2019-01-13 11:11:10 +01:00
u-devel
1d155ab2eb
FIX H.323 broken detection
TPKT header length field can have value more then 255, and in fact in all of the cases I've met it is more then 255.
Thus checking real H.323 packet like this:
(packet->payload[2] == 0x00)
stop detecting H.323 conversation at all.
2019-01-13 00:07:45 +06:00
u-devel
396f794bf4
Update radius.c to RFC2865
According to RFC2865 code can have value up to 13, also payload length ranges should be applied.
2019-01-12 23:49:24 +06:00
Vitaly Lavrov
466b50bf12 fix .gitignore
fix ookla for kernel mode
fix lruc for kernel mode
2019-01-11 12:07:38 +03:00
Vitaly Lavrov
d3f5cc4945 Compile nDPI 2019-01-09 14:40:35 +03:00