Can you help on How to build snort for windows 10 please?
Hongchun Li via Snort-devel <[email protected]> Mon, 14 Oct 2019 10:33:51 -0500
| Newsgroups | gmane.comp.security.ids.snort.devel |
|---|---|
| Message-ID | <CAGsJC3t_rScE9zgP2mQLedQHebGw=naE3tV3pWogqTxGR40EMw@mail.gmail.com> |
--===============1585928631359108469== Content-Type: multipart/alternative; boundary="000000000000f186df0594e098c8" --000000000000f186df0594e098c8 Content-Type: text/plain; charset="UTF-8" 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 <[email protected]> wrote: > Send Snort-devel mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 <[email protected]> > To: [email protected] > Subject: [Snort-devel] How to build snort for windows 10 > Message-ID: > <CAGsJC3u_y0h+rzH6GDub3RLafgSq= > [email protected]> > 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 <[email protected]> > To: "Russ Combs (rucombs)" <[email protected]> > Cc: "[email protected]" <[email protected]>, > [email protected] > Subject: Re: [Snort-devel] [Snort-users] snort as dynamic library > Message-ID: > <CAF6TG= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > On Wed, Oct 9, 2019 at 11:03 PM Michael Prujan <[email protected]> > 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) <[email protected]> > > 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 <[email protected]> on behalf of > >> Michael Prujan via Snort-users <[email protected]> > >> *Reply-To: *Michael Prujan <[email protected]> > >> *Date: *Monday, October 7, 2019 at 2:03 AM > >> *To: *Dorian ROSSE <[email protected]> > >> *Cc: *"[email protected]" <[email protected]> > >> *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 <[email protected]> > >> 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 <[email protected]> on behalf of > >> Michael Prujan via Snort-users <[email protected]> > >> *Sent:* Sunday, September 29, 2019 4:27:26 PM > >> *To:* [email protected] <[email protected]> > >> *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 > [email protected] > https://lists.snort.org/mailman/listinfo/snort-devel > > > ------------------------------ > > End of Snort-devel Digest, Vol 28, Issue 7 > ****************************************** > -- Best regards, Hongchun --000000000000f186df0594e098c8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>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.</div><div><br></div><div>If you have experience or know how to bu= ild snort for windows version, could you please give some comments?</div><d= iv><br></div><div>Best regards and thanks a lot,</div><div>Hongchun</div><b= r><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, = Oct 11, 2019 at 11:01 AM <<a href=3D"mailto:[email protected]= ort.org">[email protected]</a>> wrote:<br></div><block= quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1= px solid rgb(204,204,204);padding-left:1ex">Send Snort-devel mailing list s= ubmissions to<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> <br> To subscribe or unsubscribe via the World Wide Web, visit<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://lists.snort.org/mailman/list= info/snort-devel" rel=3D"noreferrer" target=3D"_blank">https://lists.snort.= org/mailman/listinfo/snort-devel</a><br> or, via email, send a message with subject or body 'help' to<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]= rt.org" target=3D"_blank">[email protected]</a><br> <br> You can reach the person managing the list at<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]= .org" target=3D"_blank">[email protected]</a><br> <br> When replying, please edit your Subject line so it is more specific<br> than "Re: Contents of Snort-devel digest..."<br> <br> <br> Today's Topics:<br> <br> =C2=A0 =C2=A01. How to build snort for windows 10 (Hongchun Li)<br> =C2=A0 =C2=A02. Re: [Snort-users] snort as dynamic library (Michael Prujan)= <br> <br> <br> ----------------------------------------------------------------------<br> <br> Message: 1<br> Date: Wed, 9 Oct 2019 09:33:45 -0500<br> From: Hongchun Li <<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]</a>><br> To: <a href=3D"mailto:[email protected]" target=3D"_blank">snort-= [email protected]</a><br> Subject: [Snort-devel] How to build snort for windows 10<br> Message-ID:<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAGsJC3u_y0h+rzH6GDub3RLafgSq=3D<a href=3D"= mailto:[email protected]" target=3D"_blank">Q8iMbJDRWVvM= [email protected]</a>><br> Content-Type: text/plain; charset=3D"utf-8"<br> <br> Dear Snort development team,<br> <br> I am having=C2=A0 a issue when run the official release of 2.9.14.1 on wind= ows<br> 10. And I want to change the code a little bit and rebuild the code to test= <br> it.<br> =C2=A0I can not find details document on how to build the snort for window<= br> version, i try to build it with visual c++6.0 from the solution of<br> snort-2.9.14.1\src\win32\WIN32-Prj\snort.dsw but failed with many errors.<b= r> So do you have any documents on how to build and release windows version<br= > for share please? Any comments will be appreciated.<br> <br> -- <br> Best regards,<br> Hongchun<br> -------------- next part --------------<br> An HTML attachment was scrubbed...<br> URL: <<a href=3D"https://lists.snort.org/pipermail/snort-devel/attachmen= ts/20191009/4625bc53/attachment-0001.html" rel=3D"noreferrer" target=3D"_bl= ank">https://lists.snort.org/pipermail/snort-devel/attachments/20191009/462= 5bc53/attachment-0001.html</a>><br> <br> ------------------------------<br> <br> Message: 2<br> Date: Thu, 10 Oct 2019 08:34:45 +0300<br> From: Michael Prujan <<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>><br> To: "Russ Combs (rucombs)" <<a href=3D"mailto:[email protected]= m" target=3D"_blank">[email protected]</a>><br> Cc: "<a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>" <<a href=3D"mailto:snort-users@lis= ts.snort.org" target=3D"_blank">[email protected]</a>>,<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]" = target=3D"_blank">[email protected]</a><br> Subject: Re: [Snort-devel] [Snort-users] snort as dynamic library<br> Message-ID:<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAF6TG=3D<a href=3D"mailto:0dx0yxk8GgegrDxw= [email protected]" target=3D"_blank">0dx0yxk8Ggeg= [email protected]</a>><br> Content-Type: text/plain; charset=3D"utf-8"<br> <br> On Wed, Oct 9, 2019 at 11:03 PM Michael Prujan <<a href=3D"mailto:michae= [email protected]" target=3D"_blank">[email protected]</a>><br> wrote:<br> <br> > Hi Russ,<br> > I want to use snort for production(*2.9.14.*.) and not version 3.0(bet= a).<br> > I have the application that reading the traffic , based on dpdk.<br> > the application is multithreaded.<br> > Every thread is running on different core.<br> > every thread completes the same job:reading packet, parsing and call<b= r> > utilities for packet inspection.<br> > Now i want to add utility based on snort.<br> > In that case snort utility can use other functionality of thread.<br> > So i need to compile my executable with snort as a library(shared or<b= r> > static).<br> > And use snort api for packet processing.<br> > As i understood from your previous email, it's impossible to compi= le snort<br> > as a library.<br> > Do you have any plan for the future ?<br> > Thanks,<br> > michael.<br> ><br> ><br> ><br> > On Mon, Oct 7, 2019 at 6:18 PM Russ Combs (rucombs) <<a href=3D"mai= lto:[email protected]" target=3D"_blank">[email protected]</a>><br> > wrote:<br> ><br> >> Hi Michael,<br> >><br> >><br> >><br> >> Snort isn?t designed to support that yet, but please outline your = goal in<br> >> an email to snort-devel and we can kick it around.<br> >><br> >><br> >><br> >> Thanks<br> >><br> >> Russ<br> >><br> >><br> >><br> >> *From: *Snort-users <<a href=3D"mailto:snort-users-bounces@list= s.snort.org" target=3D"_blank">[email protected]</a>> = on behalf of<br> >> Michael Prujan via Snort-users <<a href=3D"mailto:snort-users@l= ists.snort.org" target=3D"_blank">[email protected]</a>><br> >> *Reply-To: *Michael Prujan <<a href=3D"mailto:michael.prujan@gm= ail.com" target=3D"_blank">[email protected]</a>><br> >> *Date: *Monday, October 7, 2019 at 2:03 AM<br> >> *To: *Dorian ROSSE <<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>><br> >> *Cc: *"<a href=3D"mailto:[email protected]" target= =3D"_blank">[email protected]</a>" <<a href=3D"mailto:sno= [email protected]" target=3D"_blank">[email protected]</a>= ><br> >> *Subject: *Re: [Snort-users] snort as dynamic library<br> >><br> >><br> >><br> >> Hi Dorian,<br> >><br> >> Thanks for reply.<br> >><br> >> To clarify my question:<br> >><br> >> How can i compile snort as library and not as executable.<br> >><br> >> I want to run snort in context of other process.<br> >><br> >> Is it possible ?<br> >><br> >> What the changes should i done ?<br> >><br> >> Thanks again,<br> >><br> >> Michael.<br> >><br> >><br> >><br> >><br> >><br> >> On Thu, Oct 3, 2019 at 5:48 PM Dorian ROSSE <<a href=3D"mailto:= [email protected]" target=3D"_blank">[email protected]</a>><br= > >> wrote:<br> >><br> >> For run snort all the time (seems be one of yours ask) you should = set up<br> >> as a daemon:<br> >><br> >><br> >><br> >> <a href=3D"http://manual-snort-org.s3-website-us-east-1.amazonaws.= com/node11.html" rel=3D"noreferrer" target=3D"_blank">http://manual-snort-o= rg.s3-website-us-east-1.amazonaws.com/node11.html</a><br> >><br> >><br> >><br> >> Snort dynamic modes :<br> >><br> >><br> >><br> >> <a href=3D"http://manual-snort-org.s3-website-us-east-1.amazonaws.= com/node38.html" rel=3D"noreferrer" target=3D"_blank">http://manual-snort-o= rg.s3-website-us-east-1.amazonaws.com/node38.html</a><br> >><br> >><br> >><br> >><br> >><br> >> Read me daq explain succinctly static / dynamic mod<br> >><br> >><br> >><br> >> <a href=3D"https://www.snort.org/faq/readme-daq" rel=3D"noreferrer= " target=3D"_blank">https://www.snort.org/faq/readme-daq</a><br> >><br> >><br> >><br> >> Sorry to send three links but I haven't understood yours ask<b= r> >><br> >><br> >><br> >> I hope I have the truth about yours ask,<br> >><br> >><br> >><br> >> Regards.<br> >><br> >><br> >><br> >><br> >><br> >> Dorian rosse.<br> >><br> >><br> >><br> >> T?l?charger Outlook pour Android <<a href=3D"https://aka.ms/ghe= i36" rel=3D"noreferrer" target=3D"_blank">https://aka.ms/ghei36</a>><br> >> ------------------------------<br> >><br> >> *From:* Snort-users <<a href=3D"mailto:snort-users-bounces@list= s.snort.org" target=3D"_blank">[email protected]</a>> = on behalf of<br> >> Michael Prujan via Snort-users <<a href=3D"mailto:snort-users@l= ists.snort.org" target=3D"_blank">[email protected]</a>><br> >> *Sent:* Sunday, September 29, 2019 4:27:26 PM<br> >> *To:* <a href=3D"mailto:[email protected]" target=3D"_bl= ank">[email protected]</a> <<a href=3D"mailto:snort-users@list= s.snort.org" target=3D"_blank">[email protected]</a>><br> >> *Subject:* [Snort-users] snort as dynamic library<br> >><br> >><br> >><br> >> Hi,<br> >><br> >> I ?ve just started using snort.<br> >><br> >> I?ve downloaded sources=C2=A0 snort 2.9.14.1 and compiled.<br> >><br> >> I understood that snort run as a process.<br> >><br> >> Can i run snort as utility in my process ?<br> >><br> >> Can I create static/dynamic library from snort sources ?<br> >><br> >> If yes , what should I change in makefiles?<br> >><br> >> Thanks,<br> >><br> >> Michael.<br> >><br> >><br> -------------- next part --------------<br> An HTML attachment was scrubbed...<br> URL: <<a href=3D"https://lists.snort.org/pipermail/snort-devel/attachmen= ts/20191010/f41170b5/attachment-0001.html" rel=3D"noreferrer" target=3D"_bl= ank">https://lists.snort.org/pipermail/snort-devel/attachments/20191010/f41= 170b5/attachment-0001.html</a>><br> <br> ------------------------------<br> <br> Subject: Digest Footer<br> <br> _______________________________________________<br> Snort-devel mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Snort-deve= [email protected]</a><br> <a href=3D"https://lists.snort.org/mailman/listinfo/snort-devel" rel=3D"nor= eferrer" target=3D"_blank">https://lists.snort.org/mailman/listinfo/snort-d= evel</a><br> <br> <br> ------------------------------<br> <br> End of Snort-devel Digest, Vol 28, Issue 7<br> ******************************************<br> </blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"= class=3D"gmail_signature"><div>Best regards,</div>Hongchun</div></div> --000000000000f186df0594e098c8-- --===============1585928631359108469== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Snort-devel mailing list [email protected] https://lists.snort.org/mailman/listinfo/snort-devel Please visit http://blog.snort.org for the latest news about Snort! --===============1585928631359108469==--