Skip to content

Commit

Permalink
userguide: update hyperscan documentation
Browse files Browse the repository at this point in the history
Signed-off-by: jason taylor <jtfas90@gmail.com>
  • Loading branch information
jmtaylor90 authored and victorjulien committed Oct 4, 2018
1 parent ae10a92 commit 7f4e5e6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/userguide/performance/hyperscan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Hyperscan
Introduction
~~~~~~~~~~~~

"Hyperscan is a high-performance multiple regex matching library." https://01.org/hyperscan
"Hyperscan is a high-performance multiple regex matching library." https://www.hyperscan.io

In Suricata it can be used to perform multi pattern matching (mpm). Support was implemented by Justin Viiret and Jim Xu from Intel: https://github.com/inliniac/suricata/pull/1965, https://redmine.openinfosecfoundation.org/issues/1704

Expand Down Expand Up @@ -67,10 +67,10 @@ Trusty has 1.57, so it's too old. We can grab a newer libboost version, but we *


sudo apt-get python-dev libbz2-dev
wget http://downloads.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz
tar xvzf boost_1_60_0.tar.gz
cd boost_1_60_0
./bootstrap.sh --prefix=~/tmp/boost-1.60
wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.gz
tar xvzf boost_1_66_0.tar.gz
cd boost_1_66_0
./bootstrap.sh --prefix=~/tmp/boost-1.66
./b2 install

Hyperscan
Expand All @@ -82,7 +82,7 @@ We'll install version 4.2.0.
::


git clone https://github.com/01org/hyperscan
git clone https://github.com/intel/hyperscan
cd hyperscan
mkdir build
cd build
Expand All @@ -93,7 +93,7 @@ If you have your own libboost headers, use this cmake line instead:
::


cmake -DBUILD_STATIC_AND_SHARED=1 -DBOOST_ROOT=~/tmp/boost-1.60 ../
cmake -DBUILD_STATIC_AND_SHARED=1 -DBOOST_ROOT=~/tmp/boost-1.66 ../

Finally, make and make install:

Expand Down

0 comments on commit 7f4e5e6

Please sign in to comment.