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

iptables: add --random-fully to SNAT rules #3066

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Jul 24, 2023

What type of this PR

Examples of user facing changes:

  • Features
  • Bug fixes
  • Docs
  • Tests

Which issue(s) this PR fixes:

Fixes #(issue-number)

WHAT

🤖 Generated by Copilot at e64d2c7

Fix a bug in setIptables that causes SNAT rules to not have the "--random-fully" option. Add a condition to check for "SNAT" in gateway_linux.go.

🤖 Generated by Copilot at e64d2c7

setIptables checks
last rule for SNAT or MASQ
fixes port bug - fall

HOW

🤖 Generated by Copilot at e64d2c7

  • Fix a bug that causes SNAT rules to not have the "--random-fully" option (link)

@zhangzujian zhangzujian merged commit 90c8305 into kubeovn:master Jul 25, 2023
@zhangzujian zhangzujian deleted the fix-snat branch July 25, 2023 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants