Snort mailing list archives

Re: Trying to build daq with nfq support


From: Russ Combs <rcombs () sourcefire com>
Date: Thu, 31 Mar 2011 12:52:17 -0400

oops, forgot the -I ...

On Thu, Mar 31, 2011 at 12:51 PM, Russ Combs <rcombs () sourcefire com> wrote:

Try this:

export
CPPFLAGS="-I/data/soft/libnetfilter_queue/include/libnetfilter_queue"
./configure ...


On Thu, Mar 31, 2011 at 12:43 PM, carlopmart <carlopmart () gmail com> wrote:

On 03/31/2011 06:41 PM, Michael Altizer wrote:
On 03/31/2011 12:14 PM, carlopmart wrote:
Hi all,

I am trying to install daq 0.5 with nfq support without luck. I have
installed libnetfilter_queue includes and librares on
/data/soft/libnetfilter_queue directory and libnfnetlink includes and
libraries on /data/soft/libnfnetlink.

I have set LD_LIBRARY_PATH to

LD_LIBRARY_PATH=/data/soft/libnfnetlink/lib:/data/soft/libnetfilter_queue/lib


And "ldconfig -v |grep net" shows:

/data/soft/libnetfilter_queue/lib:
libnetfilter_queue.so.1 -> libnetfilter_queue.so.1.1.0
/data/soft/libnfnetlink/lib:
libnfnetlink.so.0 -> libnfnetlink.so.0.2.0
libnet.so.1 -> libnet.so.1.6.0
libdnet.so.1 -> libdnet.so.1.0.1

When I launch configure, I see this:

checking for pcap.h... yes
checking dnet.h usability... yes
checking dnet.h presence... yes
checking for dnet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking libnetfilter_queue/libnetfilter_queue.h usability... no
checking libnetfilter_queue/libnetfilter_queue.h presence... no
checking for libnetfilter_queue/libnetfilter_queue.h... no
checking for linux/netfilter.h... yes
checking for pcap.h... (cached) yes
checking for pcap_lib_version... checking for pcap_lib_version in
-lpcap... yes
checking for libpcap version>= "1.0.0"... yes

As a result:

Build AFPacket DAQ module.. : yes
Build Dump DAQ module...... : yes
Build IPFW DAQ module...... : yes
Build IPQ DAQ module....... : yes
Build NFQ DAQ module....... : no
Build PCAP DAQ module...... : yes

What am I doing wrong??

It looks like the NFQ headers are not in your default include path and
you did not provide an alternative one.

Yes, there are here:

total 16
drwxr-xr-x 2 root root 4096 Mar 31 17:41 .
drwxr-xr-x 3 root root 4096 Mar 31 17:41 ..
-rw-r--r-- 1 root root 3666 Mar 31 17:41 libnetfilter_queue.h
-rw-r--r-- 1 root root 2266 Mar 31 17:41 linux_nfnetlink_queue.h
[root@lorinand libnetfilter_queue]# pwd
/data/soft/libnetfilter_queue/include/libnetfilter_queue



--
CL Martinez
carlopmart {at} gmail {d0t} com


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users



------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Current thread: