AdguardTeam / AdguardTeam/dnsproxy

Consider porting dnscrypt-proxy's blocked_names feature to dnsproxy.

Đang mở
#515 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
3.3k
Fork
343
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

https://github.com/DNSCrypt/dnscrypt-proxy/blob/master/dnscrypt-proxy/example-blocked-names.txt

This one checks `domain name` AND `resolved CNAME`s. For example if there is "ads.com" listed:

```
target-ads.example.com CNAME cdn1.gateway.com
cdn1.gateway.com CNAME adcdn.ads.com <-----------------
adscdn.ads.com CNAME wildadservice.com
wildadservice.com A 1.2.3.4
```

Then this will return 0.0.0.0/::0.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with the linked `dnscrypt-proxy/example-blocked-names.txt` to match expected semantics. Then inspect dnsproxy’s blocked-domain configuration and DNS query resolution path to locate where domain filtering and CNAME handling are done. Add or update focused tests around the provided ads.com/CNAME chain so the behavior returns 0.0.0.0 or ::0, and mark done when that end-to-end case is covered.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
networking
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.