Giter VIP home page Giter VIP logo

Comments (3)

houmie avatar houmie commented on July 24, 2024

Hi Vitaly @vel21ripn

Just to add more details. I just tested it once again with Debian 12. It seems that nDPI is incompatible with Iptables v1.8.9.

It complains that No pkg-config --variable=xtlibdir xtables.

admin@server:~/nDPI/ndpi-netfilter$ make
make -C ipt
make[1]: Entering directory '/home/admin/nDPI/ndpi-netfilter/ipt'
Makefile:10: *** No pkg-config --variable=xtlibdir xtables.  Stop.
make[1]: Leaving directory '/home/admin/nDPI/ndpi-netfilter/ipt'
make: *** [Makefile:2: all] Error 2

This works all fine with Debian 11. It should be the same issue with latest Ubuntu, as Ubuntu is based on Debian.
Do you think you could kindly provide a fix for this?

Debian 11 is slowly getting deprecated.
Thank you,
Houman

from ndpi.

houmie avatar houmie commented on July 24, 2024

A bit more details:

Even though xtables is installed, pkg-config can't find it.

admin@server: sudo apt install xtables-addons-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xtables-addons-common is already the newest version (3.23-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

pkg-config --variable=xtlibdir xtables shows nothing.

from ndpi.

houmie avatar houmie commented on July 24, 2024

Great news. It seems on Debian 12 we need to explicitly install:

sudo apt install libxtables-dev

Now it works. Yeeees!

There is only a small warning, not sure if this matters much:
Warning: modules_install: missing 'System.map' file. Skipping depmod.

admin@server:~/nDPI/ndpi-netfilter$ sudo make modules_install
make -C src modules_install
make[1]: Entering directory '/home/admin/nDPI/ndpi-netfilter/src'
make -C /lib/modules/6.1.0-12-amd64/build M=$PWD modules_install;
make[2]: Entering directory '/usr/src/linux-headers-6.1.0-12-amd64'
  INSTALL /lib/modules/6.1.0-12-amd64/extra/xt_ndpi.ko
  DEPMOD  /lib/modules/6.1.0-12-amd64
Warning: modules_install: missing 'System.map' file. Skipping depmod.
make[2]: Leaving directory '/usr/src/linux-headers-6.1.0-12-amd64'
if [ "" != "true" ]; then depmod -a; fi
make[1]: Leaving directory '/home/admin/nDPI/ndpi-netfilter/src'

from ndpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.