CESNET / libfds

Flow Data Storage library
Other
9 stars 12 forks source link
flow ipfix liberouter library
============= ============= Master branch BuildMaster
Devel branch BuildDevel

============= =============

Flow Data Storage library

The library provides components for parsing and processing IPFIX Messages.

Available components:

The library doesn't contain support for receiving IPFIX over network and processing IPFIX Messages. However, all these features are provided by IPFIXcol2 <https://github.com/CESNET/ipfixcol2/>_ (high-performance collector), which is built on this library and is easily extensible by plugins. Therefore, if you want to, for example, process or convert flow records for your application, it's recommended to use any of available plugins or write a new output plugin for the collector.

How to build

First of all, install build dependencies of the library

RHEL/CentOS:

.. code-block::

yum install gcc gcc-c++ cmake make libxml2-devel lz4-devel libzstd-devel
# Optionally: doxygen

Debian/Ubuntu:

.. code-block::

apt-get install gcc g++ cmake make libxml2-dev liblz4-dev libzstd-dev
# Optionally: doxygen pkg-config

Finally, build and install the library:

.. code-block:: bash

$ git clone https://github.com/CESNET/libfds.git
$ cd libfds
$ mkdir build && cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
$ make
# make install

.. |BuildMaster| image:: https://github.com/CESNET/libfds/workflows/Build%20and%20tests/badge.svg?branch=master :target: https://github.com/CESNET/libfds/tree/master .. |BuildDevel| image:: https://github.com/CESNET/libfds/workflows/Build%20and%20tests/badge.svg?branch=devel :target: https://github.com/CESNET/libfds/tree/devel