ntop / ntopng

Web-based Traffic and Security Network Traffic Monitoring
http://www.ntop.org
GNU General Public License v3.0
6.11k stars 646 forks source link

Missing Traffic Direction with sFlow/NetFlow #5470

Closed lucaderi closed 2 years ago

lucaderi commented 3 years ago

When ntopng is collecting traffic via sFlow/NetFlow all the traffic si considered in ingress and not in RX/TX as it should. Said that sometimes adding directions might be complicated depending on the setup, in many other cases this is possible and so it should be implemented. For instance, in sFlow this is definitively possible and also with NetFlow playing with interfaceIDs

brunobcestari commented 3 years ago

Hello! I managed to fix it here by adding my local network range in both nprobe.conf and ntopng.conf files with

--local-networks=<local-ip range>

After adding this parameter in both files I started to see separate traffic for RX and TX coming from Traffic Flow.

lucaderi commented 2 years ago

Implemented also in ntopng