xdp-project / bpf-examples

Making eBPF programming easier via build env and examples
437 stars 85 forks source link

Sync in kernel bpf selftest xdp synproxy fix: erroneous bitmask operation #111

Closed vincentmli closed 11 months ago

vincentmli commented 11 months ago

from Bug in xdp synproxy kernel code, a bug is found when xdp synproxy is required to handle SYNACK from backend server, and fix is accepted in kernel, sync the fix here.

also add doc on adding iptables SYNPROXY in filter table FORWARD chain, and attach the xdp synproxy to the client side/internet side router/firewall interface to accelerate synproxy in XDP to protect backend server

vincentmli commented 11 months ago

Hi @tohojo could you take a look this PR ? thanks :)