Commit Graph

68 Commits

Author SHA1 Message Date
Pavel Odintsov bcb4902fdb Cappend number of flows per Netflow v9 packet to avoid infinite loop 2021-01-23 19:21:28 +00:00
Pavel Odintsov f97385e3bc Expose Netflow metrics via system counters 2021-01-23 19:01:52 +00:00
Pavel Odintsov f7e0226690 IMproved logging to avoid duplicates and enabled IPFIX logic 2021-01-23 18:54:00 +00:00
Pavel Odintsov 72a4ec3d6f Added logic to apply IPFIX sampling rate 2021-01-23 18:23:37 +00:00
Pavel Odintsov a82cd92cdb Added logic to track IPFIX sampling rate per device basis 2021-01-23 17:30:35 +00:00
Pavel Odintsov e3253963c0 Added logic to decode flow end reason and selector metrics for Netflow Lite 2021-01-23 14:56:11 +00:00
Pavel Odintsov 82b3154aaa Added logic to parse IPFIX options templates 2021-01-23 14:42:11 +00:00
Pavel Odintsov 7dce4ff003 Netflow plugin performance optimisations 2021-01-23 14:12:55 +00:00
Pavel Odintsov c3b04103cc Added missing include for std::thread for Netflow code 2020-08-29 13:51:39 +01:00
Pavel Odintsov bc095bc1c3
Completely reworked Netflow and IPFIX support logic (#851) 2020-08-29 00:59:36 +01:00
Pavel Odintsov add9b4a02b
Introduced new parser for traffic. Closes #837 (#838) 2020-08-02 13:12:42 +01:00
Pavel Odintsov dd248303d3 Unified log4cpp headers and suppressed deprecation errors. Closes #805 2020-05-24 13:12:21 +01:00
Pavel Odintsov be8afbd1b7 Reformatted source code with clang-format 2020-05-23 19:55:10 +01:00
Pavel Odintsov 1fdde91cbb Fixed bunch of paths to old versions of FNM 2017-12-03 21:22:11 +00:00
Benjamin Drung 6b09a7b190 Fix typo programm -> program 2017-05-08 16:21:52 +02:00
Pavel Odintsov 12b31c67ae Disable annoying message "Received ipfix options flowset id, which is not supported" 2016-08-26 21:40:09 +03:00
Pavel Odintsov 8818374446 Fix memset issue. Could broke not initilized fields of data_in_ipfix_format strcucture. Related #499 2016-03-01 10:39:25 +03:00
Stefan Behte 57bb52e122 small typo/grammar fixes 2015-09-18 14:07:51 +02:00
Pavel Odintsov c44575399a Disable useless logging for netflow_divide_counters_on_interval_length. Related #364 2015-08-11 10:55:44 +02:00
Pavel Odintsov b0fa621e20 Dosable lua hooks for sFLOW and NetFlow by default 2015-08-03 11:14:08 +02:00
Pavel Odintsov 536aab044e Disable flood messages about 32 bit snmp port number for netflow v9. Closes #336 2015-07-21 23:20:22 +03:00
Pavel Odintsov 2195342c4a Grant simple access to incoming and outgping ports for netflow 2015-07-13 15:21:02 +02:00
Pavel Odintsov c540f44013 Add support for LUA processors for sFLOW 2015-07-03 12:18:15 -04:00
Pavel Odintsov ace71c64b0 Code unification for LuaJIT 2015-07-03 18:14:43 +03:00
Pavel Odintsov 7e3e894367 Add params for init_lua fucntion 2015-07-03 18:06:00 +03:00
Pavel Odintsov 9f8080a5f6 LUA code unification 2015-07-03 18:01:18 +03:00
Pavel Odintsov f7740f6b8c Add ability to listen multiple netflow ports 2015-07-01 17:09:51 +03:00
Pavel Odintsov 76eb90d538 Separate collection logic with plugin initilization for sFLOW and NetFLOW 2015-07-01 16:45:48 +03:00
Pavel Odintsov ef7cd5e5a8 Add missing return 2015-06-23 17:43:43 -04:00
Pavel Odintsov 50311128c7 Add check for return value for luaL_newstate 2015-06-23 17:39:04 -04:00
Pavel Odintsov 9fbd4bb1bc Fix path for headers to LUAjit 2015-06-23 02:21:21 -04:00
Pavel Odintsov 5ef2880837 For for LUA 2015-06-22 05:18:26 -04:00
Pavel Odintsov 318f59c21f Add ability to process flow with LUA. So much magic there! 2015-06-22 04:52:56 -04:00
Pavel Odintsov 4eb385f21c Add support for LUA into Netflow v5 plugin. Since this commit we could drop or pass flows to processing according to rich logic 2015-06-22 04:19:04 -04:00
Pavel Odintsov 8b7edb8a5c Add interface numebrs decoder for netflow v5 2015-06-22 02:46:23 -04:00
Pavel Odintsov 5c1b4ca602 Switch to thread groups for netmap master processes; Switch to thread group for service threads of FastNetMon. Add interrupts to netflow, sflow code for correct toolkit shutdown and CTRL+C handling. Enable 3 second timeout for sflow and netflow servers. 2015-06-18 12:58:48 -04:00
Pavel Odintsov 537c1ffd57 Add IPv6 address structures to abstract packet class 2015-06-18 13:07:55 +03:00
Pavel Odintsov 547ea39486 Well, we assume sys uptime in seconds but actually it's milliseconds, fix it 2015-06-17 14:38:52 +03:00
Pavel Odintsov ea6ae01475 Fix alignment 2015-06-17 14:29:38 +03:00
Pavel Odintsov df8a625268 Add peer address in netflow dumps 2015-06-17 14:22:12 +03:00
Pavel Odintsov 2353ee40b0 Do not log zero timeout 2015-06-17 14:16:02 +03:00
Pavel Odintsov 3080ccfddc Switch debug code to log 2015-06-17 14:13:22 +03:00
Pavel Odintsov 8d8e92cba3 Add ability to divide netflow sampled traffic on sampling period. Closes #296 2015-06-17 12:40:09 +03:00
Pavel Odintsov 7560f7a1b6 Fix for zero sampling ratio. Closes: #288 2015-06-16 10:56:04 +03:00
Pavel Odintsov 6d80750528 Remove debug; Since this commit NetFlow v5 stream could read sampling ration from PDUs. Related: #238 2015-06-15 05:26:16 -04:00
Pavel Odintsov 1b4f0fc47c Add code for NetFLOW v5 sample handler 2015-06-15 12:14:30 +03:00
Pavel Odintsov 657d811968 Switch to 16 byte sampler fiel for netflow v5 2015-05-30 00:53:10 +03:00
Pavel Odintsov a43dfac47e Add documentation about netflow v5 sampling implementation 2015-05-29 18:46:12 +03:00
Pavel Odintsov e6e2ea6235 Fix pcap reader toolkit 2015-05-29 16:28:10 +03:00
Pavel Odintsov a80f0b44f2 Complete code reformat with clang-format 2015-05-15 13:55:52 +03:00