Note that you may have to add /usr/local/lib to your ld search path
echo "/usr/local/lib" | sudo tee --append /etc/ld.so.conf.d/usrlocal.conf
sudo ldconfig
Suricata
Compilation
Suricata's installation is now quite standard.
It's possible to pass --with-libhs-includes=/usr/local/include/hs/ --with-libhs-libraries=/usr/local/lib/, although by default this shouldn't be necessary. Suricata should pick up Hyperscan's pkg-config file automagically.
When Suricata's compilation succeeded, you should have:
suricata开启hyperscan加速的方法:We'll install version 4.2.0.git clone https://github.com/01org/hyperscancd hyperscanmkdir buildcd buildcmake -DBUILD_STATIC_AND_SHARED=1 ../If you have your own