greyd

+ -

Download a source tarball

Grab the latest distribution:

You will need the following libraries (and their headers) installed:

  • libltdl (Libtool's libdl abstraction)
  • zlib
  • OpenSSL (libcrypto)
  • Berkeley DB (either 4.x or & 5.x), SQLite 3, Berkeley DB SQL or MySQL

To build the netfilter driver, you will need the following packages:

  • libnetfilter_conntrack (version >= 1.0.4)
  • libnetfilter_log
  • libipset
  • libcap
  • libmnl

Installation via greyd.org repo (Centos 7)

To use the repository you can add the greyd.repo file like so:

$ cat /etc/yum.repos.d/greyd.repo [greyd] name=greyd Packages for Enterprise Linux 7 - $basearch baseurl=https://greyd.org/repo/centos/7/$basearch enabled=1 gpgcheck=1 gpgkey=https://greyd.org/repo/greyd_pkg_sign_pub.asc

Then be sure to accept the greyd GPG signing key:

Retrieving key from https://greyd.org/repo/greyd_pkg_sign_pub.asc Importing GPG key 0x5425A1D0: Userid : "Mikey Austin " Fingerprint: c3c7 ddb8 db4c 4f5b a4eb 7e67 6686 de7c 5425 a1d0 From : https://greyd.org/repo/greyd_pkg_sign_pub.asc Is this ok [y/N]: y

Installation from Source

To build on GNU/Linux with the SQLite DB driver and the Netfilter driver, the following configure flags will do the trick (see ./configure --help for more):

$ tar xzf greyd-0.11.6.tar.gz && cd greyd-0.11.6 $ ./configure --with-sqlite --with-netfilter $ make $ sudo make install

There is an issue on some distros (eg Arch Linux) with the system ltdl.h and a missing lt__PROGRAM__LTX_preloaded_symbols symbol. The --with-ltdl-fix flag will enable a workaround for such situations.

On an RPM-based distribution, you can easily make a package by the following:

$ make rpm