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

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.9.0.tar.gz && cd greyd-0.9.0 $ ./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