Snort mailing list archives

Re: Trying to build daq with nfq support


From: carlopmart <carlopmart () gmail com>
Date: Thu, 31 Mar 2011 18:39:56 +0200

Headers are installed:

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

and libs here:

total 84
drwxr-xr-x 3 root root  4096 Mar 31 17:41 .
drwxr-xr-x 4 root root  4096 Mar 31 17:41 ..
-rw-r--r-- 1 root root 34704 Mar 31 17:41 libnetfilter_queue.a
-rwxr-xr-x 1 root root  1076 Mar 31 17:41 libnetfilter_queue.la
lrwxrwxrwx 1 root root    27 Mar 31 17:41 libnetfilter_queue.so -> 
libnetfilter_queue.so.1.1.0
lrwxrwxrwx 1 root root    27 Mar 31 17:41 libnetfilter_queue.so.1 -> 
libnetfilter_queue.so.1.1.0
-rwxr-xr-x 1 root root 31927 Mar 31 17:41 libnetfilter_queue.so.1.1.0
drwxr-xr-x 2 root root  4096 Mar 31 17:41 pkgconfig
[root@lorinand lib]# pwd
/data/soft/libnetfilter_queue/lib



On 03/31/2011 06:37 PM, Russ Combs wrote:
Looks like you have the libs but need the headers.

On Thu, Mar 31, 2011 at 12:14 PM, carlopmart <carlopmart () gmail com
<mailto:carlopmart () gmail com>> 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??

    --
    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
    <mailto: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




-- 
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


Current thread: