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

Dns proxy port test #32186

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

Conversation

jrajahalme
Copy link
Member

@jrajahalme jrajahalme commented Apr 25, 2024

Test DNS proxy always setting the source port to a fixed value (1109).

cilium/dns is updated to make it look for an unused request id value if there is a conflict with a pending request.

Cilium dns proxy now needs to make sure a conntrack entry with the proxy redirect flag exists so that DNS responses get back to the proxy.

Use a cilium/dns version that finds an available request id in case the
one set on the request is already used by a pending request on the shared
client.

Note: This refers to a PR branch in cilium/dns and should not be merged!

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme jrajahalme requested review from a team as code owners April 25, 2024 10:52
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 25, 2024
@jrajahalme jrajahalme added dont-merge/preview-only Only for preview or testing, don't merge it. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Apr 25, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Apr 25, 2024
Use a fixed source port for all forwarded DNS requests.

Create or update a conntrack entry so that reply packets are redirected
back to the proxy.

Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
@jrajahalme
Copy link
Member Author

/test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. dont-merge/preview-only Only for preview or testing, don't merge it.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant