Snort mailing list archives

libdaq 3.0 nfq and afpacket


From: Y M via Snort-devel <snort-devel () lists snort org>
Date: Sun, 28 Jul 2019 19:50:26 +0000

Hello,

Trying to get nfq and afpacket to build in libdaq 3.0 but not getting anywhere. The nfq not building might be obvious, 
but not so much for afpacket. The dependencies appear to be met:

afpacket:

checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_lib_version in -lpcap... yes
checking linux/if_ether.h usability... yes
checking linux/if_ether.h presence... yes
checking for linux/if_ether.h... yes
checking linux/if_packet.h usability... yes
checking linux/if_packet.h presence... yes
checking for linux/if_packet.h... yes
checking whether PACKET_FANOUT_QM is declared... no
checking whether PACKET_QDISC_BYPASS is declared... no
checking whether TP_STATUS_VLAN_TPID_VALID is declared... yes
checking whether IPPROTO_DIVERT is declared... no

nfq:

checking linux/netfilter.h usability... no
checking linux/netfilter.h presence... yes
configure: WARNING: linux/netfilter.h: present but cannot be compiled
configure: WARNING: linux/netfilter.h:     check for missing prerequisite headers?
configure: WARNING: linux/netfilter.h: see the Autoconf documentation
configure: WARNING: linux/netfilter.h:     section "Present But Cannot Be Compiled"
configure: WARNING: linux/netfilter.h: proceeding with the compiler's result
configure: WARNING:     ## ----------------------------------- ##
configure: WARNING:     ## Report this to [eradicated]@cisco.com ##
configure: WARNING:     ## ----------------------------------- ##
checking for linux/netfilter.h... no
checking linux/netfilter/nfnetlink_queue.h usability... yes
checking linux/netfilter/nfnetlink_queue.h presence... yes
checking for linux/netfilter/nfnetlink_queue.h... yes

and finally end up with:

Build AFPacket DAQ module.. : no
...
Build NFQ DAQ module....... : no

daq was cloned from github and built with ./configure --libdir=/usr/local/lib64 on CentOS 7.6. Not sure were I went 
wrong.

Thank you.
YM
_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: