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]

[Snort-users] flexresp2 breaks 2.8.0.1?

Subject: [Snort-users] flexresp2 breaks 2.8.0.1?
Date: Mon, 28 Jan 2008 14:45:04 +1300
Hi there

I'm just trying to compile snort-2.8.0.1 under CentOS4.6 with flexresp2 
enabled, and it won't play nicely, I get:

gcc -DHAVE_CONFIG_H -I. -I../../../src/detection-plugins -I../.. 
-I../../.. -I../../../src -I../../../src/sfutil -I/usr/include/pcap 
-I../../../src/output-plugins -I../../../src/detection-plugins 
-I../../../src/dynamic-plugins -I../../../src/preprocessors 
-I../../../src/preprocessors/flow -I../../../src/preprocessors/portscan  
-I../../../src/preprocessors/flow/int-snort  
-I../../../src/preprocessors/HttpInspect/include 
-I../../../src/preprocessors/Stream5 -I../../../src/target-based  
-DENABLE_RESPONSE2 -I/usr/include -g -O2 -g -O2 -Wall -DDYNAMIC_PLUGIN 
-c ../../../src/detection-plugins/sp_respond2.c
In file included from ../../../src/decode.h:49,
                 from ../../../src/detection-plugins/sp_respond2.c:99:
../../../src/ipv6_port.h:71: error: conflicting types for 'ip_t'
/usr/include/dnet/ip.h:411: error: previous declaration of 'ip_t' was here
In file included from ../../../src/detection-plugins/sp_respond2.c:99:
../../../src/decode.h:948:1: warning: "IP_PROTO_HOPOPTS" redefined
In file included from /usr/include/dnet.h:15,
                 from ../../../src/detection-plugins/sp_respond2.c:97:
/usr/include/dnet/ip.h:97:1: warning: this is the location of the 
previous definition
../../../src/detection-plugins/sp_respond2.c: In function `Respond2Init':
../../../src/detection-plugins/sp_respond2.c:260: warning: assignment 
from incompatible pointer type


I've tried this with the default libdnet-1.11 that comes with CentOS4.6, 
and with 1.12 compiled from scratch. Simply put:

../../../src/ipv6_port.h has " typedef u_int32_t ip_t;"

and /usr/include/dnet/ip.h has "typedef struct ip_handle ip_t;"

Any ideas what's at fault there? I also assume there'll be more 
definitions at fault than just that one.

Thanks!

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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

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