diff --git a/README.md b/README.md index 8338fb48..a344b745 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ and is licensed under the [AGPLv3 license](LICENSE.txt). A demo site using fake data and running the latest stable version is available on [demo.akvorado.net](https://demo.akvorado.net). It is the direct result of running `docker compose up` on a fresh checkout but -port 2055 is not accessible (you cannot send your own flows). Please, +flow ports are not accessible (you cannot send your own flows). Please, be gentle with this resource. The demo site also enables you to browse the [documentation](https://demo.akvorado.net/docs) for the current version (the one in `docs/` is for the next version). diff --git a/config/inlet.yaml b/config/inlet.yaml index cab53aba..ff7ef645 100644 --- a/config/inlet.yaml +++ b/config/inlet.yaml @@ -1,6 +1,7 @@ --- flow: inputs: + # NetFlow port - type: udp decoder: netflow listen: :2055 @@ -8,6 +9,13 @@ flow: # Before increasing this value, look for it in the troubleshooting section # of the documentation. receive-buffer: 212992 + # IPFIX port + - type: udp + decoder: netflow + listen: :4739 + workers: 6 + receive-buffer: 212992 + # sFlow port - type: udp decoder: sflow listen: :6343 diff --git a/console/data/docs/00-intro.md b/console/data/docs/00-intro.md index 56568460..7e491873 100644 --- a/console/data/docs/00-intro.md +++ b/console/data/docs/00-intro.md @@ -45,7 +45,8 @@ To connect your own network devices: - Configure interface classification rules in `outlet` → `core` → `interface-classifiers` 1. Configure your routers/switches to send flows to *Akvorado*: - - NetFlow/IPFIX: port 2055 + - NetFlow: port 2055 + - IPFIX: port 4739 - sFlow: port 6343 1. Restart all containers: diff --git a/console/data/docs/05-troubleshooting.md b/console/data/docs/05-troubleshooting.md index 411a65ec..7b4b21de 100644 --- a/console/data/docs/05-troubleshooting.md +++ b/console/data/docs/05-troubleshooting.md @@ -104,9 +104,9 @@ akvorado_inlet_flow_input_udp_packets_total{exporter="241.107.1.15",listener=":2 ``` If your exporters are not listed, check their configuration. You can also use -`tcpdump` to verify that they are sending packets. Replace the IP with the IP address -of the exporter and the port with the correct port (2055 for NetFlow and 6343 for -sFlow). +`tcpdump` to verify that they are sending packets. Replace the IP with the IP +address of the exporter and the port with the correct port (2055 for NetFlow, +4739 for IPFIX and 6343 for sFlow). ```console # tcpdump -c3 -pni any host 241.107.1.12 and port 2055 diff --git a/console/data/docs/99-changelog.md b/console/data/docs/99-changelog.md index e3175f02..6f2986a6 100644 --- a/console/data/docs/99-changelog.md +++ b/console/data/docs/99-changelog.md @@ -27,6 +27,7 @@ the ownership of the Prometheus volume: - 💥 *docker*: switch from Prometheus to Grafana Alloy for scraping metrics - 🩹 *outlet*: fix crash when scaling down and up the Kafka workers - 🩹 *outlet*: move gRPC metrics for BioRIS provider in the routing namespace +- 🌱 *config*: listen to 4739 for IPFIX on inlet service - 🌱 *docker*: enforce bridge name - 🌱 *docker*: add Loki to the observability stack - 🌱 *docker*: add cAdvisor to the observability stack diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 7487ffc3..3cface86 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -141,6 +141,7 @@ services: service: akvorado ports: - 2055:2055/udp + - 4739:4739/udp - 6343:6343/udp restart: unless-stopped depends_on: