Snort mailing list archives

Re: Writing Preprocessor For Snort


From: "Gregory W. MacPherson" <greg () constellationsecurity com>
Date: Wed, 6 Nov 2013 09:40:07 -0800

You obviously are not a frequent computer programmer, since you do not 
recognize a simple compile error generated by Make.

Read the man page (or the O'Reilly book) on Make to understand what Make 
is trying to do.

G

On or about 2013.11.06 09:34:07 -0800, Amtul Saboor (saboor.amtul () gmail com) said:

Hello

I am Information Security student and I am working on Snort. Want to make
my own dynamic preprocessor.

I am facing the following error.

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.


That error has been addressed in this link :

http://seclists.org/snort/2013/q1/161

*But I unable to understand it.*

Please explain what the person meant by the following sentence (i
emailed him but he is not responding):

"
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..."



That will be a great help. If you knw what more I should be doing for
correct installation please guide me about it. I am quite worried about it.


Regards


On Sat, Nov 2, 2013 at 2:13 PM, Amtul Saboor <saboor.amtul () gmail com> wrote:






*Hello*




*I am a computer sciences student and new to Snort. I am trying to create
a preprocessor for snort with following
guidelines:http://sourceforge.net/apps/mediawiki/snort-ai/index.php?title=Snort_Preprocessors_Kickstart
<http://sourceforge.net/apps/mediawiki/snort-ai/index.php?title=Snort_Preprocessors_Kickstart>
*


*But the code gives following errors:*

*Unable to find "plugbase.h" No such file or directory*


*Unable to find "decode.h" No such file or directory *

*One more thing, in which IDE should I compile the code? in linux, is it
okey to compile the code using GCC command? Is it compatible with Snort?
Sorry for my questions but i need to ask them anyways. *





*Has anyone tried this before? Let me know. Any help will be
appreciated.Thanks n regards*




-- 
*Amtul Saboor*
*Business Development Executive *

*Professionals Agency*


*www.p-itsol.com <http://www.p-itsol.com>*

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk

_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

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


-- 
Gregory W. MacPherson, CISSP, Security+, ITIL, Etc.
Founder, IT Security Expert, Global Network Security Exploitation Specialist
http://www.constellationsecurity.com/greg/
wickr: statesman (whitelist mode)

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

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


Current thread: