Skip to content

Support for DNS monitoring #203

@fearful-symmetry

Description

@fearful-symmetry

Impact

High

Epic/Meta Issue

No response

Planned Version

None

Description

So, we want Linux DNS support in endpoint, and part of that is going to be done here in ebpf. I'm making a lot of assumptions here, so feel free to correct me if there's something I'm missing. This is just a preliminary list of all the parts we'll need for DNS monitoring in this repo:

  • DNS over UDP. Can be done via some combination of ip[4,6]_datagram_connect, udp_destruct_sock and others. Similar enough to existing network probes. The remaining question: do we want the probe to filter by port 53 here in ebpf, or should upstream components in endpoint do that?
  • DNS over TCP. Also uses port 53. Do we want to support this?
  • DNS over TLS. Uses port 853. Do we want to support his?
  • DNS over HTTPS. Uses the standard HTTPS port. Is there anything we can even do for this? Any kind of https decryption or list matching of DoH servers will probably be done elsewhere.
  • Deep packet inspection. Do we care about people running DNS queries over non-standard ports? Should we start sniffing traffic over other ports looking for anything that looks like a DNS request/response?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions