Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Users
[Top] [All Lists]

Re: [Snort-users] Libnet v1.1 vs libnet v1.0.2a

Subject: Re: [Snort-users] Libnet v1.1 vs libnet v1.0.2a
Date: Tue, 22 Nov 2005 22:40:04 +0100
Hi Tudor,

Is it any way around the limitation for libnet v1.0.2a in building snort v
2.4.3 with flexresp ? The reason I am asking is that I am running in a
strange situation when I need syslog-ng with spoof capabilities which
requires libnet >= v1.1 but, on the same machine, snort requires libnet
v1.0.2a.

the problem is that the API of libnet changed completely between 1.0.2
ans 1.1 (and even with the 1.1-series are some incompatibilities).

But you can use both libraries separately, simple let the CPPFLAGS
point to the old 1.0.2a headers like

CPPFLAGS=-I/usr/local/libnet-1.0.2a/include ./configure ...

This should work well until the "make call" tries to link snort.
Simply copy this line and replace -lnet with the complete path
to libnet.a and link it statically. (You can also use dynamic
linking but then you have to compile int the library search path
to avoid linking against the newer library. This is a little bit
more complicated and will not have any advantages at all...)

Best regards

Dirk



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>