Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getdns doesn't handle some malformed packets gracefully #501

Open
saradickinson opened this issue Apr 20, 2021 · 0 comments
Open

getdns doesn't handle some malformed packets gracefully #501

saradickinson opened this issue Apr 20, 2021 · 0 comments

Comments

@saradickinson
Copy link
Contributor

See AdguardTeam/AdGuardDNS#150 for an overview.

Due to a bug, the server was sending packets where the length fields and messages were intermingled on one connection. After the first malformed packets are received the connection is closed but then getdns starts closing all subsequent connections immediately after receiving the first response, reporting failure and all name resolution fails until getdns is relaunched. I haven't fully debugged why getdns ends up in this state but it needs investigating. I have packet captures available for further debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant