Multi threading in ips_options
Damian ChiliĆski via Snort-devel <[email protected]> Mon, 11 Mar 2019 03:27:15 +0100
| Newsgroups | gmane.comp.security.ids.snort.devel |
|---|---|
| Message-ID | <CAN9JOSEjKyEb-danteBxGtaN4iLrX4Dh0RCNuZo3cHYC+dAoSA@mail.gmail.com> |
How does multi threading work in Snort 3? I mean - i made IPS Option and I want it to be stateful (as in use global data shared amongst all ips option instances). However from what I saw in manual Snort 3 support multi threading. So how do I handle critical sections in IPS Option module code? Can I just use pthread mutexes? Or is there some other recommended way? Best regards Damian Chilinski _______________________________________________ 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!