AbdulOmar
c0543b2036
Unpin block IPv6 map only if IPV6 is enabled ( #82 )
...
There's no need to try to unpin the map if its not enabled at first. Just to prevent:
[WARNING] Failed to un-pin BPF map 'map_block6' from file system (1)
2025-10-07 18:32:17 -04:00
An Bool
a924233b46
Enable Pinning for map_stats ( #78 )
...
Co-authored-by: Christian Deacon <christianmdeacon@gmail.com >
2025-06-21 18:04:40 -04:00
Christian Deacon
2060f41081
Add option to disable IPv6 to speed up performance of XDP program.
2025-03-25 11:25:15 -04:00
Christian Deacon
d5c2413838
Clean up code.
2025-03-10 18:04:14 -04:00
Christian Deacon
0ac80d7452
Make sure XDP program has attached at least once.
2025-03-10 16:18:15 -04:00
Christian Deacon
5d7ca715d1
Implement support for multiple interfaces and improve code.
2025-03-10 16:08:43 -04: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
5f817f466b
Fix issue with updating IPv6 client stats and rename map names.
2025-02-27 07:09:30 -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
09e3665472
Move some logic from main loader program to logging source file.
2025-02-26 17:02:31 -05:00
Christian Deacon
073f656da1
Improve stats output.
2025-02-26 12:31:16 -05:00
Christian Deacon
b3a9693d80
Add tool info function.
2025-02-26 11:57:48 -05:00
Christian Deacon
24db0f6bda
Fix error.
2025-02-26 11:49:53 -05:00
Christian Deacon
8b91e59364
Set custom LibXDP/LibBPF logging.
2025-02-26 11:48:38 -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
e14f980107
Improve verbose output.
2025-02-24 16:03:37 -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
f093bf96c4
Add more error handling when detaching XDP program.
2025-02-23 06:42:37 -05:00
Christian Deacon
ea47a7a435
Cleanup and organize a lot of Loader code.
2025-02-23 06:34:37 -05:00
Christian Deacon
1f1c76854b
Improve generic code.
2025-02-22 21:31:45 -05:00
Christian Deacon
fd765890e9
Rename loader.c to prog.c for organization.
2025-02-22 11:50:13 -05:00