Commit Graph

15 Commits

Author SHA1 Message Date
Christian Deacon
5aa3270f82 Implement both IP and flow-based rate limiting. 2025-03-23 20:35:08 -04:00
Christian Deacon
c88a010aae Rework IPv6 header matching with dynamic filters and add packet length to logging event. 2025-03-10 17:08:03 -04:00
Christian Deacon
0ac80d7452 Make sure XDP program has attached at least once. 2025-03-10 16:18:15 -04:00
Christian Deacon
ad045b5b84 Separate filter rule structures from config and BPF map. 2025-03-06 15:49:14 -05:00
Christian Deacon
916189a498 Rename functions and cmdline to cli for organization. 2025-03-06 13:49:09 -05:00
Christian Deacon
c5629a8603 Start preparing loader for xdpfw-add (rule_add) and xdpfw-del (rule_del) programs. 2025-02-27 16:25:26 -05:00
Christian Deacon
47753af3d5 Change default log file path and clean up some code. 2025-02-27 07:03:41 -05:00
Christian Deacon
ca933d4a12 Improve stdout when logging messages. 2025-02-26 17:59:47 -05:00
Christian Deacon
09e3665472 Move some logic from main loader program to logging source file. 2025-02-26 17:02:31 -05:00
Christian Deacon
353aedab42 Use filter ID + 1. 2025-02-26 16:30:37 -05:00
Christian Deacon
073f656da1 Improve stats output. 2025-02-26 12:31:16 -05:00
Christian Deacon
e54fb3fe79 Add more info to filter logging. 2025-02-26 12:16:33 -05:00
Christian Deacon
f27481fb3b Add comment to HandleRbEvent() function. 2025-02-26 12:01:10 -05:00
Christian Deacon
8596997b98 Add filter logging. 2025-02-26 11:13:59 -05:00
Christian Deacon
bf761af250 Implement new logging system. 2025-02-26 09:56:28 -05:00