betolj / ndpi-netfilter

GNU General Public License v2.0
126 stars 72 forks source link

kernel Module install SSL error #38

Open mmanoj opened 8 years ago

mmanoj commented 8 years ago

Hi,

I'm getting below error while module install My linux version is : Linux infini 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Error details:

/opt/ndpi-netfilter/ndpi-netfilter# make modules_install make -C src modules_install make[1]: Entering directory '/opt/ndpi-netfilter/ndpi-netfilter/src' make -C /lib/modules/4.4.0-38-generic/build M=$PWD modules_install; make[2]: Entering directory '/usr/src/linux-headers-4.4.0-38-generic' INSTALL /opt/ndpi-netfilter/ndpi-netfilter/src/xt_ndpi.ko At main.c:222:

betolj commented 8 years ago

Hi, It isn't a critical error, you can ignore. This "error" occurs because the kernel linux is auto-signing your modules.

make -C src modules_install make[1]: Entering directory '/usr/src/ndpi-netfilter-dev/src' make -C /lib/modules/4.4.0-38-generic/build M=$PWD modules_install; make[2]: Entering directory '/usr/src/linux-headers-4.4.0-38-generic' INSTALL /usr/src/ndpi-netfilter-dev/src/xt_ndpi.ko At main.c:222:

updatedb

locate xt_ndpi | grep modules /lib/modules/4.4.0-24-generic/extra/xt_ndpi.ko /lib/modules/4.4.0-28-generic/extra/xt_ndpi.ko

mmanoj commented 8 years ago

Hi Humberto,

Thank you for the quick support and advice.

Thank you,

Manoj M

On Tue, 10/11/16, Humberto Jucá notifications@github.com wrote:

Subject: Re: [betolj/ndpi-netfilter] kernel Module install SSL error (#38) To: "betolj/ndpi-netfilter" ndpi-netfilter@noreply.github.com Cc: "mmanoj" manoj_ws@yahoo.com, "Author" author@noreply.github.com Date: Tuesday, October 11, 2016, 10:43 PM

Hi,

It isn't a critical error, you can ignore.

This "error" occurs because the kernel linux is self-signing your modules.

make -C src modules_install

make[1]: Entering directory '/usr/src/ndpi-netfilter-dev/src'

make -C /lib/modules/4.4.0-38-generic/build M=$PWD modules_install;

make[2]: Entering directory '/usr/src/linux-headers-4.4.0-38-generic'

INSTALL /usr/src/ndpi-netfilter-dev/src/xt_ndpi.ko

At main.c:222:

SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175 SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178 sign-file: certs/signing_key.pem: No such file or directory DEPMOD 4.4.0-38-generic make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-38-generic' depmod -a; make[1]: Leaving directory '/usr/src/ndpi-netfilter-dev/src'

updatedb

locate xt_ndpi | grep modules

/lib/modules/4.4.0-24-generic/extra/xt_ndpi.ko

/lib/modules/4.4.0-28-generic/extra/xt_ndpi.ko

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

DemonRx commented 6 years ago

For others that come across this issue, to resolve follow the steps here:

https://wiki.gentoo.org/wiki/Signed_kernel_module_support