mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #348] Timeouts #455
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#455
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DemiMarie on GitHub (Feb 18, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/348
trust-dnsshould enforce timeouts on all operations. Web frameworks like Gotham and Iron manage this —trust-dnsshould too.@bluejekyll commented on GitHub (Feb 18, 2018):
Thank you for the report. What interfaces are you using in which this is not true? All the high-level APIs for the Client and Resolver have timeouts on all operations.
@DemiMarie commented on GitHub (Feb 18, 2018):
Server. I was referring to the Server TCP Denial of Service mentioned in the README.
@bluejekyll commented on GitHub (Feb 18, 2018):
Ah, I believe the server currently has timeouts on all inbound requests, here is TCP:
https://github.com/bluejekyll/trust-dns/blob/master/server/src/server/server_future.rs#L108-L123
and TLS:
https://github.com/bluejekyll/trust-dns/blob/master/server/src/server/server_future.rs#L191-L206
UDP doesn't have timeouts as that's fire and forget. Do you have any other areas you're concerned about?
@bluejekyll commented on GitHub (Feb 18, 2018):
BTW, that DOS comment in the Readme is specifically about AXFR operations. I don't have the authorization logic tied to the authentication, at the moment, which is both a potential DOS because of the potential message sizes in AXFR and then also a visibility issue.
@bluejekyll commented on GitHub (Mar 5, 2018):
I'm going to close this, unless there is something more that you want to see here.