From 6e4a89c07636f139e6557c0fc7180f441d216f05 Mon Sep 17 00:00:00 2001 From: Christian Deacon Date: Thu, 21 May 2020 01:19:28 +0000 Subject: [PATCH] Updated README. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 37f9aea..7b31ddc 100644 --- a/README.md +++ b/README.md @@ -132,5 +132,20 @@ cd XDP-Firewall make && make install ``` +## Notes +### BPF For/While Loop Support +This project requires for/while loop support with BPF. Older kernels will not support this and output an error such as: + +``` +libbpf: load bpf program failed: Invalid argument +libbpf: -- BEGIN DUMP LOG --- +libbpf: +back-edge from insn 113 to 100 + +libbpf: -- END LOG -- +libbpf: failed to load program 'xdp_prog' +libbpf: failed to load object '/etc/xdpfw/xdpfw_kern.o' +``` + ## Credits * [Christian Deacon](https://www.linkedin.com/in/christian-deacon-902042186/) - Creator. \ No newline at end of file