ihciah / clean-dns-bpf

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

只支持8.8.8.8?如何自定义 #5

Closed om2mo closed 2 years ago

om2mo commented 3 years ago

RT

ihciah commented 3 years ago

https://github.com/ihciah/clean-dns-bpf/blob/0f9da3efeb6d04d9b59f4b7f1c7c737f512e59f6/src/clean_dns.rs#L12

修改 0x08080808 即可;或者干脆把这个过滤条件删掉。