[Snort-users] DPX starter kit installation

Alex Adamos alexthakidadam at ...125...
Tue Jan 22 11:30:45 EST 2013


thanks a lot Hui, sincerely!!! It works now!
Alex.

> Date: Tue, 22 Jan 2013 10:51:59 -0500
> Subject: Re: [Snort-users] DPX starter kit installation
> From: hcao at ...1935...
> To: alexthakidadam at ...125...
> CC: snort-users at lists.sourceforge.net
> 
> Only use --enable-build-dynamic-examples will work also. Also,
> remember to "make" after "./configure --enable-build-dynamic-examples"
> 
> Best,
> Hui.
> 
> On Tue, Jan 22, 2013 at 10:50 AM, Alex Adamos
> <alexthakidadam at ...125...> wrote:
> > Thanks a lot Hui !!! hope it helps!! should the configure be ./configure
> > --enable-sourcefire --enable-buil-dynamic-examples --enable-debug
> > --enable-debug-msgs ??? or without the --enable-sourcefire???
> >
> >> Date: Tue, 22 Jan 2013 10:46:37 -0500
> >
> >> Subject: Re: [Snort-users] DPX starter kit installation
> >> From: hcao at ...1935...
> >> To: alexthakidadam at ...125...
> >> CC: snort-users at lists.sourceforge.net
> >
> >>
> >> Hi Alex,
> >>
> >> All those header files should not be /user/local/includes directory.
> >> To fix the issue, please do the following.
> >>
> >> 1) In the first step (configur snort), please use the command:
> >> ./configure --enable-build-dynamic-examples
> >>
> >> 2) For snort 2.9.4, add the following line to dpx.c file:
> >>
> >> put #include "sf_types.h" before #include "snort_debug.h"
> >>
> >> Thanks,
> >> Hui.
> >>
> >> On Tue, Jan 22, 2013 at 7:21 AM, Alex Adamos <alexthakidadam at ...125...>
> >> wrote:
> >> > Sorry for the previous message!!!
> >> >
> >> > Well, changed the directory in build.sh to the one containing the
> >> > required
> >> > .c files----fixed the previous erro.
> >> > Then a libtool error occured, searched and found an answer by
> >> > Russ---fixed...
> >> > After that, the header files like snort_debug.h, were not in the
> >> > specified
> >> > directory by configure (that was /usr/local/include). Moved them in
> >> > there,
> >> > tried to build and what i got now is
> >> >
> >> > "Making clean in test
> >> > make[1]: Entering directory `/home/alex/Desktop/dpx-1.4/test'
> >> > rm -rf .libs _libs
> >> > rm -f *.lo
> >> > make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4/test'
> >> > Making clean in src
> >> > make[1]: Entering directory `/home/alex/Desktop/dpx-1.4/src'
> >> > test -z "libdpx.la" || rm -f libdpx.la
> >> > rm -f "./so_locations"
> >> > rm -rf .libs _libs
> >> > rm -f sf_dynamic_preproc_lib.c sfPolicyUserData.c
> >> > rm -f *.o
> >> > rm -f *.lo
> >> > make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4/src'
> >> > Making clean in .
> >> > make[1]: Entering directory `/home/alex/Desktop/dpx-1.4'
> >> > rm -rf .libs _libs
> >> > rm -f *.lo
> >> > make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4'
> >> > make all-recursive
> >> > make[1]: Entering directory `/home/alex/Desktop/dpx-1.4'
> >> > Making all in src
> >> > make[2]: Entering directory `/home/alex/Desktop/dpx-1.4/src'
> >> > cp
> >> >
> >> > /home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example/sf_dynamic_preproc_lib.c
> >> > sf_dynamic_preproc_lib.c
> >> > cp
> >> >
> >> > /home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example/sfPolicyUserData.c
> >> > sfPolicyUserData.c
> >> > make all-am
> >> > make[3]: Entering directory `/home/alex/Desktop/dpx-1.4/src'
> >> > /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> >> > -I..
> >> > -I/home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example
> >> > -g
> >> > -O0 -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN
> >> > -DDEBUG
> >> > -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS
> >> > -DPPM_MGR -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include
> >> > -fvisibility=hidden -c -o dpx.lo dpx.c
> >> > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I..
> >> > -I/home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example
> >> > -g
> >> > -O0 -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN
> >> > -DDEBUG
> >> > -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS
> >> > -DPPM_MGR -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include
> >> > -fvisibility=hidden -c dpx.c -fPIC -DPIC -o .libs/dpx.o
> >> > In file included from /usr/local/include/sf_dynamic_preprocessor.h:61:0,
> >> > from dpx.c:38:
> >> > /usr/local/include/stream_api.h:602:5: error: expected
> >> > specifier-qualifier-list before 'bool'
> >> > In file included from dpx.c:38:0:
> >> > /usr/local/include/sf_dynamic_preprocessor.h:160:15: error: expected
> >> > declaration specifiers or '...' before '*' token
> >> > /usr/local/include/sf_dynamic_preprocessor.h:303:5: error: unknown type
> >> > name
> >> > 'PafEnabledFunc'
> >> > make[3]: *** [dpx.lo] Error 1
> >> > make[3]: Leaving directory `/home/alex/Desktop/dpx-1.4/src'
> >> > make[2]: *** [all] Error 2
> >> > make[2]: Leaving directory `/home/alex/Desktop/dpx-1.4/src'
> >> > make[1]: *** [all-recursive] Error 1
> >> > make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4'
> >> > make: *** [all] Error 2
> >> > Making install in src
> >> > make[1]: Entering directory `/home/alex/Desktop/dpx-1.4/src'
> >> > make install-am
> >> > make[2]: Entering directory `/home/alex/Desktop/dpx-1.4/src'
> >> > /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> >> > -I..
> >> > -I/home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example
> >> > -g
> >> > -O0 -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN
> >> > -DDEBUG
> >> > -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS
> >> > -DPPM_MGR -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include
> >> > -fvisibility=hidden -c -o dpx.lo dpx.c
> >> > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I..
> >> > -I/home/alex/Desktop/snort-2.9.0/src/dynamic-plugins/sf_preproc_example
> >> > -g
> >> > -O0 -fvisibility=hidden -fno-strict-aliasing -Wall -DDYNAMIC_PLUGIN
> >> > -DDEBUG
> >> > -DSOURCEFIRE -DPERF_PROFILING -DPREPROCESSOR_AND_DECODER_RULE_EVENTS
> >> > -DPPM_MGR -DNORMALIZER -DACTIVE_RESPONSE -I/usr/local/include
> >> > -fvisibility=hidden -c dpx.c -fPIC -DPIC -o .libs/dpx.o
> >> > In file included from /usr/local/include/sf_dynamic_preprocessor.h:61:0,
> >> > from dpx.c:38:
> >> > /usr/local/include/stream_api.h:602:5: error: expected
> >> > specifier-qualifier-list before 'bool'
> >> > In file included from dpx.c:38:0:
> >> > /usr/local/include/sf_dynamic_preprocessor.h:160:15: error: expected
> >> > declaration specifiers or '...' before '*' token
> >> > /usr/local/include/sf_dynamic_preprocessor.h:303:5: error: unknown type
> >> > name
> >> > 'PafEnabledFunc'
> >> > make[2]: *** [dpx.lo] Error 1
> >> > make[2]: Leaving directory `/home/alex/Desktop/dpx-1.4/src'
> >> > make[1]: *** [install] Error 2
> >> > make[1]: Leaving directory `/home/alex/Desktop/dpx-1.4/src'
> >> > make: *** [install-recursive] Error 1
> >> > "
> >> > Alex.
> >> >
> >> >
> >> > ________________________________
> >> > From: alexthakidadam at ...125...
> >> > To: snort-users at lists.sourceforge.net
> >> > Date: Tue, 22 Jan 2013 11:25:21 +0200
> >> > Subject: Re: [Snort-users] DPX starter kit installation
> >> >
> >> >
> >> > Hi again, tried it with snort-2.9.0 as mentioned in README but same
> >> > error...
> >> > Please help
> >> >
> >> > ________________________________
> >> > From: alexthakidadam at ...125...
> >> > To: snort-users at lists.sourceforge.net
> >> > Subject: DPX starter kit installation
> >> > Date: Mon, 21 Jan 2013 14:44:06 +0200
> >> >
> >> > Hello,
> >> >
> >> > I'm trying to install and test the dpx starter kit but i get this error
> >> > when
> >> > after "./build.sh":
> >> >
> >> > make[2]: *** No rule to make target
> >> >
> >> > `/usr/local/snort/src/dynamic-examples/include/sf_dynamic_preproc_lib.c',
> >> > needed by `sf_dynamic_preproc_lib.c'. Stop.
> >> >
> >> > In my snort installation, this file is in
> >> > /usr/local/snort/src/snort_dynamicsrc. I use 2.9.4 version, i suppose
> >> > that
> >> > the dpx is compatible with this version, isn't it?
> >> >
> >> > Alex.
> >> >
> >> >
> >> > ------------------------------------------------------------------------------
> >> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> >> > MVC,
> >> > Windows 8 Apps, JavaScript and much more. Keep your skills current with
> >> > LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and
> >> > experts. ON SALE this month only -- learn more at:
> >> > http://p.sf.net/sfu/learnnow-d2d
> >> > _______________________________________________ Snort-users mailing list
> >> > Snort-users at 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users
> >> > Please
> >> > visit http://blog.snort.org to stay current on all the latest Snort
> >> > news!
> >> >
> >> >
> >> > ------------------------------------------------------------------------------
> >> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> >> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> >> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> >> > MVPs and experts. ON SALE this month only -- learn more at:
> >> > http://p.sf.net/sfu/learnnow-d2d
> >> > _______________________________________________
> >> > Snort-users mailing list
> >> > Snort-users at 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users
> >> >
> >> > Please visit http://blog.snort.org to stay current on all the latest
> >> > Snort
> >> > news!
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20130122/1bd67378/attachment.html>


More information about the Snort-users mailing list