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 --random-fully to VPC Gateway snat rule #1956

Closed
shane965 opened this issue Oct 11, 2022 · 1 comment · Fixed by #1985
Closed

Add --random-fully to VPC Gateway snat rule #1956

shane965 opened this issue Oct 11, 2022 · 1 comment · Fixed by #1985
Labels
bug Something isn't working

Comments

@shane965
Copy link
Contributor

Feature request

Linux kernel realization that sometimes causes multiple flows to get mapped to the same IP:PORT and consequently some suffer packet drops. Iptables supports other ways to allocate ports, controlled with the option --random-fully. This is helpful to slove conntrack race problem.

Relevant information:
DNS intermittent delays: kubernetes/kubernetes#56903
Explain conntrack race: https://adrian-philipp.com/notes/linux-conntrack-race-condition
Iptables manpages: https://manpages.debian.org/unstable/iptables/iptables-extensions.8.en.html#random_fully~2
Similar commit in k8s: kubernetes/kubernetes@d86d1de

I can create a pr if necessary.

@oilbeater oilbeater added feature New network feature bug Something isn't working and removed feature New network feature labels Oct 12, 2022
@oilbeater
Copy link
Collaborator

@shane965 Thanks for the information. I will be appreciated if you can make the change

shane965 added a commit to shane965/kube-ovn that referenced this issue Oct 15, 2022
shane965 added a commit to shane965/kube-ovn that referenced this issue Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants