Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine developed by the OISF and the Suricata community.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Victor Julien 7ebd1e6433 Counters: fix delayed-detect counter registration
Make sure we register the detect.alerts counter before packet runtime starts
even in delayed detect mode. The registration of new counters at packet
runtime is not supported by the counters api and might lead to crashes as there
is no proper locking to allow for this operation.

This changes how delayed detect works a bit. Now we call the ThreadInit
callback twice. The first call will only register the counter. The 2nd call
will do all the other setup. This way the counter is registered before the
counters api starts operating in the packet runtime.

Fixes the segv reported in ticket #1018.
12 years ago
benches
contrib Add one shot run option to suri-graphite. 13 years ago
doc Update docs from wiki 13 years ago
m4
qa coccinelle: implement parallel check 12 years ago
rules http: add new events for invalid host header and host part of uri 12 years ago
scripts suricatasc: fix make distcheck. 13 years ago
src Counters: fix delayed-detect counter registration 12 years ago
.gitignore unittest: make check use a qa/log dir for logging 13 years ago
COPYING
ChangeLog Update changelog for 2.0beta1 13 years ago
LICENSE
Makefile.am Use wget or curl to download ruleset. 12 years ago
Makefile.cvs
acsite.m4
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 13 years ago
classification.config
config.rpath Add file needed for some autotools version. 13 years ago
configure.ac configure: accept libnet 1.1 and 1.2. 12 years ago
doxygen.cfg Adding an updated doxygen config file, because the old one was created a couple major versions ago. 13 years ago
mkinstalldirs
reference.config
suricata.yaml.in Feature #901 - VLAN defrag support. 12 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 13 years ago