Snort mailing list archives
flexresp2 breaks 2.8.0.1?
From: Jason Haar <Jason.Haar () trimble co nz>
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
Current thread:
- flexresp2 breaks 2.8.0.1? Jason Haar (Jan 27)
- Re: flexresp2 breaks 2.8.0.1? James Lay (Jan 27)
- FATAL ERROR: Cannot check flow connection for non-TCP traffic Security Admin (NetSec) (Jan 28)
- Message not available
- Re: FATAL ERROR: Cannot check flow connection for non-TCP traffic Nathaniel Richmond (Jan 28)
- Re: FATAL ERROR: Cannot check flow connection for non-TCP traffic JJC (Jan 28)
- Re: flexresp2 breaks 2.8.0.1? James Lay (Jan 27)