Commit graph

1534 commits

Author SHA1 Message Date
Vitaly Lavrov
96cf776457 Fixed error read flows info after change read mode. 2019-11-19 00:34:06 +03:00
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
33544aa469 Fix error in generic_proc_write() 2019-11-15 23:23:38 +03:00
Vitaly Lavrov
bfd0090982 Fixed mark/priority setting when using ndpi-id 2019-11-12 12:41:53 +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
2a7b9cfc20 Counters "acc_rem" and "acc_work" right work now (bug fixing).
Added name for network namespace (debug info).
2019-10-10 00:28:36 +03:00
Vitaly Lavrov
80f58c3e8d Fixed counter "acc_rem" on delete net_ns. 2019-10-07 22:17:19 +03:00
Vitaly Lavrov
386a76eb65 Fixed bug.
Memory was not freed after deleting an entry from the list.
2019-09-16 22:10:59 +03:00
Vitaly Lavrov
219bb9a2cf Field order optimization in data structures. 2019-09-16 11:45:28 +03:00
Vitaly Lavrov
cff4144b8e Reworked read from proc/net/xt_ndpi/{proto,ip_proto,host_proto,flows} 2019-09-16 10:58:25 +03:00
Vitaly Lavrov
843ca951ac libxt_ndpi: don't show disabled custom protocols. 2019-09-11 23:34:37 +03:00
Vitaly Lavrov
b353209057 Packet counting fixed. Part #2 2019-07-19 15:18:23 +03:00
Vitaly Lavrov
cca4261197 Packet counting fixed. 2019-07-19 01:31:49 +03:00
Vitaly Lavrov
7725601fc7 Record format for the name of the protocol. 2019-07-17 22:19:05 +03:00
Vitaly Lavrov
6217f1258c Small fixes.
Identical data output in /proc/net/xt_ndpi/flows, ndpi_flow_dump
and flow_decode.pl

flow_decode.pl not work with IPv6!
2019-07-17 22:09:31 +03:00
Vitaly Lavrov
88ca0b6068 Replaced printk() on pr_info() or pr_err(). 2019-07-17 22:07:41 +03:00
Vitaly Lavrov
cf51bdf628 Fix SNAT info 2019-07-12 12:03:21 +03:00
Vitaly Lavrov
d300444e84 Fix message "bt_port_gc: FLOW jiffies 0" 2019-07-12 10:38:30 +03:00
Vitaly Lavrov
87f8df9869 Added protocol names to binary file. Reduced debug output in kernel module. 2019-07-12 00:05:55 +03:00
Vitaly Lavrov
c10ca45d99 Added missing file src/ndpi_flow_info.h 2019-07-11 15:21:26 +03:00
Vitaly Lavrov
4246f8fac7 Added reading flow_info in binary format.
Utilities for reading and decoding are in the directory ndpi-netfilter/flow_dump/ .
2019-07-11 13:05:08 +03:00
Vitaly Lavrov
acd8c924a0 Fix error in flow_have_info() 2019-07-09 16:37:28 +03:00
Vitaly Lavrov
cd868b47ab Bug fixing and replace bit fields to bit operations. 2019-07-09 15:34:05 +03:00
Vitaly Lavrov
5b71c8cc6b Bug fixing.
Fix deadlock on load module.
Change EOF detecting in nflow_read().
2019-07-08 22:48:01 +03:00
Vitaly Lavrov
1cfd9bcf33 Add debug info for flow_info dump 2019-07-08 16:43:25 +03:00
Vitaly Lavrov
ffa7f088d0 Fix missing 'break' 2019-07-08 15:43:51 +03:00
Vitaly Lavrov
9dc391fe48 Small fixes
Delete flow_info with zero counters
2019-07-05 16:06:26 +03:00
Vitaly Lavrov
0ebbf4a3a5 Fix for vmalloc/kvmalloc on old kernel. 2019-07-01 13:22:03 +03:00
Vitaly Lavrov
144327c133 Two small fix
Autodetect USERID feature.
A workaround for allocating large memory areas in 32-bit systems.
2019-06-27 15:08:36 +03:00
Vitaly Lavrov
8a9b98514e Small optimization.
Reduced overhead when "ndpi_enable_flow" is on and does not use "-j NDPI --flow-info"
2019-06-26 12:26:43 +03:00
Vitaly Lavrov
8d77009c2a ndpiReader: set trace=NULL after fclose(trace) 2019-06-21 10:31:54 +03:00
Vitaly Lavrov
afeaded524 Fix error.
The command "echo 'all mark/mask' >/proc/net/xt_ndpi/proto" not sets
mark and mask for all protocols.
2019-06-17 12:39:59 +03:00
Vitaly Lavrov
56d8788f4d Adding 2 missing Whatsapp IPs (#704) 2019-05-13 23:25:20 +03:00
Vitaly Lavrov
a92e9877cc The restriction on adding custom protocols has been removed. 2019-05-13 13:07:42 +03:00
Vitaly Lavrov
20e6253340 Fixed error in FLOW_INFO.txt.
The order of the fields did not correspond to reality.
2019-04-29 21:56:44 +03:00
Vitaly Lavrov
2f977a605f Fixed compile errors with 4.1.x kernel. 2019-04-29 21:51:03 +03:00
Vitaly Lavrov
5acad50824 Fixed error in determining host-based protocols. 2019-04-16 23:08:59 +03:00
Vitaly Lavrov
561ddeaf12 ndpiReader: Added calling tzset() for resolve bug (sigsegv). 2019-04-11 13:50:23 +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
c8ee735214 Fix for kernel-4.4 and 3.18
For the kernel 3.18.137, only the build was checked.
Testing on real traffic was not performed.
2019-04-02 11:52:06 +03:00
Vitaly Lavrov
b91096444e Fix warning gcc-8.3 2019-04-02 11:51:25 +03:00
Vitaly Lavrov
cb49c06b71 Fix wrong locking in bt_port_gc() 2019-04-02 10:05:49 +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
c9b21f623b Fixed a bug in parsing commands to change the data reading mode.
Added information about connmark.
2019-03-25 20:01:56 +03:00
Vitaly Lavrov
216906a826 Typos fixed. 2019-03-24 16:45:59 +03:00