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

Add support for snooping DNS over TCP #1887

Merged
merged 2 commits into from
Sep 23, 2016
Merged

Add support for snooping DNS over TCP #1887

merged 2 commits into from
Sep 23, 2016

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented Sep 23, 2016

  • Fix <probe> ERRO: 2016/09/23 12:38:29.891534 DNSSnooper: error decoding packet: qname '0x40' - RFC 2673 unsupported yet (data=77 index=17)

@2opremio
Copy link
Contributor Author

Fix <probe> ERRO: 2016/09/23 12:38:29.891534 DNSSnooper: error decoding packet: qname '0x40' - RFC 2673 unsupported yet (data=77 index=17)

This was due to the length field not being handled properly.

@2opremio 2opremio changed the title [WIP] Add support for snooping DNS over TCP Add support for snooping DNS over TCP Sep 23, 2016
@@ -111,12 +111,38 @@ func (s *DNSSnooper) Stop() {
}
}

// Gopacket doesn't provide direct support for DNS over TCP, see https://github.com/google/gopacket/issues/236
// TODO: deal with TCP fragmentation and out-of-order segments

This comment was marked as abuse.

This comment was marked as abuse.

Copy link
Member

@rade rade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a question. LGTM

@2opremio 2opremio merged commit 3fb3268 into master Sep 23, 2016
@2opremio 2opremio deleted the snoop-tcp-dns branch September 23, 2016 16:29
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.

2 participants