Snort mailing list archives
Re: Snort SO Compiler
From: Patrick Mullen <pmullen () sourcefire com>
Date: Tue, 17 Nov 2015 20:56:09 -0600
No, you can build the SOs anywhere, just make sure you fix the paths within the makefile. After building, copy the SO files to that path you mentioned (what is specified in snort.conf) and copy the .rules files that are created during the build into the SO rules directory specified at the top of snort conf. Thanks, Patrick On Nov 17, 2015 2:30 PM, "Rob Weiss" <rob.weiss () g2-inc com> wrote:
AH!!!! The light comes on!! So place my C files in the "snort/src/dynamic-examples/dynamic-rule" dir, run make, then copy the resultant SOs...?? On Tue, Nov 17, 2015 at 2:22 PM, Patrick Mullen <pmullen () sourcefire com> wrote:Shared Object rules have their own makefile. Build snort and save the resultant directory tree. Update the SO Makefile to point to that directory and set the proper version and make should work fine. The build process will automatically dump the stub rules files in the same directory as your build. Those are the files to copy to be loaded by snort somewhere and the shared object files need to be placed in the directory specified in your snort.conf. Thanks, Patrick We are looking at how to compile the rules into SOs to distribute them to our snort instances. The docs are hard to follow and it seems like whatever process that is available is not working for us at the moment. Is there a concise guide? Does snort, itself, dump the rules into SOs? Or does it only dump the SOs that were initially loaded into snort? Hope this is not too confusing. Thanks, Rob. ------------------------------------------------------------------------------ _______________________________________________ Snort-sigs mailing list Snort-sigs () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-sigs http://www.snort.org Please visit http://blog.snort.org for the latest news about Snort!
------------------------------------------------------------------------------
_______________________________________________ Snort-sigs mailing list Snort-sigs () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-sigs http://www.snort.org Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Snort SO Compiler Rob Weiss (Nov 17)
- Re: Snort SO Compiler wkitty42 (Nov 17)
- Re: Snort SO Compiler Y M (Nov 17)
- Re: Snort SO Compiler Patrick Mullen (Nov 17)
- Re: Snort SO Compiler Rob Weiss (Nov 17)
- Re: Snort SO Compiler Patrick Mullen (Nov 17)
- Re: Snort SO Compiler Y M (Nov 17)
- Re: Snort SO Compiler Joel Esler (jesler) (Nov 17)
- Re: Snort SO Compiler Rob Weiss (Nov 17)
- Re: Snort SO Compiler Patrick Mullen (Nov 17)
- Re: Snort SO Compiler Patrick Mullen (Nov 17)
- Re: Snort SO Compiler Rob Weiss (Nov 17)
- Re: Snort SO Compiler wkitty42 (Nov 17)