Documentation
¶
Index ¶
- func GetQuestions(nfp *netfilter.Packet) (questions []string)
- func Host(resolved string) (host string, found bool)
- func HostOr(ip net.IP, or string) string
- func ListenerEbpf(ebpfModPath string) error
- func Track(resolved string, hostname string)
- func TrackAnswers(packet gopacket.Packet) bool
- type MapDefs
- type ProbeDefs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetQuestions ¶
GetQuestions retrieves the domain names a process is trying to resolve.
func HostOr ¶
HostOr checks if an IP has a domain name already resolved. If the domain is in the list it's returned, otherwise the IP will be returned.
func ListenerEbpf ¶
ListenerEbpf starts listening for DNS events.
func TrackAnswers ¶
TrackAnswers obtains the resolved domains of a DNS query. If the packet is UDP DNS, the domain names are added to the list of resolved domains.
Types ¶
Click to show internal directories.
Click to hide internal directories.