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

fix: dns probe #172

Merged
merged 3 commits into from
Jan 23, 2025
Merged

fix: dns probe #172

merged 3 commits into from
Jan 23, 2025

Conversation

qjerome
Copy link
Member

@qjerome qjerome commented Jan 23, 2025

An issue with dns_query events has been raised on X: https://x.com/cr0nym/status/1879520129303838895

After investigations, this is due to the way the APIs used in the payload work. Using sendto and recvfrom calls do not set IP/port information in the sock kernel structure. As we are looking at this structure to establish whether the connection looks like DNS, we missed those.

  • A fix for that issue has been made in this PR
  • It also contains a fix to correct the src port which was not in the good endianness

@qjerome qjerome merged commit c88352c into main Jan 23, 2025
2 checks passed
@qjerome qjerome deleted the fix-dns-probe branch January 23, 2025 09:19
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