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
Eric Leblond 98e4a14f6d af-packet: update packet reading loop logic
This patch updates the logic of the packet acquisition loop. When
the reader loop function is called and when the data to read
at offset is a without data (kernel) or still used by suricata. We
try to iter for a loop on the ring to try to find kernel put by
data.
As we are entering the function because the poll said there was some
data. This allow us to jump to the data added to the ring by the
kernel.
When using suricata in autofp mode, with multiple detect threads and
packet acquisition threads attached to a dedicated CPU, the reader
loop function was looping really fast because poll call was returning
immediatly because we did read the data available.
12 years ago
benches Initial add of the files. 16 years ago
contrib Add one shot run option to suri-graphite. 12 years ago
doc Update docs from wiki 13 years ago
m4 Prelude plugin: add detection in configure script 16 years ago
qa prscript: add --norebase option 12 years ago
rules dns: detect case of request flooding 12 years ago
scripts suricatasc: fix make distcheck. 13 years ago
src af-packet: update packet reading loop logic 12 years ago
.gitignore unittest: make check use a qa/log dir for logging 12 years ago
COPYING Initial add of the files. 16 years ago
ChangeLog Update Changelog for 2.0beta2 12 years ago
LICENSE import of gplv2 LICENSE 16 years ago
Makefile.am dns: rules files was not installed 12 years ago
Makefile.cvs Initial add of the files. 16 years ago
acsite.m4 Added C99 defs/macros to acsite.m4 for CentOS 16 years ago
autogen.sh OpenBSD 5.2 build fixes, Unit test fix. 13 years ago
classification.config Import of classification.config 16 years ago
config.rpath Add file needed for some autotools version. 12 years ago
configure.ac Fix configuring Prelude with -Werror 12 years ago
doxygen.cfg Adding an updated doxygen config file, because the old one was created a couple major versions ago. 12 years ago
reference.config Add md5 to reference.config. 14 years ago
suricata.yaml.in htp layer: use memcap for HTTP related allocations 12 years ago
threshold.config threshold: improve comments of shipped threshold.config, add links to wiki. 13 years ago