Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_components:utilities:oldutility:nfsen:nfsen_ext:nfsen_full_netflow [2023/09/12 09:41] – removed - external edit (Unknown date) 127.0.0.1 | en:dpi:dpi_components:utilities:oldutility:nfsen:nfsen_ext:nfsen_full_netflow [2024/09/26 15:29] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Making reports by IP ====== | ||
+ | {{indexmenu_n> | ||
+ | 1. First, add the new data receiver to nfsen configuration: | ||
+ | < | ||
+ | vi / | ||
+ | |||
+ | %sources = ( | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ); | ||
+ | </ | ||
+ | 2. Second, activate configuration changes: | ||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | 3. Enable receiving UDP to port 9999 in iptables: | ||
+ | < | ||
+ | vi / | ||
+ | -A INPUT -m state --state NEW -m udp -p udp --dport 9999 -j ACCEPT | ||
+ | service iptables restart | ||
+ | </ | ||
+ | |||
+ | 4. Activate sending the full netflow on DPI: | ||
+ | < | ||
+ | vi / | ||
+ | netflow=11 | ||
+ | netflow_full_collector=127.0.0.1: | ||
+ | netflow_passive_timeout=20 | ||
+ | netflow_active_timeout=60 | ||
+ | service fastdpi restart | ||
+ | </ | ||
+ | |||
+ | nfsen is not the best tool to study the full netflow. However, it allows to build simple reports (check the page Netflow Processing: for example, top by IP). | ||
+ | |||
+ | Full netflow sends the original port number by default. Therefore the report by protocols does not work. In order to activate coding of the protocol' |