Skip to content

rafal-prasal/nprobe_py

Repository files navigation

nprobe_py 0.0.4

License: http://www.apache.org/licenses/LICENSE-2.0

To some extent it is replacement to nprobe for ntop.org.

It takes NetFlow/IPFIX stream and makes it available as ZMQ for ntop.

Code found here is like "Cutting the grass with machete" and definitely could be prettier, but it simply gets the job done, so don't complain about it too much.

Usage:

Build images

docker-compose build
#or
docker compose build

Start

docker-compose up
#or
docker compose up

or in the backround

docker-compose up -d
#or
docker compose up -d

stop

docker-compose stop
#or
docker compose stop

Remove

docker-compose rm
or
docker compose rm

Access

ntop WebUI address

http://{host}:3000

NetFlow/IPFIX collector

udp://{host}:2055

Additional Configuration

ntopng and NAT

\1 Go to Web ui

http://{host}:3000

\2 navigate through menu

Settings -> Preferences 

\3 click Expert View

\4 go further through menu

Network Interfaces

\5 check options

Use Post-Nat Destination IPv4 Addresses and Ports: [ X ]
Use Post-Nat Source IPv4 Addresses and Ports: [ X ]

\6 click save

Mikrotik 7.X for NetFlow/IPFIX stream

\1 Go to Web ui

http://{mikrotik}

\2 Navigate through menu

WebFig -> IP -> Traffic Flow -> Targets -> Add New

\3 Set options

Enabled: [x]
Src. Address: {ip of Mikrotik}
Dst. Address: {ip of host}
port: 2055
Version: IPFIX
v9/IPFIX Template Refresh: 20
v9/IPFIX Template Timeout: 1800

\4 Click OK

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published