All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed W <lists@wildgooses.com>
To: Eliezer Croitoru <eliezer@ngtech.co.il>
Cc: netfilter@vger.kernel.org
Subject: Re: New/Updated L7 netfilter  option - nDPI
Date: Sun, 28 Oct 2012 16:57:57 +0000	[thread overview]
Message-ID: <508D6415.5020708@wildgooses.com> (raw)
In-Reply-To: <508D62AA.8070304@ngtech.co.il>

On 28/10/2012 16:51, Eliezer Croitoru wrote:
> On 10/28/2012 6:03 PM, Ed W wrote:
>> Test??  What does that word mean? :-)
>>
>>
>> I think the error means that you don't have libxt_ndpi.so in a location
>> that your iptables expects to find it?  Often it's /usr/lib/xtables or
>> /lib/xtables.  Check where other things are and place the file
>> appropriately
>>
>> Does that fix it?
> /usr/lib it is, /lib/ .. dosnt work for me.
>
> also notice that the "MODULES_DIR" and "KERNEL_DIR" are needed for my 
> system.
> If and only if you have an idea how to make the Makefile recognize the 
> proper "lib" directory and install the module it will be much more 
> helpful to others.

I compile for a non-installed (cross compiled) kernel with:

     NDPI_PATH=/usr/src/nDPI KERNEL_DIR=/usr/src/linux make

If you need MODULES_DIR (not sure why?) then I guess just add that

You can install the kernel module easily enough, either by adding 
"modules_install" to the end of the above (lib location should be picked 
up automatically) or manually with something as simple as:

     mkdir /lib/modules/your_kernel/extra
     cp src/xt_ndpi.ko /lib/modules/your_kernel/extra
     depmod -a

Incidentally, not sure why use that /extra directory?  Anyone got a 
better suggestion on location?

Obviously *also* install the netfilter module (ipt/libxt_ndpi.so) into 
your netfilter modules location

Does that get you going?

Ed W

  reply	other threads:[~2012-10-28 16:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-24 22:53 New/Updated L7 netfilter option - nDPI Ed W
2012-10-28  8:20 ` Andrew Beverley
2012-10-28 14:57   ` Eliezer Croitoru
2012-11-01 22:03     ` Andrew Beverley
2012-11-01 22:56       ` Ed W
2012-11-02 12:38         ` Lutfi ODUNCUOGLU
2012-11-02 13:40           ` Ed W
2012-11-06 14:13           ` [Ntop-dev] " Eliezer Croitoru
2012-11-04 15:45         ` Andrew Beverley
2012-10-28 16:34   ` Ed W
2012-10-28 16:39     ` Eliezer Croitoru
2012-10-28 15:07 ` Eliezer Croitoru
2012-10-28 16:03   ` Ed W
2012-10-28 16:51     ` Eliezer Croitoru
2012-10-28 16:57       ` Ed W [this message]
2012-10-28 17:57         ` Eliezer Croitoru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=508D6415.5020708@wildgooses.com \
    --to=lists@wildgooses.com \
    --cc=eliezer@ngtech.co.il \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.