Comments (6)
conntrack -L
is empty?
grep . /sys/module/xt_ndpi/parameters/err_ct*
have non-zero values?
from ndpi.
conntrack -L is empty, err_ct_null has non-zero value and other params have 0 values.
$ conntrack -L
conntrack v1.4.7 (conntrack-tools): 0 flow entries have been shown.
$ sudo grep . /sys/module/xt_ndpi/parameters/err_ct*
/sys/module/xt_ndpi/parameters/err_ct_confirm:0
/sys/module/xt_ndpi/parameters/err_ct_free_magic:0
/sys/module/xt_ndpi/parameters/err_ct_ndpi:0
/sys/module/xt_ndpi/parameters/err_ct_nolabel:0
/sys/module/xt_ndpi/parameters/err_ct_null:282
from ndpi.
Need nf_conntrack running. I don’t know how to do this in “vyos 1.5” kernel “6.6.37-amd64-vyos”.
You may need to add some rule that checks the connection state (iptables -A FORWARD -m conntrack --ctstate INVALID -j DROP)
What does the command lsmod | grep conntrack
show?
from ndpi.
Here is the output of lsmod-
$ lsmod | grep conntrack
nf_conntrack_netlink 61440 0
nf_conntrack 192512 5 nf_nat,nfnetlink_cthelper,nft_ct,nf_conntrack_netlink,xt_ndpi
nf_defrag_ipv6 24576 1 nf_conntrack
nf_defrag_ipv4 12288 1 nf_conntrack
nfnetlink 20480 4 nfnetlink_cthelper,nft_compat,nf_conntrack_netlink,nf_tables
from ndpi.
If "conntrack -L" does not show any connections, nDPI will not work.
from ndpi.
@vel21ripn Thanks for guidance. It was helpful. I figured out that, conntrack was not showing connections because NAT configuration was missing. After configuring SNAT rule as following, it started blocking connections.
set nat source rule 100 outbound-interface name 'eth0'
set nat source rule 100 translation address 'masquerade'
from ndpi.
Related Issues (20)
- unresolved symbol __aarch64_ldadd8_sync on aarch64 HOT 4
- Inconsistent BitTorrent Filtering with nDPI HOT 4
- Handling large host_proto lists HOT 2
- Linux 6.7: build error HOT 6
- Please help filter iptables DNAT traffic
- iptables 1.8.10 causes ksoftirqd 100% CPU HOT 5
- /root/nDPI/ndpi-netfilter/src/../../src/lib/ndpi_main.c:1040:5: error: �for� loop initial declarations are only allowed in C99 or C11 mode
- Error compiling kernel modules under arm32 bit HOT 5
- host_proto wildcard options. HOT 2
- Compile error message HOT 10
- Compile error about /src/lib/ndpi_network_list_compile.h HOT 1
- These are some protocols updated in the new version of ndpi_network_list_compile.h, please update them. HOT 1
- Проходит трафик несоответствующий правилу HOT 21
- The Google Drive traffic isn't caught HOT 3
- Traffic from Google sites not being detected HOT 3
- Вопросы по принципу работы HOT 1
- Падение ядра при синхронизации conntrackd HOT 6
- Some Applications based on QUIC protocol not being detected
- ndpi tlsv1.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ndpi.