391 Commits

Author SHA1 Message Date
Christian Deacon
cb3af158f0 Merge pull request #59 from gamemann/20250226-logging
Logging System Overhaul
2025-02-26 13:09:37 -05:00
Christian Deacon
4709696085 Update README. 2025-02-26 13:01:28 -05:00
Christian Deacon
726e6f700f Update demos. 2025-02-26 12:59:42 -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
53e801be8f Set verbose to 2 by default. 2025-02-26 11:59:18 -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
75ee52555c Update README. 2025-02-26 11:21:12 -05:00
Christian Deacon
8596997b98 Add filter logging. 2025-02-26 11:13:59 -05:00
Christian Deacon
3878bacb71 Update README. 2025-02-26 09:58:13 -05:00
Christian Deacon
bf761af250 Implement new logging system. 2025-02-26 09:56:28 -05:00
Christian Deacon
b943c0d5f7 Update help menu in install.sh. 2025-02-24 18:54:51 -05:00
Christian Deacon
801cb3b47c Merge pull request #58 from gamemann/20250224-include-improvements
Clean Up Includes
2025-02-24 16:25:11 -05:00
Christian Deacon
e14f980107 Improve verbose output. 2025-02-24 16:03:37 -05:00
Christian Deacon
de429d143f Build the project using LIBXDP_STATIC=1 by default. 2025-02-24 15:59:29 -05:00
Christian Deacon
d288a78775 Restructure includes. 2025-02-24 15:35:23 -05:00
Christian Deacon
42738c7670 Optimize looping through filters when updating them. 2025-02-24 14:58:11 -05:00
Christian Deacon
c6db811db1 Update README. 2025-02-23 17:47:33 -05:00
Christian Deacon
f5d9d3a8d5 Update workflow and Makefile. 2025-02-23 17:31:36 -05:00
Christian Deacon
816960bf39 Add build/install scripts and improve README. 2025-02-23 17:27:27 -05:00
Christian Deacon
f771412f6e Update README. 2025-02-23 07:58:04 -05:00
Christian Deacon
c3965b8772 Merge pull request #57 from gamemann/20250223-morerestructuring
More Restructuring & Cleanup
2025-02-23 07:56:39 -05:00
Christian Deacon
6047718c6a Add another note. 2025-02-23 07:43:12 -05:00
Christian Deacon
247b752e4a Update comment note. 2025-02-23 07:41:51 -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
6b9b101a62 Organize Makefile. 2025-02-23 07:32:59 -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
e5c11bb20c Organize codeand potentially increase performance in XDP program. 2025-02-23 07:15:37 -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
28c99fe1ec Check for detach mode before verbose output. 2025-02-23 06:42:16 -05:00
Christian Deacon
ea47a7a435 Cleanup and organize a lot of Loader code. 2025-02-23 06:34:37 -05:00
Christian Deacon
b27558cee7 Update Makefile. 2025-02-23 06:34:06 -05:00
Christian Deacon
3b55e4dded Add Loader XDP source files. 2025-02-23 06:33:56 -05:00
Christian Deacon
b6b43b67c2 Add Loader stats source files. 2025-02-23 06:33:40 -05:00
Christian Deacon
1f1c76854b Improve generic code. 2025-02-22 21:31:45 -05:00
Christian Deacon
2a1dbc6626 Remove unused variables inside of Makefile. 2025-02-22 12:22:21 -05:00
Christian Deacon
422d23e87b Fix build error with LIBBPF_LIBXDP_STATIC=1 due to missing LibBPF and LibXDP object files when linking and simplify build process further. 2025-02-22 12:15:57 -05:00
Christian Deacon
324405ac26 Update XDP Tools submodule. 2025-02-22 12:00:16 -05:00
Christian Deacon
fd765890e9 Rename loader.c to prog.c for organization. 2025-02-22 11:50:13 -05:00
Christian Deacon
e3b1f04c11 Organize cmdline util. 2025-02-22 11:41:48 -05:00
Christian Deacon
060aafbaf5 Add note in README. 2025-02-22 11:41:21 -05:00
Christian Deacon
117ec22632 Oops, remove LibXDP install in run workflow. 2025-02-22 10:59:07 -05:00
Christian Deacon
179cbeab6a Add support for linking LibBPF and LibXDP object files inside of Makefile if LIBBPF_LIBXDP_STATIC is 1. 2025-02-22 10:56:49 -05:00
Christian Deacon
73cf82303e We need to install LibXDP inside of the run workflow. 2025-02-22 10:46:20 -05:00
Christian Deacon
155e263368 Merge branch 'master' of github.com:gamemann/XDP-Firewall 2025-02-22 10:42:53 -05:00
Christian Deacon
0efcdb413a Update build workflow. 2025-02-22 10:42:03 -05:00