bpf:No ELF library support compiled in.
问题:版本不支持
#tc filter add dev veth100 ingress bpf da obj proxy.o sec tc No ELF library support compiled in.
解决:
# 安装libbpf:
git clone https://github.com/libbpf/libbpf
cd libbpf/src
make
make install
# 下载iproute2 git clone git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git ./configure --libbpf_force=on
make
make install