Commit Graph

240 Commits

Author SHA1 Message Date
Pavel Odintsov 26d29eee83
Added InfluxDB support (#905) 2020-12-24 01:06:04 +00:00
Pavel Odintsov f92b05bc39
Extracted Graphite logic into separate module (#903) 2020-12-22 23:16:10 +00:00
Pavel Odintsov 5fb892eb55 Extracted API implementation into separate file 2020-12-13 18:36:08 +00:00
Pavel Odintsov a7357e3ee0
Implemented BGP community parsers logic (#895) 2020-12-06 14:49:15 +00:00
Pavel Odintsov 93bea219f3 Added logic to completely suppress traffic log collection. Remediation for crashes 2020-11-27 12:29:57 +00:00
Pavel Odintsov e2369d2283
Implemented logic to unban blocked IPv6 hosts (#889) 2020-11-25 00:30:26 +00:00
Pavel Odintsov ff69f6f42a
Added all required pieces for IPv6 blocks (#887) 2020-11-24 22:51:21 +00:00
Pavel Odintsov 675293bda3
Added proper storage for captured IPv6 packets (#885) 2020-11-15 21:48:04 +00:00
Pavel Odintsov ef7dbfd649
Added fixed storage and renamed types for consistency (#884) 2020-11-15 21:11:36 +00:00
Pavel Odintsov fd8930b27e Includes cleanup for main file 2020-11-15 15:19:31 +00:00
Pavel Odintsov cd3f002a90
Added logic to show total IPv6 counters in fastnetmon_client (#880) 2020-11-15 13:49:02 +00:00
Pavel Odintsov 203da029ea
Unified packet processing path (#878) 2020-11-15 01:41:18 +00:00
Pavel Odintsov e9b0b273d6
We have to revert process internal as external logic because it make migration to new counters logic impossible (#877) 2020-11-14 23:45:42 +00:00
Pavel Odintsov 6f62a77b16
Moved logic to unified functions (#876) 2020-11-14 23:19:13 +00:00
Pavel Odintsov e3344cb726
Added logic to maintain metrics for structures with arbitrary key structure (#875) 2020-11-14 22:35:32 +00:00
Pavel Odintsov 2c20dab66c
Added logic to track total number of IPv6 packets (#874) 2020-11-14 21:45:24 +00:00
Pavel Odintsov cc63c04334 Removed obsoleted PoC IPv6 logic 2020-11-14 19:50:03 +00:00
Pavel Odintsov dac452abbf Fix for PF_RING deprecation and switched to http for boots download on Debian 8 2020-10-31 17:35:41 +00:00
Pavel Odintsov 6dc575095b Deprecated PF_RING filters compeltely 2020-10-31 17:24:23 +00:00
Pavel Odintsov d021179c73
Another stage of big refactoring (#871) 2020-10-31 15:57:13 +00:00
Pavel Odintsov d51ad89ac7
Second step of business logic refactoring (#870) 2020-10-31 15:22:41 +00:00
Pavel Odintsov 3ead151c1d
Introduced fastnetmon_logic which will keep keep all business logic functions (#869) 2020-10-31 14:22:22 +00:00
Pavel Odintsov b3e63df7eb
Added support for sending capnp encoded messages (#865) 2020-10-23 23:22:55 +01:00
Pavel Odintsov da30452fc1
Removed Snabb Switch support. Closes #858 (#859) 2020-09-27 12:22:50 +01:00
Pavel Odintsov 7abcdbf8ee Implemented logic to properly track internal traffic for incoming and outgoing directions 2020-09-26 20:40:28 +01:00
Pavel Odintsov bf4213fa4f
Added option to process intrenal traffic as external for attack detection purposes. Closes #856 (#857) 2020-09-25 18:35:35 +01:00
Pavel Odintsov 9bb0cd085b
Implemented option to configure delay between traffic recalculations: speed_calculation_delay (#850) 2020-08-28 22:52:07 +01:00
Pavel Odintsov 47720f899f Changed URL to official site 2020-08-02 16:15:30 +01:00
Pavel Odintsov add9b4a02b
Introduced new parser for traffic. Closes #837 (#838) 2020-08-02 13:12:42 +01:00
Jasper Lievisse Adriaanse c3303f46de
include sys/socket.h before net/if_arp.h (#825)
On least OpenBSD this is required as otherwise the build fails with:
/usr/include/net/if_arp.h:79:18: error: field has incomplete type 'struct sockaddr'
2020-07-29 21:25:29 +01:00
Pavel Odintsov 20150977a5
Made option to read list of networks from OpenVZ configurable and optional (#831) 2020-07-29 21:20:37 +01:00
Pavel Odintsov dc69c35deb Removed ldconfig changes, added conf option flag, added FNM run on CI after build 2020-05-26 20:46:44 +01:00
Pavel Odintsov d398b57c4f GoBGP unused code cleanup, added support for per subnet builds 2020-05-24 15:11:01 +01:00
Pavel Odintsov 602f56b920 Suppressed compilation warnings. Closes #806 2020-05-24 13:35:20 +01:00
Pavel Odintsov dd248303d3 Unified log4cpp headers and suppressed deprecation errors. Closes #805 2020-05-24 13:12:21 +01:00
Pavel Odintsov 28ba87717a Fixed issue with hunging API server. Closes: #804 2020-05-24 02:23:33 +01:00
Pavel Odintsov be8afbd1b7 Reformatted source code with clang-format 2020-05-23 19:55:10 +01:00
Yasser Bazzi 50d9706b0f Remove useless booleans. (#780)
These booleans are not used anywhere on the code.
2019-11-08 02:06:04 +00:00
Pavel Odintsov 978289dd29
Fixed insecure permissions for /tmp/fastnetmon.dat (#749) 2018-12-19 23:06:51 +00:00
Alexander Astashov bccc10d50d issues/682 v4 (#727)
Added support for host addresses in whitelist.  Closes #682
2018-08-02 23:55:01 +01:00
Jasper Lievisse Adriaanse d02c20b3e8 add support for OpenBSD 2018-07-11 16:41:24 +02:00
Pavel Odintsov d5711bb3da Added support for Memory Model Aware Atomic Operations 2018-02-04 13:10:57 +00:00
Benjamin Drung 10afb25751 Support nDPI 2.2
nDPI 2.0 renamed detected_protocol.protocol to
detected_protocol.app_protocol (to avoid confusion).

fixes #699
Bug-Debian: https://bugs.debian.org/887623
2018-01-30 10:46:39 +01:00
Pavel Odintsov b480f3590f Introduced an option to disable Netmap plugin 2017-07-27 23:19:33 +01:00
Benjamin Drung 70da8c54c6 Fix typo criticial -> critical
Fix typo and use full sentences.
2017-05-08 17:14:33 +02:00
Benjamin Drung 6b09a7b190 Fix typo programm -> program 2017-05-08 16:21:52 +02:00
Pavel Odintsov d08f617aee #651: reduced logging level for threshold related messages 2017-04-17 21:49:17 +03:00
Джуринский Александр 1b5c0b9cc8 add txt extension for attacks details files 2016-11-27 00:06:09 +03:00
Pavel Odintsov a1659df66a Merge pull request #595 from evgkrsk/unify-logging
Try to unify syslog logging with local file logging
2016-11-18 23:25:35 +00:00
Alexandr Dzhurinskij 6bed9dcea2 Add custom path to log file 2016-11-09 18:45:56 +03:00