Snort mailing list archives

Re: Compile snort with inline option (libnet 1.0.x is obsolete)


From: Juergen Leising <juergen.leising () gmx de>
Date: Sun, 16 Sep 2007 14:54:13 +0200

On Sat, Sep 15, 2007 at 09:47:30PM -0700, carlopmart wrote:
 I am trying to compile snort 2.7 with inline option without luck 
 on a CentOS 5 server. Problem is libnet 1.0.x library which is an 
obsolete library and out of support like orginal website says: 
http://www.packetfactory.net/libnet/.

 Is not possible to compile inline option using libnet 1.1.x???

Thanks to all.

Hello,

1.0 and 1.1 are indeed incompatible. But you can install both
library versions parallel without interferring with other
programs that depend on version 1.1:

tar -xvzf libnet-1.0.2a.tar.gz
cd Libnet-1.0.2a/
mkdir /usr/local/Libnet-1.0.2a

./configure --prefix=/usr/local/Libnet-1.0.2a
make -s
make test
make -w install


Do NOT add /usr/local/Libnet-1.0.2a to any ld.so.conf file.
Compile snort_inline as follows:

./configure --with-libnet-includes=/usr/local/Libnet-1.0.2a/include 
--with-libnet-libraries=/usr/local/Libnet-1.0.2a/lib --enable-flexresp --enable-inline

or maybe your system requires the following:

CPPFLAGS="-DLIBNET_LIL_ENDIAN" ./configure --with-libnet-includes=/usr/local/Libnet-1.0.2a/include 
--with-libnet-libraries=/usr/local/Libnet-1.0.2a/lib--enable-flexresp --enable-inline

and so on.

Bye, bye,

Juergen



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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: