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

Add DNS over TCP tests #2135

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add DNS over TCP tests #2135

wants to merge 5 commits into from

Commits on Dec 1, 2023

  1. tests: Add DNS-only test for DNS over TCP

    Add a new test that tests that the DNS over TCP to the external (WORLD)
    target works through the DNS proxy with a DNS-only policy.
    
    Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
    jrajahalme committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    8122619 View commit details
    Browse the repository at this point in the history
  2. tests: Move L4Protocol TCP to a non-zero value

    Use the zero value of L4Protocol for NONE, which needed to make DNS
    requirement protocol specific in a following commit.
    
    Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
    jrajahalme committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    b387511 View commit details
    Browse the repository at this point in the history
  3. tests: Make DNS requirement protocol specific

    Add L4Protocol ANY for "any applicable" protocol and use it for DNS
    requirement.
    
    Replace DNSRequired with DNSProtocol, which can be UDP, TCP, or ANY for
    either of them.
    
    Make Dig+tcp test validate only TCP.
    
    Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
    jrajahalme committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    5481dde View commit details
    Browse the repository at this point in the history
  4. connectivity test: Add --numeric option

    Add command line option '--numeric' to print hubble flows without IP
    translation. This helps in matching flow requirements to flows when
    debugging failing flow validation, as the flow requirements are printed
    (and executed) with IP addresses without translation.
    
    Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
    jrajahalme committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    87cd110 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. .github: Enable flow validation in external workloads test

    Enable test flow validation in external workloads test by forwarding the
    hubble port in external-workloads-install.sh.
    
    Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
    jrajahalme committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    fb5d71e View commit details
    Browse the repository at this point in the history