https://github.com/folkertvanheusden/ipfixer
Stores IPFIX (NetFlow version 10), NetFlow v9 and NetFlow v5 data in a database - it is a collector
https://github.com/folkertvanheusden/ipfixer
database ipfix mariadb mongodb netflow postgresql
Last synced: 4 months ago
JSON representation
Stores IPFIX (NetFlow version 10), NetFlow v9 and NetFlow v5 data in a database - it is a collector
- Host: GitHub
- URL: https://github.com/folkertvanheusden/ipfixer
- Owner: folkertvanheusden
- Created: 2022-02-15T20:43:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-17T18:33:08.000Z (over 2 years ago)
- Last Synced: 2025-03-30T21:51:14.287Z (about 1 year ago)
- Topics: database, ipfix, mariadb, mongodb, netflow, postgresql
- Language: C++
- Homepage:
- Size: 120 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
what it is
----------
ipfixer is a collector for IPFIX, NetFlow v9 and NetFlow v5 data.
This data is captured and then stored in a MongoDB, MariaDB/MySQL,
PostgreSQL or InfluxDB database.
compiling
---------
The following package is required:
* libjansson-dev
* libyaml-cpp-dev
* pkg-config for cmake
Optional packages:
* libmongocxx-dev at moment of writing (March 2024) this package
is in Debian in the 'experimental' branch, you
can also use the one from
https://mongocxx.org/mongocxx-v3/installation/linux/ )
* libpqxx-dev PostgreSQL support
* libmariadb-dev MariaDB (MySQL) support
Then:
* mkdir build
* cd build
* cmake ..
* make
usage
-----
Invoke 'ipfixer'. It requires a configuration-file for which an example
(ipfixer.yaml) is included.
InfluxDB requires a host/port of a 'graphite endpoint'.
Note: if you get strange "out of range"-errors, make sure you correclty
configured IPFIX or NetFlow depending on what the emitter is producing.
Note: you probably don't want "debug" log-level as that uses a lot of
CPU.
tested with
-----------
* EdgeMAX EdgeRouter Lite v1.10.0
* softflowd - https://github.com/irino/softflowd
* ipt\_NETFLOW - https://github.com/aabc/ipt-netflow
Written by Folkert van Heusden
Released under MIT license.