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

[Questions and Support] DNS queries type 28 (AAAA) #19277

Open
JSteegmueller opened this issue Sep 6, 2024 · 3 comments
Open

[Questions and Support] DNS queries type 28 (AAAA) #19277

JSteegmueller opened this issue Sep 6, 2024 · 3 comments

Comments

@JSteegmueller
Copy link

Question
Hey @stamparm, just a small question:
Why are DNS quieries with type 28 filtered out in this line?

if type_ not in (12, 28) and class_ == 1: # Type not in (PTR, AAAA), Class IN

Shouldn't AAAA requesters also be analyzed regarding suspicious ___domain names?

Thanks for your time!
Greetings, Janik

@MikhailKasimov
Copy link
Collaborator

@stamparm ping...

@stamparm
Copy link
Owner

@JSteegmueller took one example of such DNS request(s) from here: https://www.cloudshark.org/captures/ea72fbab241b?filter=frame%20and%20eth%20and%20ip%20and%20udp. It seems that everything should be good for Maltrail to parse those AAAA records, but...

AFAIR, this was the main issue:
image

Currently I am not anymore in the network traffic monitoring job position, but AFAIR, this was a regular annoyance - repeating of A and AAAA queries in subsequent manner. So, if not mistaken, this decision was done to reduce the redundancy in such cases

@stamparm
Copy link
Owner

Apparently it is called Happy Eyeballs algorithm:

As seen, DNS entries for a host can have multiple addresses, both for IPv4 and IPv6. The client will make a AAAA request, followed immediately by an A request. Happy Eyeballs, says the client must attempt to make a connection to the first IP address that is returned, regardless of address family.

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

No branches or pull requests

3 participants