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 inspecting fragmented DNS message for FQDN policy #4732

Merged
merged 1 commit into from
Mar 22, 2023

Commits on Mar 22, 2023

  1. Support inspecting fragmented DNS message for FQDN policy

    A DNS message sent over TCP will be fragmented if its length is greater
    than MTU, in which case FQDN policy wouldn't work as expected because
    the used DNS library expects the entire message. However, it's been
    observed that DNS message was fragmented frequently in tests, which may
    be applicable to production environments as well. On the other hand, we
    don't really need the entire message to support FQDN policy, and the
    first fragment normally already contains the information we need, the
    question and answer sections.
    
    This patch forks and modifies the message Unpack function to be able to
    handle fragmented messages.
    
    Signed-off-by: Quan Tian <qtian@vmware.com>
    tnqn committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    342abe9 View commit details
    Browse the repository at this point in the history