AdguardTeam / AdguardTeam/dnsproxy

H3 doh Accidental empty parsing response

Đang mở
#326 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ả

carry out. /dnsproxy-l 0.0.0.0-p 5355-u h3://doh---------------.com/dns-query -b 223.5.5.5 -v

```
2023/04/18 11:15:31 120876#75 [debug] dnsproxy: cache: disabled; not caching
2023/04/18 11:15:31 120876#75 [debug] https://doh-------------: sending request A baidu.com.
2023/04/18 11:15:31 120876#75 [debug] https://doh-------------: response: requesting https://doh----------------------: Get_0rtt "https://doh---------------?dns=AAABIAABAAAAAAABBWtic21sA2NvbQAAAQABAAApEAAAAAAAABcACAAHAAEYANOLBQAKAAj0ol95vywyUw": Application error 0x100 (remote): keepalive timeout
2023/04/18 11:15:31 120876#75 [debug] re-creating the http client due to requesting https://doh------------------: Get_0rtt "https://doh--------------------?dns=AAABIAABAAAAAAABBWtic21sA2NvbQAAAQABAAApEAAAAAAAABcACAAHAAEYANOLBQAKAAj0ol95vywyUw": Application error 0x100 (remote): keepalive timeout
2023/04/18 11:15:31 120876#75 [debug] github.com/AdguardTeam/dnsproxy/upstream.(*bootstrapper).createDialContext.func1(): Dialing to ip:443
2023/04/18 11:15:31 120876#75 [debug] github.com/AdguardTeam/dnsproxy/upstream.(*bootstrapper).createDialContext.func1(): dialer has successfully initialized connection to ip:443 in 29.358μs
2023/04/18 11:15:31 120876#75 [debug] using HTTP/3 for this upstream: QUIC was faster
2023/04/18 11:15:31 120876#75 [debug] github.com/AdguardTeam/dnsproxy/proxy.exchangeWithUpstream(): upstream https://doh------------------ failed to exchange ;baidu.com. IN A in 299.933μs. Cause: requesting https://doh-------------: Get_0rtt "https://dog--------------?dns=AAABIAABAAAAAAABBWtic21sA2NvbQAAAQABAAApEAAAAAAAABcACAAHAAEYANOLBQAKAAj0ol95vywyUw": Application error 0x100 (remote): keepalive timeout
2023/04/18 11:15:31 120876#75 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).replyFromUpstream(): RTT: 324.708μs
2023/04/18 11:15:31 120876#75 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).logDNSMessage(): OUT: ;; opcode: QUERY, status: SERVFAIL, id: 61611
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;baidu.com. IN A

2023/04/18 11:15:31 120876#75 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpHandlePacket(): error handling DNS (udp) request: talking to dns upstream: requesting https://doh--------------: Get_0rtt "https://doh------------------?dns=AAABIAABAAAAAAABBWtic21sA2NvbQAAAQABAAApEAAAAAAAABcACAAHAAEYANOLBQAKAAj0ol95vywyUw": Application error 0x100 (remote): keepalive timeout
2023/04/18 11:19:48 120876#23 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpHandlePacket(): Start handling new UDP packet from 127.0.0.1:42750
2023/04/18 11:19:48 120876#23 [debug] github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).logDNSMessage(): IN: ;; opcode: QUERY, status: NOERROR, id: 24909
;; flags: rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version 0; flags: ; udp: 4096
; SUBNET: 211.139.5.0/24/0
; COOKIE: f1bcfafb6ee6de42

;; QUESTION SECTION:
;baidu.com. IN A

```

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

Reproduce the command shown in the issue and review the logged DoH/HTTP/3 upstream exchange, including the keepalive timeout and empty response. The report names no source files, tests, expected behavior, or acceptance criteria, so the intended fix and completion check need clarification first.

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
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/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.