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

Fixed malformed response from bad ARCOUNT #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

artur99
Copy link

@artur99 artur99 commented Jun 17, 2020

_authority and _additional are never filled with data but at response, the corresponding counters are not 0 but contain the counters from the request which will produce a malformed response.

For example, running dig @127.0.0.1 facebook.com A would show a warning like this:
;; Warning: Message parser reports malformed message packet.
Caused by the fact that at request the ARCOUNT is 1, but at response, there's no Additional Response entries, but the counter is set to 1.

_authority and _additional are never filled with data but at response, the corresponding counters are not 0 but contain the counters from the request which will produce a malformed response
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

Successfully merging this pull request may close these issues.

1 participant