Commit Graph

  • 0583b0f8f2 Add comment to Makefile regarding using shared objects over static for LibXDP. Christian Deacon 2023-06-06 21:30:03 +00:00
  • a85d91eed8 Add notes about move to LibXDP. Christian Deacon 2023-06-06 21:28:58 +00:00
  • 9e4375dbec Update README with more information since LibXDP move. Christian Deacon 2023-06-06 21:20:57 +00:00
  • 3d79c20479 Use LibXDP to build the projects instead. Christian Deacon 2023-06-06 21:20:41 +00:00
  • d088b4b157 Implement support for LibXDP and improve code. Christian Deacon 2023-06-06 21:20:19 +00:00
  • b77246c7ad Remove LibBPF sub-module in root. Christian Deacon 2023-06-06 21:19:14 +00:00
  • b54c46638d Update README; Add information on error related to toolchain hardening (thanks G00g1\!). Christian Deacon 2023-05-15 18:59:03 +00:00
  • 75f5e8b33a Update README. Christian Deacon 2023-05-15 18:51:52 +00:00
  • 8fbab9bf82 Decrease max filters to 90 due to stricter kernel limitations. Christian Deacon 2023-05-15 18:27:56 +00:00
  • fdc66c31fa Update README.md Christian Deacon 2023-04-12 14:38:54 -04:00
  • 7b577e9548 Optimizing main loop (#35) Phil 2023-01-22 00:18:11 +02:00
  • 48b52ae645 strdup() mem leak fix (#33) Phil 2023-01-18 19:44:29 +02:00
  • 30469e8e9d Update README.md Christian Deacon 2023-01-16 13:28:58 -05:00
  • c92bb69576 Create FUNDING.yml Christian Deacon 2022-12-10 03:31:51 -05:00
  • 9d72e71b90 Create LICENSE.md Christian Deacon 2022-12-04 14:27:59 -06:00
  • e53c7ab2b0 Packet flow, not network flow. Christian Deacon 2022-09-14 04:15:36 -05:00
  • f307ba9a36 Update README. Christian Deacon 2022-09-14 04:14:27 -05:00
  • 41e5566bea Mention (e)BPF in README. Christian Deacon 2022-09-14 02:56:58 -05:00
  • d32962f3f6 Use Ethtool manual page link instead. Christian Deacon 2022-09-14 02:44:06 -05:00
  • e463ed55e0 Update README. Christian Deacon 2022-09-14 02:39:07 -05:00
  • 0ab1b108ce Update README; Add a lot of detail. Christian Deacon 2022-09-14 02:38:07 -05:00
  • 93a9fc96ff Define and use memcpy() in XDP program itself for optimization. gamemann 2022-09-08 04:03:08 +00:00
  • 96d8a7079f Use memcpy() to simplify and optimize code. gamemann 2022-09-07 09:24:09 +00:00
  • 8a77f1d4ec Add IPv6 addresses to list menu. gamemann 2022-08-27 16:17:29 +00:00
  • 6b7d457068 Add Git ignore file. gamemann 2022-08-27 16:01:12 +00:00
  • 4e69dfc060 Update README. gamemann 2022-08-27 15:57:06 +00:00
  • 1c41ac296b Add TCP ECE and CWR flags support. gamemann 2022-08-27 15:56:29 +00:00
  • 4c3f6950f9 Make help menu cleaner. gamemann 2022-08-27 15:37:29 +00:00
  • 3810a3695e Count PPS/BPS values themselves when matching. gamemann 2022-08-27 15:27:07 +00:00
  • 2a41af6be2 Fix max length/TTLs. gamemann 2022-08-27 15:26:22 +00:00
  • c044a99207 Merge pull request #16 from omicronn88/master Christian Deacon 2022-03-27 15:55:03 -05:00
  • f63c5f1f23 Update xdpfw.service omicronn88 2022-03-27 11:12:52 +03:00
  • ded517f080 Update README. gamemann 2021-12-15 20:52:35 +00:00
  • 6092ca3337 Add correct line breaks into help menu. gamemann 2021-12-15 20:51:50 +00:00
  • 5012fc9ff8 Add time flag for how long to run the program for. gamemann 2021-12-15 20:51:23 +00:00
  • 21b15badf6 Allocate stats with MAX_CPUS and check for NULL index to attempt to fix seg fault on issue #10. gamemann 2021-12-06 16:54:20 +00:00
  • 3ebb0a763b We don't need to pass using reference. gamemann 2021-12-06 16:38:47 +00:00
  • ef996a6596 Check BPF stats map lookup result. gamemann 2021-12-06 16:37:39 +00:00
  • 5591f1ace7 Update README. Christian Deacon 2021-12-06 03:22:14 -06:00
  • 4adc0e4791 Update build workflow. Christian Deacon 2021-12-06 03:18:29 -06:00
  • c5fc55df13 Install LibConfig and LibELF. Christian Deacon 2021-12-06 01:48:45 -06:00
  • dbf5b754f0 Add execute permissions. Christian Deacon 2021-12-06 01:44:34 -06:00
  • 123a48311b Run file as root. Christian Deacon 2021-12-06 01:39:41 -06:00
  • e680661a95 Update README. Christian Deacon 2021-12-06 01:38:38 -06:00
  • 067ce603f7 Run correct file. Christian Deacon 2021-12-06 01:37:54 -06:00
  • 2dc604343d Try listing files. Christian Deacon 2021-12-06 01:36:08 -06:00
  • 1afe43d18c Use renamed artifact. Christian Deacon 2021-12-06 01:33:34 -06:00
  • 2fa1c8a9b3 Rename artifact. Christian Deacon 2021-12-06 01:33:02 -06:00
  • 525f11cb74 Download artifact from Build workflow in Run. Christian Deacon 2021-12-06 01:27:57 -06:00
  • 4e578b0c38 Store artifact from Build workflow. Christian Deacon 2021-12-06 01:25:17 -06:00
  • 79f884b96c Require Build workflow. Christian Deacon 2021-12-06 01:14:56 -06:00
  • c7745d2a30 Attempt to make Build workflow reusable. Christian Deacon 2021-12-06 01:06:21 -06:00
  • 59f707507e Use master branch. Christian Deacon 2021-12-06 01:03:17 -06:00
  • 1c695bca20 Attempt to fix Run workflow. Christian Deacon 2021-12-06 01:02:37 -06:00
  • d0a2322e76 Update Run workflow again. Christian Deacon 2021-12-06 00:59:26 -06:00
  • aaef1a8268 Update Run workflow. Christian Deacon 2021-12-06 00:57:06 -06:00
  • 8243d187bb Create Run workflow. Christian Deacon 2021-12-06 00:56:03 -06:00
  • 7f44988d46 Update README. Christian Deacon 2021-12-06 00:45:02 -06:00
  • 265637deff Add Build workflow. Christian Deacon 2021-12-06 00:42:31 -06:00
  • 0dac160065 Remove stdint.h include since it's not needed inside of BPF program. gamemann 2021-11-16 00:35:57 +00:00
  • 7964f8986a Move defines to header file for XDP program. gamemann 2021-11-16 00:33:30 +00:00
  • e56a8e64ec Remove linux/types.h include from BPF program. gamemann 2021-11-16 00:32:25 +00:00
  • 5e53d30f86 Merge pull request #7 from OpenSource03/master Christian Deacon 2021-11-15 18:30:46 -06:00
  • bfaa78ff7a Update README.md OpenSource 2021-11-15 21:37:40 +01:00
  • 8b49ba87e0 Use LLVM to compile XDP program. gamemann 2021-11-13 01:39:43 +00:00
  • 7c061a2570 Include Linux types in XDP program. gamemann 2021-11-13 01:14:17 +00:00
  • 8eee71d366 Organize Makefile further. gamemann 2021-11-12 21:34:00 +00:00
  • 1e11016bdf Organize Makefile. gamemann 2021-11-12 21:33:20 +00:00
  • 55f19dd192 Adjust Makefile for libbpf. gamemann 2021-11-12 21:25:19 +00:00
  • f8f1e48901 Set libbpf to commit 7fc4d50 since latest doesn't work. gamemann 2021-11-12 21:25:12 +00:00
  • ed89cfed28 Only set ifindex in attributes if hardware offload is set. gamemann 2021-11-12 21:23:44 +00:00
  • d9d6167b4b Add one more check. gamemann 2021-11-12 21:14:20 +00:00
  • fe09dece3a Check IP header validity everywhere else. gamemann 2021-11-12 21:12:50 +00:00
  • 437a3eb45b Check IP header validity instead of ethernet protocol. gamemann 2021-11-12 21:09:53 +00:00
  • c81987ceeb Initialize headers as NULL. gamemann 2021-11-12 21:07:30 +00:00
  • 83e801f36c Check for IPv6 header validity itself and remove unneeded check. gamemann 2021-11-12 21:07:12 +00:00
  • 6f7911059f Rename ethernet header variable to eth. gamemann 2021-11-12 20:42:34 +00:00
  • d787114a9f Use Clang to compile BPF object/program. gamemann 2021-11-12 20:30:34 +00:00
  • 56831eed67 Set interface index in BPF attributes. gamemann 2021-11-12 19:55:25 +00:00
  • ccd4f921bf Add comments. gamemann 2021-11-12 19:54:55 +00:00
  • a6db73d335 Rework BPF object loading logic. gamemann 2021-11-12 19:54:04 +00:00
  • 54b0e9cb9b Simplify filters increment code in config. gamemann 2021-11-12 18:21:04 +00:00
  • 0268ab26ee Organize debug code. gamemann 2021-11-12 18:19:07 +00:00
  • 8527ed163c We no longer need to free config structure. gamemann 2021-11-12 18:05:47 +00:00
  • bee4377a80 Use bpf_prog_load_xattr() function for loading BPF object file instead. gamemann 2021-11-12 17:55:49 +00:00
  • 8089cfff0e Rename variables. gamemann 2021-11-12 17:46:12 +00:00
  • 99daa2d6f5 Change filename variable to const. gamemann 2021-11-12 17:40:13 +00:00
  • c2cd1bdfdc Rename uint128_t to __u128 for organization. gamemann 2021-11-12 17:36:14 +00:00
  • 46cff37907 Remove common BPF defines since we define them in header file now. gamemann 2021-11-12 17:34:56 +00:00
  • 37ebcb1252 Move common BPF includes to top of header file. gamemann 2021-11-12 17:34:36 +00:00
  • 177c48adcc Move common BPF includes to header file. gamemann 2021-11-12 17:34:13 +00:00
  • f0a1d6e98d Reorder cmdline structure for organization. gamemann 2021-11-12 17:31:50 +00:00
  • 8d9f99b186 Update README. gamemann 2021-11-12 17:31:15 +00:00
  • bcfaccb71e Add comments to functions. gamemann 2021-11-12 17:30:35 +00:00
  • becaeb4b34 Add SKB flag to help output. gamemann 2021-11-12 17:22:19 +00:00
  • a521cc1f6f Rename variable and function names, use different integer types, and organize code. gamemann 2021-11-12 17:21:30 +00:00
  • 2d9138b8d9 Rename variable and structure names. gamemann 2021-11-12 16:58:14 +00:00
  • 90a79e0338 Update Makefile; Add command line compile and remove unneeded flags. gamemann 2021-11-12 16:57:39 +00:00
  • aa85496ced Rename config functions. gamemann 2021-11-12 16:51:29 +00:00
  • b0f60b05db Rename function names. gamemann 2021-11-12 16:48:26 +00:00