Skip to content

Instantly share code, notes, and snippets.

@sametsazak
sametsazak / install_suricata.sh
Created March 11, 2017 12:39 — forked from gretel/install_suricata.sh
install suricata on openbsd-current https://suricata-ids.org
#!/bin/sh
## adopted from https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Basic_Setup
doas pkg_add gcc git libtool pcre jansson libmagic libyaml
## version strings might change like patchlevel and stuff
doas pkg_add libnet-1.1.2.1p3v0 autoconf-2.69p2 automake-1.14.1p0
cd
git clone --depth 1 git://phalanx.openinfosecfoundation.org/oisf.git
cd oisf
git clone --depth 1 https://github.com/OISF/libhtp.git -b 0.5.x
export AUTOCONF_VERSION=2.69