Snort mailing list archives

Re: snortsam pach applies in 2.9.2.2 but it doesnt compiles


From: Steven Sturges <ssturges () sourcefire com>
Date: Fri, 06 Apr 2012 11:53:34 -0400

Hi Luis--

Yes, it has been removed.  The functions that were added to that
were never being called by the main Snort.

If you need to have an output plugin reload its config or
roll over an output file as part of sig HUP processing, use
the following approach.

#ifdef SNORT_RELOAD
     AddFuncToReloadList(<output_func>, config);
#endif

Cheers.
-steve

On 4/6/12 11:39 AM, Luis Daniel Lucio Quiroz wrote:
I did a few output pluing review and it seems that function
AddFuncToRestartList(AlertFastRestartFunc, data);

it doesnt exist anymore in 2.9.2.2

can you confirm?


Le 6 avril 2012 11:36, Luis Daniel Lucio Quiroz
<luis.daniel.lucio () gmail com>  a écrit :
Using patch in 2.9.2.1 it works, but in 2.9.2.2 it doesnt. I guess
there is some routines changes.  Can you tell me what to fix?

m -ldl -ldaq -lz -lpthread
output-plugins/libspo.a(spo_alert_fwsam.o): In function `AlertFWsamInit':
/home/dieu/rpmbuild/snort/BUILD/snort-2.9.2.2/building/plain/src/output-plugins/../../../../src/output-plugins/spo_alert_fwsam.c:401:
undefined reference to `AddFuncToRestartList'
collect2: ld returned 1 exit status
make[3]: *** [snort] Erreur 1
make[3] : on quitte le répertoire «
/home/dieu/rpmbuild/snort/BUILD/snort-2.9.2.2/building/plain/src »
make[2]: *** [all-recursive] Erreur 1
make[2] : on quitte le répertoire «
/home/dieu/rpmbuild/snort/BUILD/snort-2.9.2.2/building/plain/src »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire «
/home/dieu/rpmbuild/snort/BUILD/snort-2.9.2.2/building/plain »
make: *** [all] Erreur 2
erreur: Mauvais status de sortie pour
/home/dieu/rpmbuild/snort/BUILDROOT/rpm-tmp.UcsISQ (%build)


Erreur de construction de RPM:
    Mauvais status de sortie pour
/home/dieu/rpmbuild/snort/BUILDROOT/rpm-tmp.UcsISQ (%build)
error: failed!


If you know how to fix this i will  anks :)

LD

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel

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


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel

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


Current thread: