mirror of https://github.com/OISF/suricata
cybersecurityidsintrusion-detection-systemintrusion-prevention-systemipsnetwork-monitornetwork-monitoringnsmsecuritysuricatathreat-hunting
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.
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 | 11 years ago | |
| doc | 12 years ago | |
| lua | 12 years ago | |
| m4 | ||
| qa | 10 years ago | |
| rules | 11 years ago | |
| scripts | 11 years ago | |
| src | 10 years ago | |
| .gitignore | ||
| .travis.yml | 11 years ago | |
| COPYING | 11 years ago | |
| ChangeLog | 10 years ago | |
| LICENSE | 11 years ago | |
| Makefile.am | 11 years ago | |
| Makefile.cvs | ||
| acsite.m4 | ||
| autogen.sh | ||
| classification.config | ||
| config.rpath | ||
| configure.ac | 10 years ago | |
| doxygen.cfg | ||
| reference.config | 12 years ago | |
| suricata.yaml.in | 10 years ago | |
| threshold.config | ||