1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-26 13:14:31 +01:00
Commit Graph

3842 Commits

Author SHA1 Message Date
Pavel Odintsov
8c0cedec39
Added Windows compatibility for bgp_protocols code 2023-07-19 17:22:58 +01:00
Pavel Odintsov
337a29e58a Added cropped_tcp_header_only_ports_t to parse short TCP packets 2023-07-18 19:10:31 +01:00
Pavel Odintsov
f8dc5882ff Fixed sFlow bug on Huawei routers with too short packets. Closes #990 2023-07-18 19:08:39 +01:00
Pavel Odintsov
f2a428772c Removed old tests 2023-07-18 19:00:48 +01:00
Pavel Odintsov
2839d989af Added missing include 2023-07-18 18:46:56 +01:00
Pavel Odintsov
d4420c4990 Added complete BGP Unicast IPv4 and IPv6 implementation for native BGP operations 2023-07-18 17:52:45 +01:00
Pavel Odintsov
cbe0dfeaf9 New functions to work with prefixes 2023-07-18 16:50:50 +01:00
Pavel Odintsov
582a8292ff Sync IANA protocol numbers 2023-07-18 16:40:00 +01:00
Pavel Odintsov
7836db2091 Added dynamic buffer implementation for BGP structures 2023-07-18 16:26:28 +01:00
Pavel Odintsov
9267f1b892 No more atomic locks in traffic increment functions as we have locks on traffic structures 2023-07-12 13:30:53 +01:00
Pavel Odintsov
4a052e9a8c Reworked FastNetMon to use high efficient hash based counters to store per host traffic 2023-07-12 12:41:32 +01:00
Pavel Odintsov
64a78d1d83 Fixed bug in connection tracking logic due to double capture of mutex. Closes #988 2023-07-12 12:08:53 +01:00
Pavel Odintsov
ef3d00fb2d Fixed code alignment 2023-07-12 11:55:30 +01:00
Pavel Odintsov
560af8ed67 Improved fencing flags 2023-07-12 11:54:47 +01:00
Pavel Odintsov
e974590d23 Added logic to disable old style traffic calculation when new host based counters are in place 2023-07-12 11:49:19 +01:00
Pavel Odintsov
1be54a219e We do not enable mirror by default anymore 2023-07-12 11:41:09 +01:00
Pavel Odintsov
1ec90a9837 Complete flow tracking logic for flow based counters 2023-07-11 22:45:58 +01:00
Pavel Odintsov
04791d5868 Aligned code correctly 2023-07-11 22:36:39 +01:00
Pavel Odintsov
1c5484c3d9 Hash counters are no ready yet 2023-07-11 21:57:53 +01:00
Pavel Odintsov
72192fba83 Completely reworked flow tracking logic 2023-07-11 21:57:12 +01:00
Pavel Odintsov
c0790ac467 Eliminated unused Flow table lookup 2023-07-11 21:16:38 +01:00
Pavel Odintsov
76cf64db16 Unified interface for flow counters 2023-07-11 21:10:12 +01:00
Pavel Odintsov
e0b6696bad Reduced pointer usage in flow tracking logic 2023-07-11 20:59:47 +01:00
Pavel Odintsov
1afffbd991 Unified logic to collect flow tracking structure 2023-07-11 20:46:12 +01:00
Pavel Odintsov
407ccabd9b Unified flow increment logic 2023-07-11 20:44:48 +01:00
Pavel Odintsov
d180f93d34 Better naming for mutex variable 2023-07-11 20:40:34 +01:00
Pavel Odintsov
a2f6098606 Improved C++ standard selection logic 2023-07-11 20:22:15 +01:00
Pavel Odintsov
fc3c62a7fc Slightly altered logic to set C++ standard 2023-07-11 20:10:29 +01:00
Pavel Odintsov
f87b2cab70 Added native build on Debian side to pick up issues with new compilers 2023-07-11 19:51:19 +01:00
Pavel Odintsov
2858cc016d Added logic to try CMAKE_CXX_STANDARD for setting C++ standard version. Attempt to fix builds on Sid 2023-07-11 19:49:31 +01:00
Pavel Odintsov
d2a2672f28 Fixed typo 2023-07-11 19:11:43 +01:00
Pavel Odintsov
2c7a99688d Pbuilder automatic configuration is broken and we have to specify mirror manually: https://groups.google.com/g/linux.debian.bugs.dist/c/0CYIdLYj72M 2023-07-11 19:08:57 +01:00
Pavel Odintsov
8140ccfd98 Moved Docker distro used for upstream builds to configuration 2023-07-11 18:52:19 +01:00
Pavel Odintsov
6614812fdf Switched from Bullseye to Bookworm 2023-07-11 18:42:48 +01:00
Pavel Odintsov
1b7fb10282 Adjusted flags for Homewbrew formula 2023-07-11 18:18:32 +01:00
Pavel Odintsov
6cb765b3c3 Sync Homebrew formula 2023-07-11 18:05:57 +01:00
Pavel Odintsov
94d75c3db4 Switch to C++ 20 2023-07-11 17:58:28 +01:00
Pavel Odintsov
20de1562bb Switched to use template based function for per network traffic export 2023-07-11 13:47:02 +01:00
Pavel Odintsov
3bb8369c71 Rearranged order of functions 2023-07-11 13:39:55 +01:00
Pavel Odintsov
10f07f5cf7 Added logic to export traffic from hash based counters to InfluxDB 2023-07-11 13:37:51 +01:00
Pavel Odintsov
3738ef9f8f Added template option to configure type of data structure 2023-07-11 13:36:35 +01:00
Pavel Odintsov
f5b7cd8e31 Unified InfluxDB host traffic export logic with templates 2023-07-10 19:10:27 +01:00
Pavel Odintsov
e8c97d3314 Better logic naming 2023-07-10 18:55:22 +01:00
Pavel Odintsov
5a3b9c2a05 Rearranged logic 2023-07-10 18:53:22 +01:00
Pavel Odintsov
ffd5091fd6 Implemented complete logic to export per hostr traffic to Graphite when new hash based counters in use 2023-07-10 18:45:54 +01:00
Pavel Odintsov
34104f5f76 Added unban logic for new hash based counters 2023-07-10 18:30:09 +01:00
Pavel Odintsov
f14b56c8ce Added logic to print ban list when hash based counters in use 2023-07-10 18:00:30 +01:00
Pavel Odintsov
4288be64d0 Added loggint for hostgroup configuration 2023-07-10 17:45:08 +01:00
Pavel Odintsov
8488a4cb9d Disabled old attack logic when new hash based one is enabled 2023-07-10 17:44:12 +01:00
Pavel Odintsov
d674e7d76c
Update notify_about_attack.sh 2023-07-10 17:39:49 +01:00