Snort mailing list archives
Re: snort as dynamic library
From: Michael Prujan via Snort-users <snort-users () lists snort org>
Date: Thu, 10 Oct 2019 08:34:45 +0300
On Wed, Oct 9, 2019 at 11:03 PM Michael Prujan <michael.prujan () gmail com> wrote:
Hi Russ, I want to use snort for production(*2.9.14.*.) and not version 3.0(beta). I have the application that reading the traffic , based on dpdk. the application is multithreaded. Every thread is running on different core. every thread completes the same job:reading packet, parsing and call utilities for packet inspection. Now i want to add utility based on snort. In that case snort utility can use other functionality of thread. So i need to compile my executable with snort as a library(shared or static). And use snort api for packet processing. As i understood from your previous email, it's impossible to compile snort as a library. Do you have any plan for the future ? Thanks, michael. On Mon, Oct 7, 2019 at 6:18 PM Russ Combs (rucombs) <rucombs () cisco com> wrote:Hi Michael, Snort isn’t designed to support that yet, but please outline your goal in an email to snort-devel and we can kick it around. Thanks Russ *From: *Snort-users <snort-users-bounces () lists snort org> on behalf of Michael Prujan via Snort-users <snort-users () lists snort org> *Reply-To: *Michael Prujan <michael.prujan () gmail com> *Date: *Monday, October 7, 2019 at 2:03 AM *To: *Dorian ROSSE <dorianbrice () hotmail fr> *Cc: *"snort-users () lists snort org" <snort-users () lists snort org> *Subject: *Re: [Snort-users] snort as dynamic library Hi Dorian, Thanks for reply. To clarify my question: How can i compile snort as library and not as executable. I want to run snort in context of other process. Is it possible ? What the changes should i done ? Thanks again, Michael. On Thu, Oct 3, 2019 at 5:48 PM Dorian ROSSE <dorianbrice () hotmail fr> wrote: For run snort all the time (seems be one of yours ask) you should set up as a daemon: http://manual-snort-org.s3-website-us-east-1.amazonaws.com/node11.html Snort dynamic modes : http://manual-snort-org.s3-website-us-east-1.amazonaws.com/node38.html Read me daq explain succinctly static / dynamic mod https://www.snort.org/faq/readme-daq Sorry to send three links but I haven't understood yours ask I hope I have the truth about yours ask, Regards. Dorian rosse. Télécharger Outlook pour Android <https://aka.ms/ghei36> ------------------------------ *From:* Snort-users <snort-users-bounces () lists snort org> on behalf of Michael Prujan via Snort-users <snort-users () lists snort org> *Sent:* Sunday, September 29, 2019 4:27:26 PM *To:* snort-users () lists snort org <snort-users () lists snort org> *Subject:* [Snort-users] snort as dynamic library Hi, I ‘ve just started using snort. I’ve downloaded sources snort 2.9.14.1 and compiled. I understood that snort run as a process. Can i run snort as utility in my process ? Can I create static/dynamic library from snort sources ? If yes , what should I change in makefiles? Thanks, Michael.
_______________________________________________ Snort-users mailing list Snort-users () lists snort org Go to this URL to change user options or unsubscribe: https://lists.snort.org/mailman/listinfo/snort-users To unsubscribe, send an email to: snort-users-leave () lists snort org Please visit http://blog.snort.org to stay current on all the latest Snort news! Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette
Current thread:
- Re: snort as dynamic library Dorian ROSSE via Snort-users (Oct 03)
- Re: snort as dynamic library Michael Prujan via Snort-users (Oct 06)
- Re: snort as dynamic library Russ Combs (rucombs) via Snort-users (Oct 07)
- Re: snort as dynamic library Michael Prujan via Snort-users (Oct 09)
- Re: snort as dynamic library Michael Prujan via Snort-users (Oct 09)
- Re: snort as dynamic library Russ Combs (rucombs) via Snort-users (Oct 07)
- Re: snort as dynamic library Dorian ROSSE via Snort-users (Oct 07)
- Re: snort as dynamic library Joel Esler (jesler) via Snort-users (Oct 08)
- Re: snort as dynamic library Michael Prujan via Snort-users (Oct 06)