Giter VIP home page Giter VIP logo

Comments (11)

aabc avatar aabc commented on May 22, 2024

How do you see it?

from ipt-netflow.

vtolstov avatar vtolstov commented on May 22, 2024

modinfo ipt_NETFLOW

from ipt-netflow.

aabc avatar aabc commented on May 22, 2024

This is intended in case you want to use natevents and if your kernel supports it. Module will not enable conntrack on it's own. So if you have nf_conntrack module enabled in your kernel (even though it's evil), but do not want to use it (nor natevents), for example you disabled it via sysctl, it will not be used or enabled by ipt-netflow, so it's safe.

from ipt-netflow.

aabc avatar aabc commented on May 22, 2024

Additionally you can try to edit ipt_NETFLOW.c, add at the beginning of file after #include <linux/module.h> this statement:

#undef CONFIG_NF_NAT_NEEDED

This will disable natevents and dependency with nf_conntrack.

from ipt-netflow.

vtolstov avatar vtolstov commented on May 22, 2024

Thanks i'm try!

from ipt-netflow.

vtolstov avatar vtolstov commented on May 22, 2024

Is that possible to specify CFLAGS = -UCONFIG_NF_NAT_NEEDED in case of dkms build:

PACKAGE_NAME="ipt_NETFLOW"
PACKAGE_VERSION="1.8"
CLEAN="make clean"
MAKE[0]="make ipt_NETFLOW.ko KVERSION=$kernelver KDIR=/lib/modules/$kernelver/build"
BUILT_MODULE_NAME[0]="ipt_NETFLOW"
DEST_MODULE_LOCATION[0]="/updates"
AUTOINSTALL="yes"

from ipt-netflow.

aabc avatar aabc commented on May 22, 2024

Why disable natevents?

Now it's depended on kernel support - end user can enable or disable natevents, conntrack. To compile module (or prepare package) without natevents *for kernel which supports it is reducing of functionality. Let user decide.

from ipt-netflow.

vtolstov avatar vtolstov commented on May 22, 2024

Sorry, i'm not understand. I have default debian wheezy kernel that have conntrack module.
I think that i don't need conntrack in my setup and don't use it (because then i have 10Gbs traffic i have full conntrack table and lost packets). I want to disable dependency of ipt_netflow on nf_conntrack at all and not load nf_conntrack module.

from ipt-netflow.

aabc avatar aabc commented on May 22, 2024

I thought you were preparing package for public distribution and advised to not exclude natevents/conntrack. If it's personal then nevermind.

from ipt-netflow.

vtolstov avatar vtolstov commented on May 22, 2024

Thanks for help!

from ipt-netflow.

aabc avatar aabc commented on May 22, 2024

Btw, added (6e05128) options to configure to ease disabling conntrack altogether.
./configure --disable-conntrack

from ipt-netflow.

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.