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

Support receiving dnstap binary logs #12820

Open
andrewkroh opened this issue Jul 8, 2019 · 8 comments
Open

Support receiving dnstap binary logs #12820

andrewkroh opened this issue Jul 8, 2019 · 8 comments
Labels
enhancement Filebeat Filebeat needs_team Indicates that the issue/PR needs a Team:* label Stalled

Comments

@andrewkroh
Copy link
Member

andrewkroh commented Jul 8, 2019

dnstap is binary log format that DNS servers support that records DNS requests and responses. This would allow Beats to receive DNS data directly from the DNS server rather than trying to get the information from packet capture. dnstap is supported by Bind, CoreDNS, Unbound, and more.

With new protocols like DNS-over-TLS (DoT) and DNS-over-HTTP (DoH) being deployed dnstap can be a necessary monitoring point for traffic that NSMs would otherwise not have visibility to.

An example deployment for an organization might be to have an internal DNS server providing UDP/TCP/DoT/DoH and blocking any DNS traffic (53/udp, 53/tcp, 853/tcp) direct to the internet. With dnstap being enabled, the server it would then let us monitor both the forwarded traffic from the server as well as all the traffic to/from clients.

I'm imagining a dnstap input type for Filebeat.

@icb-
Copy link

icb- commented Oct 4, 2019

Is Filebeat the right place for this? I thought Filebeat was only for plain-text(-ish) formats, not pure binary formats like dnstap. Should it be its own separate Beat?

Large portions of the code could be lifted from the DNS protocol parser in Packetbeat. That seems to all be private functions. Should it be refactored into a supporting library that can be used by both Packetbeat and a "Dnstapbeat"? Keeping the format as similar as possible to the output of Packetbeat seems worthwhile.

@lvg01
Copy link

lvg01 commented Dec 10, 2021

I'm looking for this dnstap integration to the elastic-agent. Is there any progress on this?
The packetbeat-like solution (with same ECS) would be a great solution!

@botelastic
Copy link

botelastic bot commented Dec 10, 2022

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added Stalled needs_team Indicates that the issue/PR needs a Team:* label labels Dec 10, 2022
@botelastic
Copy link

botelastic bot commented Dec 10, 2022

This issue doesn't have a Team:<team> label.

@icb-
Copy link

icb- commented Dec 12, 2022

Dnstap is definitely still wanted.

@botelastic botelastic bot removed the Stalled label Dec 12, 2022
@botelastic
Copy link

botelastic bot commented Dec 12, 2023

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Dec 12, 2023
@lvg01
Copy link

lvg01 commented Dec 13, 2023

Dnstap stays actual!

@botelastic botelastic bot removed the Stalled label Dec 13, 2023
@botelastic
Copy link

botelastic bot commented Dec 12, 2024

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Filebeat Filebeat needs_team Indicates that the issue/PR needs a Team:* label Stalled
Projects
None yet
Development

No branches or pull requests

3 participants