[Snort-devel] Snort Pre-processor + DPX Installation Issue

waseem sarwar waseemsarwar103 at ...445...
Sun Jul 1 14:44:40 EDT 2012


Thanks Russ. Sorry I was on vacation and cannot test the suggested changes. I will test them and will let you know with issues if any. 
Thanks,Waseem

Date: Mon, 25 Jun 2012 13:32:23 -0400
Subject: Re: [Snort-devel] Snort Pre-processor + DPX Installation Issue
From: rcombs at ...402...
To: waseemsarwar103 at ...445...
CC: snort-devel at lists.sourceforge.net

Something is broken in your libtool file.  Try starting over again.  Explode the tarball in a new directory and edit build.sh to comment out the auto foo therein.  The commented code should look like this:

...
export PKG_CONFIG_PATH=$SNORT


#libtoolize --automake --copy
#aclocal -I m4
#autoheader
#automake --add-missing --copy
#autoconf

./configure --with-dpx-includes=$SNORT/src/dynamic-examples/include --prefix=`pwd`
...

Then follow the steps in the README.  If you get the same problem, send me your libtool file (from the top level dpx directory).


If you get a compile error with the latest version of Snort, you need to #include "sf_types.h" to src/dpx.c before the line including snort_debug.h.

On Sat, Jun 23, 2012 at 2:30 AM, waseem sarwar <waseemsarwar103 at ...445...> wrote:





Thanks Russ. Find the attached config.log. 
--Waseem


Date: Fri, 22 Jun 2012 17:45:13 -0400
Subject: Re: [Snort-devel] Snort Pre-processor + DPX Installation Issue
From: rcombs at ...402...

To: waseemsarwar103 at ...445...
CC: snort-devel at lists.sourceforge.net


Please send your config.log.

Thanks
Russ

On Mon, Jun 18, 2012 at 8:43 AM, waseem sarwar <waseemsarwar103 at ...445...> wrote:






Hi, 
I am new to snort development. 
I have planned to write my own pre-processor. Can you please help me with the following, 
1. Step by step guide to writing own pre-processor. 


2. I tried to build the dpx and followed the steps at http://www.snort.org/snort-downloads/dynamic-preprocessor-starter-kit/ but I am stuck with the following errors, 


waseem at ...3294...:~/dpx-1.4$ sudo ./build.sh
< Skimmed Output >
make[2]: Entering directory `/home/waseem/dpx-1.4/src'/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -I/home/waseem/snort-2.9.1/src/dynamic-examples/include  -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DZLIB -DGRE -DMPLS -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DENABLE_MYSQL -DENABLE_PAF -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR -DSUP_IP6 -DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -I/usr/include/mysql   -fvisibility=hidden -c -o dpx.lo dpx.c

../libtool: line 2076: dpx.c: command not foundlibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I/home/waseem/snort-2.9.1/src/dynamic-examples/include -g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN -DZLIB -DGRE -DMPLS -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR -DENABLE_MYSQL -DENABLE_PAF -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR -DSUP_IP6 -DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include -I/usr/include/mysql -fvisibility=hidden -c ""  -fPIC -DPIC -o .libs/dpx.o

gcc: : No such file or directorygcc: no input filesmake[2]: *** [dpx.lo] Error 1make[2]: Leaving directory `/home/waseem/dpx-1.4/src'make[1]: *** [install] Error 2

make[1]: Leaving directory `/home/waseem/dpx-1.4/src'make: *** [install-recursive] Error 1waseem at ...3294...:~/dpx-1.4$
It is somehow unable to create the dpx.o. I have changed the access permissions to 777 of .libs/ and /src but it doesn't help. 


Kindly help me with this issue. 
Thanks,Waseem 		 	   		  

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

Live Security Virtual Conference

Exclusive live event will cover all the ways today's security and

threat landscape has changed and how IT managers can respond. Discussions

will include endpoint security, mobile security and the latest in malware

threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________

Snort-devel mailing list

Snort-devel at lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/snort-devel



Please visit http://blog.snort.org for the latest news about Snort!

 		 	   		  

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20120701/b23cee12/attachment.html>


More information about the Snort-devel mailing list