package-analysis
package-analysis copied to clipboard
DNS requests appear to be missing or incomplete.
It seems like in some cases we have a race condition in our packet capture, which is causing noise/imprecision in logging of DNS requests.
One possible cause is a race condition in the package capture. This would occur if there are packets that are still in transit after the packet capture has been stopped.
Another cause that is likely happening is DNS over UDP being truncated due to the message size limitations. The DNS traffic is then issued over TCP, however this is not being observed or recorded.
Note: DNS truncation happening does not exclude the possibility of race condition existing as well.
Support for DNS over TCP is not handled easily in gopacket, and likely requires some redesign over the packet capture logic.