Commit Graph

17 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
783fcef19a Update XDP filter layout with port range support. 2025-03-21 18:21:31 -04:00
Christian Deacon
e9e9027fe7 Fix issues with IP range drop map. 2025-03-13 08:08:22 -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
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
b18124b071 Disable IP ranges drop map by default. 2025-03-01 13:51:18 -05:00
Christian Deacon
bab579949e Update hard-code config and types. 2025-03-01 10:39:38 -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
353aedab42 Use filter ID + 1. 2025-02-26 16:30:37 -05:00
Christian Deacon
e54fb3fe79 Add more info to filter logging. 2025-02-26 12:16:33 -05:00
Christian Deacon
8596997b98 Add filter logging. 2025-02-26 11:13:59 -05:00
Christian Deacon
eae98244b2 Move a couple constants from constants.h to config.h. 2025-02-23 07:38:03 -05:00
Christian Deacon
09491e1462 Add typedefs and organize code. 2025-02-22 10:24:21 -05:00
Christian Deacon
c7a1822ce5 Rename some config constants. 2025-02-22 10:05:49 -05:00
Christian Deacon
8756892791 Restructure project and organize code. 2025-02-22 09:50:57 -05:00