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 9b3d4f7e24 mpm: unify & localize mpm pattern (id) handling
So far, the patterns as passed to the mpm's would use global id's that
were shared among all buffers, directions. This would lead to a fairly
large pattern id space. As the mpm algo's use the pattern id's to
prevent duplicate matching through a pattern id based bitarray,
shrinking this space will optimize performance.

This patch implements this. It sets a flag before adding the pattern
to the mpm ctx, instructing the mpm to ignore the provided pid and
handle pids management itself. This leads to a shrinking of the
bitarray size.

This is made possible by the previous work that removes the pid logic
from the code.

Next to this, this patch moves the pattern setup stage to common util
functions. This avoids code duplication.

Update ac, ac-bs and ac-ks to use this.
10 years ago
benches
contrib suri-graphite: add ouput to file option 11 years ago
doc Fix make distcheck on CentOS 5.11 12 years ago
lua output-lua: add SCPacketTimeString 12 years ago
m4
qa hyperscan: add DrMemory suppressions 10 years ago
rules rules: add rules for TLS SNI app layer events 11 years ago
scripts app-layer setup scripts: enable new modules on copy 11 years ago
src mpm: unify & localize mpm pattern (id) handling 10 years ago
.gitignore
.travis.yml travis: set CFLAGS to error on cc warnings 11 years ago
COPYING GPL license sync with official gpl-2.0.txt 11 years ago
ChangeLog Update Changelog for 3.0.1 10 years ago
LICENSE GPL license sync with official gpl-2.0.txt 11 years ago
Makefile.am build: install app-layer-events.rules 11 years ago
Makefile.cvs
acsite.m4
autogen.sh
classification.config
config.rpath
configure.ac Open Suricata 3.1 development branch 10 years ago
doxygen.cfg
reference.config Update reference.config 12 years ago
suricata.yaml.in mpm: remove obsolete mpm algos 10 years ago
threshold.config