Differences
This shows you the differences between two versions of the page.
en:nfsen_full_netflow [2015/04/05 10:59] – created translator1 | en:nfsen_full_netflow [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | 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' |