Commit Graph

23 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
6651f731b5 Add port range support to config. 2025-03-21 18:21:50 -04:00
Christian Deacon
5a6fff2ba6 Revert interface setting rename so it doesn't break existing configurations. 2025-03-10 19:30:00 -04:00
Christian Deacon
a2a11cf6a3 Change block time type in xdpfw-add util. 2025-03-10 19:04:51 -04:00
Christian Deacon
5d7ca715d1 Implement support for multiple interfaces and improve code. 2025-03-10 16:08:43 -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
2019029a4d Continue preparing Loader for new features. 2025-03-01 10:39:11 -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
776dec5366 Update README. 2025-02-27 08:28:25 -05:00
Christian Deacon
5f817f466b Fix issue with updating IPv6 client stats and rename map names. 2025-02-27 07:09:30 -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
c631266061 Optimize inserting filters into BPF map. 2025-02-27 06:59:52 -05:00
Christian Deacon
9d7549e39d Add CLI overrides for config values. 2025-02-26 20:29:53 -05:00
Christian Deacon
c567a028ed Add option to calculate packet counters per second. 2025-02-26 18:53:14 -05:00
Christian Deacon
53e801be8f Set verbose to 2 by default. 2025-02-26 11:59:18 -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
Christian Deacon
6298d7ee17 conf_stat shouldn't be global and organize more code. 2025-02-23 07:26:51 -05:00
Christian Deacon
4e7c563274 Add better error handling to loader. 2025-02-23 07:15:12 -05:00
Christian Deacon
ea47a7a435 Cleanup and organize a lot of Loader code. 2025-02-23 06:34:37 -05:00
Christian Deacon
09491e1462 Add typedefs and organize code. 2025-02-22 10:24:21 -05:00
Christian Deacon
8756892791 Restructure project and organize code. 2025-02-22 09:50:57 -05:00