birdofprey

Results 33 comments of birdofprey

我在想如何更好的保护通信以及主机本身的安全,提高黑客入侵的攻击成本

Debian Gnu/Linux内核默认支持xdp、ebpf、mptcp、wireguard估计还有很长时间啊

我的意思是如何开启? OS:Debian Gnu/Linux 11 kernel:Linux localhost 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux 具体步逐有么有相关的文章?

ip link set dev eth0 address allmulticast broadcast dynamic multicast netns trailers up alias arp down mtu name promisc txqueuelen 没有xdp选项 # ip link set dev wlp2s0 xdp obj ./clean-dns.elf...

Oct 9 14:49:21 localhost kernel: [ 5677.121935] ip[12873]: segfault at 10 ip 00007ff3a0e82582 sp 00007ffc4814e560 error 4 in libbpf.so.0.3.0[7ff3a0e6c000+23000] Oct 9 14:49:21 localhost kernel: [ 5677.121941] Code: 49 63 47...

ip -force link set dev wlan0 xdp object clean-dns.elf ver libbpf: loading clean-dns.elf libbpf: elf: section(1) prog, size 536, link 0, flags 6, type=1 段错误

> 我找了个debian10(Linux debian 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux)试了下Release里的elf,没复现问题。 如果是load上去就挂,那可能是内核的兼容性问题。 你可以试下搭建一个rust开发环境,然后使用依次运行 For Developer 章节的 [Build](https://github.com/ihciah/clean-dns-bpf#build) 和 [Run](https://github.com/ihciah/clean-dns-bpf#run) 部分。 谢谢你的回复,编译会报如下错误: # cargo bpf build clean-dns error: no such subcommand:...

> > > 我找了个debian10(Linux debian 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux)试了下Release里的elf,没复现问题。 如果是load上去就挂,那可能是内核的兼容性问题。 你可以试下搭建一个rust开发环境,然后使用依次运行 For Developer 章节的 [Build](https://github.com/ihciah/clean-dns-bpf#build) 和 [Run](https://github.com/ihciah/clean-dns-bpf#run) 部分。 > > > > > > 谢谢你的回复,编译会报如下错误: >...

注意个人安全

建议合并问题到#4