Skip to content

Library for indexing of IP addresses in flow data using Bloom filter.

License

Notifications You must be signed in to change notification settings

CESNET/bloom-filter-index

Repository files navigation

Bloom Filter Indexes

This repository contains source files for the Bloom filter indexing library. This library was originally created for IP address indexing in:

Table of contents

  1. Installation

  2. API documentation

  3. Example

  4. Installation


Bloom filter indexing library could be installed in a common way:

./bootstrap.sh
./configure
make
sudo make install

For information about configuration options see:

./configure --help
  1. API documentation

Doxygen documentation in the html format could be find in doc/.

Usage of Bloom filter index simply consists in a few steps:

  1. Declare an empty index of type bfi_index_t. 2a) Initialize the index with given estimated item count and false positive probability or 2b) load an existing index from a file.
  2. Add elements into the index.
  3. Store the index into a file.
  4. Destroy the index.

It is also possible to clear the index (e.g. for new iteration of indexing) which provides an empty ready-to-use index (i.e. like index after initialization) or get count of stored elements in the index (e.g. for dynamic re-calculation of the Bloom filter parameters).

  1. Example

For examples of usage see FDistDump or LNFStore code.

About

Library for indexing of IP addresses in flow data using Bloom filter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published