Snort mailing list archives

Re: libdaq 3.0 nfq and afpacket


From: "Russ Combs \(rucombs\) via Snort-devel" <snort-devel () lists snort org>
Date: Mon, 29 Jul 2019 15:00:08 +0000

At the moment, we aren’t supporting CentOS.  You should have success with a more modern toolchain such as available 
with Fedora.

Russ

From: Snort-devel <snort-devel-bounces () lists snort org<mailto:snort-devel-bounces () lists snort org>> on behalf of 
Y M via Snort-devel <snort-devel () lists snort org<mailto:snort-devel () lists snort org>>
Reply-To: Y M <snort () outlook com<mailto:snort () outlook com>>
Date: Monday, July 29, 2019 at 1:20 AM
To: "snort-devel () lists snort org<mailto:snort-devel () lists snort org>" <snort-devel () lists snort 
org<mailto:snort-devel () lists snort org>>
Subject: [Snort-devel] libdaq 3.0 nfq and afpacket

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: