]> git.ipfire.org Git - people/ms/suricata.git/commit
mpm/spm: check for SSSE3 and enable/disable HS
authorSascha Steinbiss <sascha@steinbiss.name>
Fri, 20 Jan 2017 14:28:41 +0000 (15:28 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 30 Jan 2017 08:04:15 +0000 (09:04 +0100)
commite6044aaf1c572b7ef1655bdb8b122db9d8295bf1
tree57eebd26b87554f858379c170aedd3c7402574a8
parenta0580d8805cfd74b8a216d9f8d3906ebe7e41cf0
mpm/spm: check for SSSE3 and enable/disable HS

The new Hyperscan 4.4 API provides a function to check for SSSE3
presence at runtime. This allows us to fall back to non-Hyperscan
matchers on systems without SSSE3 even when the suricata executable
is built with Hyperscan support. Addresses Redmine issue #2010.

Signed-off-by: Sascha Steinbiss <sascha@steinbiss.name>
Tested-by: Arturo Borrero Gonzalez <arturo@debian.org>
15 files changed:
configure.ac
src/app-layer-detect-proto.c
src/app-layer-smtp.c
src/detect-csum.c
src/detect-dns-query.c
src/detect-engine-mpm.c
src/detect-engine-payload.c
src/detect-http-header.c
src/detect-ipproto.c
src/detect-tls-cert-issuer.c
src/detect-tls-cert-subject.c
src/detect-tls-sni.c
src/util-mpm.c
src/util-mpm.h
src/util-spm.c