Snort mailing list archives

Long over due


From: James Lay <jlay () slave-tothe-box net>
Date: Tue, 18 Oct 2016 10:58:18 -0600

So this is probably long over due for me.  I run into this every time I 
make a new snort box.  At issue is libdnet and libdumbnet.  Here's from 
my notes:

1.  without libdnet installed from https://github.com/dugsong/libdnet, 
but with libdumbnet-dev installed via apt-get

checking dnet.h usability... no
checking dnet.h presence... no
checking for dnet.h... no
checking dumbnet.h usability... yes
checking dumbnet.h presence... yes
checking for dumbnet.h... yes
checking for eth_set in -ldnet... no
checking for eth_set in -ldumbnet... no

    ERROR!  dnet library not found, go get it from
    http://code.google.com/p/libdnet/ or use the --with-dnet-*
    options, if you have it installed in an unusual place


2.  with libdnet installed from https://github.com/dugsong/libdnet 
installed to /opt/libdnet, but without libdumbnet-dev installed via apt 
with the below passed via ./configure

--with-dnet-includes=/opt/libdnet/include or 
--with-dnet-includes=/opt/libdnet/include/dnet

/opt/libdnet/include/dnet.h exists as does /opt/libdnet/include/dnet/

checking dnet.h usability... no
checking dnet.h presence... no
checking for dnet.h... no
checking dumbnet.h usability... no
checking dumbnet.h presence... no
checking for dumbnet.h... no

    ERROR!  dnet header not found, go get it from
    http://code.google.com/p/libdnet/ or use the --with-dnet-*
    options, if you have it installed in an unusual place


3.  Finally, success with libdumbnet-dev installed via apt, libdnet 
installed from https://github.com/dugsong/libdnet to /opt/libdnet and 
passing the exact some config options above

checking dnet.h usability... no
checking dnet.h presence... no
checking for dnet.h... no
checking dumbnet.h usability... yes
checking dumbnet.h presence... yes
checking for dumbnet.h... yes
...

still reports not finding dnet.h, but if I remove my 
--with-dnet-includes=/opt/libdnet/include then I'm back to:

checking dnet.h usability... no
checking dnet.h presence... no
checking for dnet.h... no
checking dumbnet.h usability... yes
checking dumbnet.h presence... yes
checking for dumbnet.h... yes
checking for eth_set in -ldnet... no
checking for eth_set in -ldumbnet... no

    ERROR!  dnet library not found, go get it from
    http://code.google.com/p/libdnet/ or use the --with-dnet-*
    options, if you have it installed in an unusual place

So it really appears that either the config script is wonky and not 
reporting correctly, or there is something else going on.  I've had this 
issue pretty much since I started using snort almost 10 years ago :)  
Thanks for looking.

James

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: