Snort mailing list archives

Can you help on How to build snort for windows 10 please?


From: Hongchun Li via Snort-devel <snort-devel () lists snort org>
Date: Mon, 14 Oct 2019 10:33:51 -0500

I tried to build the snort for windows on winxp, win7, win10 with visual
studio 6.0, visual studio 10, visual 2008, none of them success.

If you have experience or know how to build snort for windows version,
could you please give some comments?

Best regards and thanks a lot,
Hongchun

On Fri, Oct 11, 2019 at 11:01 AM <snort-devel-request () lists snort org>
wrote:

Send Snort-devel mailing list submissions to
        snort-devel () lists snort org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.snort.org/mailman/listinfo/snort-devel
or, via email, send a message with subject or body 'help' to
        snort-devel-request () lists snort org

You can reach the person managing the list at
        snort-devel-owner () lists snort org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Snort-devel digest..."


Today's Topics:

   1. How to build snort for windows 10 (Hongchun Li)
   2. Re: [Snort-users] snort as dynamic library (Michael Prujan)


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

Message: 1
Date: Wed, 9 Oct 2019 09:33:45 -0500
From: Hongchun Li <hongchun.li8 () gmail com>
To: snort-devel () lists snort org
Subject: [Snort-devel] How to build snort for windows 10
Message-ID:
        <CAGsJC3u_y0h+rzH6GDub3RLafgSq=
Q8iMbJDRWVvMG2KSad6vA () mail gmail com>
Content-Type: text/plain; charset="utf-8"

Dear Snort development team,

I am having  a issue when run the official release of 2.9.14.1 on windows
10. And I want to change the code a little bit and rebuild the code to test
it.
 I can not find details document on how to build the snort for window
version, i try to build it with visual c++6.0 from the solution of
snort-2.9.14.1\src\win32\WIN32-Prj\snort.dsw but failed with many errors.
So do you have any documents on how to build and release windows version
for share please? Any comments will be appreciated.

--
Best regards,
Hongchun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.snort.org/pipermail/snort-devel/attachments/20191009/4625bc53/attachment-0001.html


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

Message: 2
Date: Thu, 10 Oct 2019 08:34:45 +0300
From: Michael Prujan <michael.prujan () gmail com>
To: "Russ Combs (rucombs)" <rucombs () cisco com>
Cc: "snort-users () lists snort org" <snort-users () lists snort org>,
        snort-devel () lists snort org
Subject: Re: [Snort-devel] [Snort-users] snort as dynamic library
Message-ID:
        <CAF6TG=
0dx0yxk8GgegrDxwv6JXQFObnJZhrfMwOheSBxwHFfRQ () mail gmail com>
Content-Type: text/plain; charset="utf-8"

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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.snort.org/pipermail/snort-devel/attachments/20191010/f41170b5/attachment-0001.html


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

Subject: Digest Footer

_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel


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

End of Snort-devel Digest, Vol 28, Issue 7
******************************************



-- 
Best regards,
Hongchun
_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel

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

Current thread: