Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install ndpi in debian 8 as well as no iptables rules are applied, giving an error such as iptables: No chain/target/match by that name. #77

Open
kv-sachin opened this issue Oct 15, 2019 · 3 comments

Comments

@kv-sachin
Copy link

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.

@joeneh28
Copy link

joeneh28 commented Nov 5, 2019

facing the same problem, if you find the solution pls share it here
thank you

@alamgirqazi
Copy link

did it work ?

@Bit-Warrior-X
Copy link

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.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants