ihciah / clean-dns-bpf

基于 Rust + eBPF 丢弃 GFW DNS 污染包
1.12k stars 65 forks source link

Segmentation fault #8

Open rampageX opened 3 years ago

rampageX commented 3 years ago

系统:

uname -a
Linux Debian-VM-x64 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux

运行:

ip link set dev ens33 xdp obj ./clean-dns.elf
Segmentation fault

日志:

Oct  9 14:34:11 Debian-VM-x64 kernel: [  212.184511] ip[2211] segfault at 10 ip 00007fcf5f36e582 sp 00007fff796b4de0 error 4 in libbpf.so.0.3.0[7fcf5f358000+23000]
Oct  9 14:34:11 Debian-VM-x64 kernel: [  212.184517] Code: 49 63 47 60 48 8d 58 01 48 69 c0 d8 00 00 00 48 89 5c 24 18 48 89 44 24 50 49 8b 9f 00 01 00 00 48 b8 ab aa aa aa aa aa aa aa <48> 8b 73 10 48 f7 e6 48 c1 ea 04 48 89 54 24 10 48 83 fe 170f 86
birdofprey commented 3 years ago

建议合并问题到#4