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 2011a3f87e capture: add data release mechanism
This patch adds a data release mechanism. If the capture module
has a call to indicate that userland has finished with the data,
it is possible to use this system. The data will then be released
when the treatment of the packet is finished.

To do so the Packet structure has been modified:
+    TmEcode (*ReleaseData)(ThreadVars *, struct Packet_ *);
If ReleaseData is null, the function is called when the treatment
of the Packet is finished.
Thus it is sufficient for the capture module to code a function
wrapping the data release mechanism and to assign it to ReleaseData
field.

This patch also includes an implementation of this mechanism for
AF_PACKET.
13 years ago
benches Initial add of the files. 17 years ago
contrib/file_processor Included Action::Syslog by default in config 14 years ago
doc Add missing Makefile.am files for rules/ and doc/ dir. 14 years ago
libhtp spelling corrections documented in redmine bug#533 13 years ago
m4 Prelude plugin: add detection in configure script 16 years ago
qa Update coccinelle script to match syntax evolution. 14 years ago
rules decode: decode IPv6-in-IPv6 13 years ago
src capture: add data release mechanism 13 years ago
.gitignore Import .gitignore file. 15 years ago
COPYING Initial add of the files. 17 years ago
ChangeLog Update Changelog to include 1.3.1 changes. 13 years ago
LICENSE import of gplv2 LICENSE 16 years ago
Makefile.am Windows build and other misc fixes. 14 years ago
Makefile.cvs Initial add of the files. 17 years ago
acsite.m4 Added C99 defs/macros to acsite.m4 for CentOS 16 years ago
autogen.sh autotools: error on autoreconf is an error 13 years ago
classification.config Import of classification.config 16 years ago
configure.ac Update version number to reflect we're working towards 1.4 now. 13 years ago
doxygen.cfg doc: Include htp documentation. 14 years ago
mkinstalldirs Update autojunk.sh + build update. 16 years ago
reference.config Add md5 to reference.config. 14 years ago
suricata.yaml.in af-packet: improve mmaped running mode. 13 years ago