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 |
|
Pavel Odintsov
|
3b9701ba14
|
Fixed traffic pre_allocation logic
|
2023-07-10 16:40:02 +01:00 |
|
Pavel Odintsov
|
f6bad000a0
|
Unified logic to store attack's traffic
|
2023-07-10 15:58:32 +01:00 |
|
Pavel Odintsov
|
d0076012e6
|
Extracted attack details into separate file
|
2023-07-10 14:50:04 +01:00 |
|
Pavel Odintsov
|
323b3ea985
|
Added logic log number of entries in hash
|
2023-07-09 18:27:56 +01:00 |
|
Pavel Odintsov
|
f719832ebd
|
Implemented complete logic for attack detection
|
2023-07-09 18:20:53 +01:00 |
|
Pavel Odintsov
|
fb2928a857
|
Added logic to process filled buckets
|
2023-07-09 17:34:50 +01:00 |
|
Pavel Odintsov
|
d24a838c59
|
Added raw buffer logic for all ban and unban commands
|
2023-07-09 17:13:08 +01:00 |
|
Pavel Odintsov
|
0bde56847a
|
Improved argument sequence
|
2023-07-09 16:57:23 +01:00 |
|
Pavel Odintsov
|
c77d5c0957
|
Finished migration to new unified call_blackhole_actions_per_host
|
2023-07-09 15:50:40 +01:00 |
|
Pavel Odintsov
|
f8995223b4
|
Migrated call_unban_handlers to unified call_blackhole_actions_per_host
|
2023-07-09 15:40:09 +01:00 |
|
Pavel Odintsov
|
44ff72ea34
|
Extracted logic to store attack sample
|
2023-07-09 15:28:22 +01:00 |
|
Pavel Odintsov
|
c1e871796c
|
Improved script callback logic
|
2023-07-09 15:20:05 +01:00 |
|
Pavel Odintsov
|
e159ad10d2
|
Unified unban for script callbacks
|
2023-07-09 15:17:23 +01:00 |
|
Pavel Odintsov
|
e5cc588891
|
Unified GoBGP logic to ban and unban
|
2023-07-09 15:11:16 +01:00 |
|
Pavel Odintsov
|
4f5523ab7e
|
Unified ExaBGP ban logic to ban for ban and unban
|
2023-07-09 15:08:21 +01:00 |
|
Pavel Odintsov
|
fc77d5351d
|
Unified ban logic per action
|
2023-07-09 15:04:02 +01:00 |
|
Pavel Odintsov
|
7f631c2c18
|
Added logic to fence ban logic
|
2023-07-09 14:58:22 +01:00 |
|
Pavel Odintsov
|
353cc054ce
|
Steps to unify ban and unban logic
|
2023-07-09 14:55:11 +01:00 |
|
Pavel Odintsov
|
6c4dfd29a3
|
Unified interface for call_ban_handlers
|
2023-07-09 14:37:34 +01:00 |
|
Pavel Odintsov
|
9a77cbff66
|
Unified logic for execute_ipv6_ban
|
2023-07-09 14:04:50 +01:00 |
|
Pavel Odintsov
|
b53458d53f
|
Polished network structures and removed unused
|
2023-07-09 12:57:25 +01:00 |
|
Pavel Odintsov
|
1a8ed44b61
|
Unified bucket processing logic
|
2023-07-09 12:52:29 +01:00 |
|
Pavel Odintsov
|
94dfcbad6e
|
Improved IPv6 host traffic counters logic
|
2023-07-09 12:43:40 +01:00 |
|
Pavel Odintsov
|
b5b2d01702
|
Added logic to unban via API when hash based counetrs in use
|
2023-07-08 16:41:21 +01:00 |
|
Pavel Odintsov
|
50d863bedf
|
Added logic to verify that IP belongs our ranges during ban call via API. Added ban logic for hash based counters
|
2023-07-08 16:33:37 +01:00 |
|
Pavel Odintsov
|
6da6ab78ae
|
Added logic to return ban list when host counters enabled
|
2023-07-08 16:26:38 +01:00 |
|
Pavel Odintsov
|
22ce3c6bb3
|
Better method name
|
2023-07-08 15:34:19 +01:00 |
|
Pavel Odintsov
|
5fe2378117
|
Fixed bug in direction counters
|
2023-07-08 15:31:21 +01:00 |
|
Pavel Odintsov
|
df94f28160
|
Reworked remove_orphaned_buckets to use references. Added bucket cleanup logic for IPv4 host based counters
|
2023-07-08 15:21:40 +01:00 |
|
Pavel Odintsov
|
5382e0cd3f
|
Added logic to populate traffic buckets logic in IPv4 mode
|
2023-07-08 15:08:11 +01:00 |
|
Pavel Odintsov
|
609ea6b495
|
Enagaged logic to increment hash based counters by real traffic
|
2023-07-08 14:45:57 +01:00 |
|
Pavel Odintsov
|
1e7b7c6b7e
|
Removed empty line
|
2023-07-08 14:32:40 +01:00 |
|
Pavel Odintsov
|
7ef85e6518
|
Added logic to print traffic using hash based counters
|
2023-07-08 14:31:04 +01:00 |
|
Pavel Odintsov
|
34fc85405e
|
Removed unused argument do_redis_update; Renamed ban_list_ipv6_ng to ban_list_ipv6
|
2023-07-08 14:24:40 +01:00 |
|
Pavel Odintsov
|
7d31b28065
|
Added function to draw list of IP addresses with traffic when hash based counter was used
|
2023-07-08 14:18:20 +01:00 |
|