Commit Graph

253 Commits

Author SHA1 Message Date
Christian Deacon
03d38b55e1 Update README. 2023-10-12 00:06:06 +00:00
Christian Deacon
0601364233 Revert "fix linker issue (#42)"
This reverts commit cc1e033a7f.
2023-10-11 23:04:53 +00:00
pettai
cc1e033a7f fix linker issue (#42)
fix linker issue
"undefined reference to `zip_archive_open'" ...
2023-10-11 18:47:52 -04:00
Christian Deacon
c089d82aed Make LibXDP in workflow. 2023-10-11 22:44:07 +00:00
Christian Deacon
c12496abb6 Lower MAX_FILTERS to 80 to fix error related to BPF program too large. 2023-10-11 22:05:30 +00:00
Christian Deacon
d5fe99c69a XDP tools already defines bpf_printk() now. 2023-06-19 19:12:38 +00:00
Christian Deacon
c27398ecec Indent code properly for neatness. 2023-06-19 19:11:42 +00:00
Christian Deacon
f94354685b Remove old LibBPF. 2023-06-09 09:11:53 +00:00
Christian Deacon
78e8bcdc76 Oops. 2023-06-06 21:50:11 +00:00
Christian Deacon
0c2ddd4349 Add more details to README. 2023-06-06 21:46:35 +00:00
Christian Deacon
32e316adda Update README; Prepend sudo to apt commands. 2023-06-06 21:44:04 +00:00
Christian Deacon
91d9cf814f Update GitHub workflow with new depedencies. 2023-06-06 21:35:28 +00:00
Christian Deacon
0583b0f8f2 Add comment to Makefile regarding using shared objects over static for LibXDP. 2023-06-06 21:30:03 +00:00
Christian Deacon
a85d91eed8 Add notes about move to LibXDP. 2023-06-06 21:28:58 +00:00
Christian Deacon
9e4375dbec Update README with more information since LibXDP move. 2023-06-06 21:20:57 +00:00
Christian Deacon
3d79c20479 Use LibXDP to build the projects instead. 2023-06-06 21:20:41 +00:00
Christian Deacon
d088b4b157 Implement support for LibXDP and improve code. 2023-06-06 21:20:19 +00:00
Christian Deacon
b77246c7ad Remove LibBPF sub-module in root. 2023-06-06 21:19:14 +00:00
Christian Deacon
b54c46638d Update README; Add information on error related to toolchain hardening (thanks G00g1\!). 2023-05-15 18:59:03 +00:00
Christian Deacon
75f5e8b33a Update README. 2023-05-15 18:51:52 +00:00
Christian Deacon
8fbab9bf82 Decrease max filters to 90 due to stricter kernel limitations. 2023-05-15 18:27:56 +00:00
Christian Deacon
fdc66c31fa Update README.md 2023-04-12 14:38:54 -04:00
Phil
7b577e9548 Optimizing main loop (#35)
* Mem leak fix

Memleak fix for strdup()

* Typo fix

forgot ;

* Optimizing Main Loop

Filtersmap will only be updated if there is a newer version of our config.

* Include sys/stat.h

* Added myself in the credits

Thanks for the trust
2023-01-21 17:18:11 -05:00
Phil
48b52ae645 strdup() mem leak fix (#33)
* Mem leak fix

Memleak fix for strdup()

* Typo fix

forgot ;
2023-01-18 11:44:29 -06:00
Christian Deacon
30469e8e9d Update README.md 2023-01-16 13:28:58 -05:00
Christian Deacon
c92bb69576 Create FUNDING.yml 2022-12-10 03:31:51 -05:00
Christian Deacon
9d72e71b90 Create LICENSE.md 2022-12-04 14:27:59 -06:00
Christian Deacon
e53c7ab2b0 Packet flow, not network flow. 2022-09-14 04:15:36 -05:00
Christian Deacon
f307ba9a36 Update README. 2022-09-14 04:14:27 -05:00
Christian Deacon
41e5566bea Mention (e)BPF in README. 2022-09-14 02:56:58 -05:00
Christian Deacon
d32962f3f6 Use Ethtool manual page link instead. 2022-09-14 02:44:06 -05:00
Christian Deacon
e463ed55e0 Update README. 2022-09-14 02:39:07 -05:00
Christian Deacon
0ab1b108ce Update README; Add a lot of detail. 2022-09-14 02:38:07 -05:00
gamemann
93a9fc96ff Define and use memcpy() in XDP program itself for optimization. 2022-09-08 04:03:08 +00:00
gamemann
96d8a7079f Use memcpy() to simplify and optimize code. 2022-09-07 09:24:09 +00:00
gamemann
8a77f1d4ec Add IPv6 addresses to list menu. 2022-08-27 16:17:29 +00:00
gamemann
6b7d457068 Add Git ignore file. 2022-08-27 16:01:12 +00:00
gamemann
4e69dfc060 Update README. 2022-08-27 15:57:06 +00:00
gamemann
1c41ac296b Add TCP ECE and CWR flags support. 2022-08-27 15:56:29 +00:00
gamemann
4c3f6950f9 Make help menu cleaner. 2022-08-27 15:37:29 +00:00
gamemann
3810a3695e Count PPS/BPS values themselves when matching. 2022-08-27 15:27:07 +00:00
gamemann
2a41af6be2 Fix max length/TTLs. 2022-08-27 15:26:22 +00:00
Christian Deacon
c044a99207 Merge pull request #16 from omicronn88/master
Update xdpfw.service
2022-03-27 15:55:03 -05:00
omicronn88
f63c5f1f23 Update xdpfw.service
Added ExecStopPost to unload xdp program from an interface after the service is stopped.
2022-03-27 11:12:52 +03:00
gamemann
ded517f080 Update README. 2021-12-15 20:52:35 +00:00
gamemann
6092ca3337 Add correct line breaks into help menu. 2021-12-15 20:51:50 +00:00
gamemann
5012fc9ff8 Add time flag for how long to run the program for. 2021-12-15 20:51:23 +00:00
gamemann
21b15badf6 Allocate stats with MAX_CPUS and check for NULL index to attempt to fix seg fault on issue #10. 2021-12-06 16:54:20 +00:00
gamemann
3ebb0a763b We don't need to pass using reference. 2021-12-06 16:38:47 +00:00
gamemann
ef996a6596 Check BPF stats map lookup result. 2021-12-06 16:37:39 +00:00