mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #403] Server hangs on any malformed UDP packet #477
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#477
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 @krant on GitHub (Apr 17, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/403
Steps to reproduce:
in another console:
@bluejekyll commented on GitHub (Apr 17, 2018):
In your Cargo.lock file, can you grep for tokio-core and it’s associated version?
@krant commented on GitHub (Apr 17, 2018):
Sure, it is
tokio-core 0.1.16.@bluejekyll commented on GitHub (Apr 17, 2018):
Cool. Thanks. I’ll take a look at this later. I don’t have a lot of negative tests in the library, so this is great help, thanks for the submission.
I really need to put a fuzzer on the library.
@DemiMarie commented on GitHub (Apr 17, 2018):
@bluejekyll Could AFL be used? My understanding is that there is Rust integration somewhere.
@bluejekyll commented on GitHub (Apr 17, 2018):
There are a few fuzzers available in Rust. I filed this issue for it: https://github.com/bluejekyll/trust-dns/issues/97
it references
cargo-fuzz.@bluejekyll commented on GitHub (Apr 18, 2018):
Ok, reproduced this with a test in #407 working on a fix
@bluejekyll commented on GitHub (Apr 18, 2018):
Thanks for reporting this. There's now a test case for this. Turned out that the error was escaping the UDP handler, causing the UDP socket to be shutdown.
Thanks again for reporting this.
@krant commented on GitHub (Apr 18, 2018):
Thanks for great software!