Christian Deacon
|
4c9c11c6b1
|
Remove references to payload matching.
|
2020-07-25 14:24:05 +00:00 |
|
Christian Deacon
|
9c19e1eb8c
|
Add define for incrementing blocked stats when the source IP is on the blocked map.
|
2020-06-04 18:22:07 +00:00 |
|
Christian Deacon
|
f7a2f0ccfb
|
Move stats map initialization and increase blocked count for source IPs on blocked map.
|
2020-06-04 18:06:12 +00:00 |
|
Christian Deacon
|
af26940018
|
Use built-in Atomic functions to increment values on maps.
|
2020-06-04 17:57:30 +00:00 |
|
Christian Deacon
|
8faf701446
|
Switch to single LRU maps since we can't reliably read per CPU maps within BPF program.
|
2020-06-04 17:06:50 +00:00 |
|
Christian Deacon
|
d5d3f02317
|
Remove filterID and tried new payload matching code (not working).
|
2020-06-04 17:04:17 +00:00 |
|
Christian Deacon
|
e40beb6d1e
|
Fixed segfault from changing payload matching length.
|
2020-05-21 00:13:24 +00:00 |
|
Christian Deacon
|
57da5c8bdb
|
Changed blocktime from uint16_t to uint64_t.
|
2020-05-17 22:45:07 +00:00 |
|
Christian Deacon
|
c628afcbb8
|
Optimized code.
|
2020-05-07 13:41:37 +00:00 |
|
Christian Deacon
|
c505d2b97d
|
Reset block time.
|
2020-05-07 13:30:15 +00:00 |
|
Christian Deacon
|
d17f5a4f54
|
Added blocktime filter option and optimized code.
|
2020-05-07 13:18:43 +00:00 |
|
Christian Deacon
|
f8730a511c
|
Disabled debug.
|
2020-05-07 04:50:05 +00:00 |
|
Christian Deacon
|
f802267fad
|
Change ip_stats_map's map type to support maximum IPs.
|
2020-05-07 04:32:53 +00:00 |
|
Christian Deacon
|
d2a65ae389
|
Raise rlimit in loader.
|
2020-05-07 04:32:09 +00:00 |
|
Christian Deacon
|
4d5eb050bd
|
Cleaned code.
|
2020-05-07 04:05:54 +00:00 |
|
Christian Deacon
|
5a4cda8d70
|
Added PPS and BPS options. Cleaned code.
|
2020-05-07 03:37:32 +00:00 |
|
Christian Deacon
|
9f19b0ee1a
|
Disable debug for release.
|
2020-05-06 03:30:42 +00:00 |
|
Christian Deacon
|
7f6b5a0ef6
|
Updated XDP program (not payload matching support).
|
2020-05-06 03:27:09 +00:00 |
|
Christian Deacon
|
138b3de1cc
|
Checkpoint (close to finished).
|
2020-05-06 02:11:38 +00:00 |
|
Christian Deacon
|
f20776cc70
|
Reworked matching logic in XDP.
|
2020-05-06 00:32:16 +00:00 |
|
Christian Deacon
|
e4632530ed
|
Redid XDP prgoram.
|
2020-05-05 23:58:48 +00:00 |
|
Christian Deacon
|
f88a52f792
|
Improved config and added additional functionality.
|
2020-05-05 23:58:34 +00:00 |
|
Christian Deacon
|
66364a1f6b
|
Fixed segfault crashes and improved code.
|
2020-05-05 16:35:24 +00:00 |
|
Christian Deacon
|
6e509031e3
|
Updated help menu.
|
2020-05-05 13:57:49 +00:00 |
|
Christian Deacon
|
218f1c646b
|
Organized code.
|
2020-05-05 13:56:52 +00:00 |
|
Christian Deacon
|
988cf4f6d0
|
Added list option for printing config.
|
2020-05-05 13:56:23 +00:00 |
|
Christian Deacon
|
209142f2e0
|
Added check for BPF maps
|
2020-05-05 13:42:07 +00:00 |
|
Christian Deacon
|
5b3458b5a0
|
Added XDP code (not finished).
|
2020-05-05 02:51:53 +00:00 |
|
Christian Deacon
|
1f99af791a
|
Completed loader code.
|
2020-05-05 02:51:25 +00:00 |
|
Christian Deacon
|
9243405538
|
Added config code
|
2020-05-05 02:51:02 +00:00 |
|
Christian Deacon
|
5ab43372fc
|
Added base code and command line.
|
2020-05-04 18:42:42 +00:00 |
|
Christian Deacon
|
4d7478b607
|
Add config skeletons.
|
2020-05-04 18:13:37 +00:00 |
|
Christian Deacon
|
56c58d9920
|
Add skeletons of program.
|
2020-05-04 18:11:01 +00:00 |
|