2 Commits

Author SHA1 Message Date
fed8da5072 Add xdp-synproxy to bpf-examples
this code is from kernel bpf selftests xdp synproxy, removed the
tc part for simplicity, shows an exmaple of using libxdp
to attach xdp synproxy program on network interface.

if port is not in allowed ports, the packet will be dropped
by xdp synproxy by default, this would break tcp connections
to ports that user does not want to do synproxy, change the
default to allow connection pass through.

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2023-10-26 19:01:49 +00:00
f34f8d5787 headers/vmlinux: Add header files to shadow vmlinux.h
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
2021-06-01 16:23:08 +02:00