You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating the build system from Autotools to CMake.
It also updates the documentation to reflect the new build system,
including installation instructions, build requirements, and build options.
Copy file name to clipboardExpand all lines: README.md
+86-44Lines changed: 86 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,15 @@ ipfixprobe is a high-performance flow exporter. It creates bidirectional flows f
13
13

14
14
15
15
16
-
## Installation
16
+
## 🛠️ Installation
17
17
The RPM packages for RHEL based distributions can be downloaded from our [copr repository](https://copr.fedorainfracloud.org/coprs/g/CESNET/NEMEA/package/ipfixprobe/). Or just simply run:
-`-i ARGS` Activate input plugin (-h input for help)
27
27
-`-s ARGS` Activate storage plugin (-h storage for help)
@@ -39,13 +39,13 @@ dnf install ipfixprobe
39
39
-`-h [PLUGIN]` Print help text. Supported help for input, storage, output and process plugins
40
40
-`-V` Show version and exit
41
41
42
-
### Help
42
+
### ❓ Help
43
43
Printing general help is done using the `-h` parameter. To print help for specific plugins, `-h` with parameter is used.
44
44
This parameter accepts `input`, `storage`, `process`, `output` or name of a plugin (or path to a .so file with plugin).
45
45
46
-
## Example
46
+
## 📖 Example
47
47
Here are the examples of various plugins usage:
48
-
```
48
+
```bash
49
49
# Capture from wlp2s0 interface using raw sockets, print flows to console
50
50
./ipfixprobe -i 'raw;ifc=wlp2s0' -o 'text'
51
51
@@ -78,61 +78,103 @@ Here are the examples of various plugins usage:
78
78
79
79
## Build
80
80
81
-
### Requirements
82
-
- libatomic
83
-
-[telemetry](https://github.com/CESNET/telemetry) (mandatory) — can be installed from the [COPR repository](https://copr.fedorainfracloud.org/coprs/g/CESNET/NEMEA-stable/package/telemetry/) or built from source code
84
-
- kernel version at least 3.19 when using raw sockets input plugin enabled by default (disable with `--without-raw` parameter for `./configure`)
85
-
-[libpcap](http://www.tcpdump.org/) when compiling with pcap plugin (`--with-pcap` parameter)
86
-
- netcope-common [COMBO cards](https://www.liberouter.org/technologies/cards/) when compiling with ndp plugin (`--with-ndp` parameter)
87
-
- libunwind-devel when compiling with stack unwind on crash feature (`--with-unwind` parameter)
88
-
-[nemea](http://github.com/CESNET/Nemea-Framework) when compiling with unirec output plugin (`--with-nemea` parameter)
89
-
- cloned submodule with googletest framework to enabled optional tests (`--with-gtest` parameter)
81
+
### 📦 Requirements
90
82
91
-
To compile DPDK interfaces, make sure you have DPDK libraries (and development files) installed and set the `PKG_CONFIG_PATH` environment variable if necessary. You can obtain the latest DPDK at http://core.dpdk.org/download/ Use `--with-dpdk` parameter of the `configure` script to enable it.
83
+
-`libatomic`
84
+
-[telemetry](https://github.com/CESNET/telemetry) (**required**) Installable from the [COPR repository](https://copr.fedorainfracloud.org/coprs/g/CESNET/NEMEA-stable/package/telemetry/) or buildable from source
85
+
- Linux kernel version **≥ 3.19**
86
+
-[libpcap](http://www.tcpdump.org/) — required for PCAP input plugin (`-DENABLE_INPUT_PCAP`)
87
+
-`netcope-common` — required for NDP input plugin with [COMBO cards](https://www.liberouter.org/technologies/cards/) (`-DENABLE_INPUT_NFB`)
88
+
-`libunwind-devel`
89
+
-[NEMEA](http://github.com/CESNET/Nemea-Framework) — required for UniRec output plugin (`-DENABLE_NEMEA`, `-DENABLE_OUTPUT_UNIREC`)
90
+
-[DPDK](http://core.dpdk.org/download/) — required for DPDK input plugin (`-DENABLE_INPUT_DPDK`)
92
91
93
-
### Source codes
92
+
> For most conventional monitoring use-cases (not requiring high-speed packet libraries like DPDK or NDP), you can install required dependencies using the following commands:
`ipfixprobe` exports statistics and other diagnostic information through a telemetry interface based on appFs library, which leverages the fuse3 library (filesystem in userspace) to allow telemetry data to be accessed and manipulated
138
180
through standard filesystem operations.
@@ -228,7 +270,7 @@ The pipeline directory provides statistics for all worker queues. Each queue is
228
270
```
229
271
230
272
231
-
## Input / Output of the flow exporter
273
+
## 📥 Input / Output of the flow exporter
232
274
233
275
The availability of the input and output interfaces depends on the ipfixprobe build settings. By default, we provide RPM package with pcap and raw inputs. The default provided outpus are ipfix and text.
234
276
@@ -245,7 +287,7 @@ from special HW acceleration FPGA cards. For more information about the cards,
245
287
visit [COMBO cards](https://www.liberouter.org/technologies/cards/) or contact
246
288
us.
247
289
248
-
### Output
290
+
### 📤 Output
249
291
250
292
There are several currently available output plugins, such as:
251
293
@@ -261,7 +303,7 @@ LZ4 compression:
261
303
ipfix plugin supports LZ4 compression algorithm over tcp. See plugin's help for more information.
262
304
263
305
264
-
## Possible issues
306
+
## ⚠️ Possible issues
265
307
### Flows are not send to output interface when reading small pcap file (NEMEA output)
266
308
267
309
Turn off message buffering using `buffer=off` option and set `timeout=WAIT` on output interfaces.
0 commit comments