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] compile problem with snort 2.6.1.4 and flexresp2

Subject: Re: [Snort-users] compile problem with snort 2.6.1.4 and flexresp2
Date: Wed, 25 Apr 2007 16:23:59 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I had this problem on my Opteron box. Just curious if you are running  
64-bit. This patch was distributed by Gentoo.

- - --- snort-2.6.1.4-orig/src/decode.h     2007-03-19  
14:31:33.000000000 +0100
+++ snort-2.6.1.4/src/decode.h  2007-04-07 02:32:02.851976653 +0200
@@ -885,6 +885,7 @@
#endif
#endif

+#ifndef DNET_IP6_H
struct ip6_hdr
{
      union
@@ -908,6 +909,7 @@
#define ip6_plen  ip6_ctlun.ip6_un1.ip6_un1_plen
#define ip6_nxt   ip6_ctlun.ip6_un1.ip6_un1_nxt
#define ip6_hlim  ip6_ctlun.ip6_un1.ip6_un1_hlim
+#endif
#define ip6_hops  ip6_ctlun.ip6_un1.ip6_un1_hlim

/* Fragment header */


- ------------------

Darryl Taylor

Fingerprint: AEA7 16DB 2DC3 0C3E 43A9 F1B6 E25A 6A7C 16F2 68B6
Key: http://demo.sourcefire.com/dtaylor.pgp.key









On Apr 25, 2007, at 11:42 AM, Julio E. Gonzalez P. wrote:

I have a compile problem with snort 2.6.1.4 and flexresp2.
This is with CentOS 4.4 (Redhat EL 4.4 clone).

I do:
=============================================
./configure --enable-dynamicplugin --enable-flexresp2
make
============================================

and "make" stops with this error:

gcc -DHAVE_CONFIG_H -I. -I. -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/usr/include/pcre
-DENABLE_RESPONSE2 -I/usr/include  -g -O2 -Wall -DDYNAMIC_PLUGIN -c
sp_respond2.c
In file included from sp_respond2.c:114:
../../src/decode.h:889: error: redefinition of `struct ip6_hdr'
make[3]: *** [sp_respond2.o] Error 1
make[3]: Leaving directory `/root/snort/snort-2.6.1.4/src/detection- 
plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/snort/snort-2.6.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/snort/snort-2.6.1.4'
make: *** [all] Error 2

If I just do "./configure --enable-dynamicplugin", "make", "make
install", all works OK with snort 2.6.1.4.

Flexresp2 compile and works with snort 2.6.1.3, but not with snort
2.6.1.4.  :(

Any ideas?
Thanks.
Julio.


---------------------------------------------------------------------- 
---
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGL7jg4lpqfBbyaLYRAgkZAJsHcfs40uk7QQ70C+yzzTYs424GMQCggDIK
Wb88MVnwfUKgPrT1ykUeP3M=
=j3gE
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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>