Skip to content

Instantly share code, notes, and snippets.

@leogr
Last active December 17, 2019 10:03
Show Gist options
  • Save leogr/b86f9b5dd2c7c3675f0080fa36915d47 to your computer and use it in GitHub Desktop.
Save leogr/b86f9b5dd2c7c3675f0080fa36915d47 to your computer and use it in GitHub Desktop.
wip: manually build falco

Build falco

Tested on falcosecurity/falco#968

Step 0 - Dependencies

pacman -S gcc cmake make pkgconfig autoconf automake patch elfutils libelf libtool linux-headers jq oniguruma zlib ncurses yaml-cpp openssl curl c-ares protobuf grpc libyaml

Step 1 - Make dirs, clone sysdig and falco, etc...

mkdir falco_build
cd falco_build
git clone https://github.com/draios/sysdig.git
git clone https://github.com/falcosecurity/falco.git

Step 2 - Build

cd falco
mkdir build
cd build
cmake ..
make -j8 all

Load probe

To load the locally built version, assuming you are in the build dir, use:

insmod driver/falco-probe.ko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment