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

NFQ libraries not enabled on Ubuntu #3

Closed
NDietrich opened this issue Aug 6, 2019 · 2 comments
Closed

NFQ libraries not enabled on Ubuntu #3

NDietrich opened this issue Aug 6, 2019 · 2 comments

Comments

@NDietrich
Copy link

Installing libdaq 3.0.0 (from git clone of the head) on ubuntu 18, configure sees the netfilter libraries, but does not enable the NFQ DAQ. Required libraries are installed via ubuntu package repo:

sudo apt-get install -y libnetfilter-queue-dev

( i beleive this is v 1.0.2, where the latest release is 1.0.3, but not in the repos yet)

./configure seems to see the necessary libraries

checking linux/netfilter.h usability... yes
checking linux/netfilter.h presence... yes
checking for linux/netfilter.h... yes
checking linux/netfilter/nfnetlink_queue.h usability... yes
checking linux/netfilter/nfnetlink_queue.h presence... yes
checking for linux/netfilter/nfnetlink_queue.h... yes

but isn't enabled:

    Build AFPacket DAQ module.. : yes
    Build BPF DAQ module....... : yes
    Build Divert DAQ module.... : no
    Build Dump DAQ module...... : yes
    Build FST DAQ module....... : yes
    Build NFQ DAQ module....... : no   <<<<<<<<<<<<<<<<<<<<<<<<
    Build PCAP DAQ module...... : yes
    Build netmap DAQ module.... : no
    Build Trace DAQ module..... : yes

NFQ has worked no problem with DAQ 2.2.2.

@Xiche
Copy link
Contributor

Xiche commented Aug 6, 2019

Did you check the README for the NFQ module in DAQ 3? I rewrote it using libmnl, so that is listed as a dependency there. You don't show your full configure output, but I'm guessing you'll see it fail to find the libmnl headers.

@NDietrich
Copy link
Author

that did it, thank you for your help. the Ubuntu libmnl-dev library was what was needed in addition to libnetfilter-queue-dev.

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

2 participants