You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have fixed this error.
You should install kernel-devel. I just use CentOS 7.9.
Also you should find your kernel version. ll /lib/modules/
Then you can install kernel-devel-version.
In my case kernel version was 3.10.0-1160.el7.x86_64
So used this command: yum install kernel-devel-3.10.0-1160.el7.x86_64
then make and make and make modules_install works correctly.
While compiling ndpi facing and issue -
sudo make modules_install
make -C src modules_install
make[1]: Entering directory '/usr/src/ndpi-netfilter-master/src'
make -C /lib/modules/4.19.67-amd64-vyos/build M=$PWD modules_install;
make[2]: Entering directory '/usr/src/ndpi-netfilter-master/src'
make[2]: *** /lib/modules/4.19.67-amd64-vyos/build: No such file or directory. Stop.
make[2]: Leaving directory '/usr/src/ndpi-netfilter-master/src'
Makefile:171: recipe for target 'modules_install' failed
make[1]: *** [modules_install] Error 2
make[1]: Leaving directory '/usr/src/ndpi-netfilter-master/src'
Makefile:8: recipe for target 'modules_install' failed
make: *** [modules_install] Error 2
And when putting iptable rules it is giving following error -
sudo iptables -A OUTPUT -m ndpi --bittorrent -j DROP
iptables: No chain/target/match by that name.
The text was updated successfully, but these errors were encountered: