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 wait option #289

Merged
merged 2 commits into from
Jul 7, 2023
Merged

Conversation

hsubramanianaks
Copy link
Collaborator

This PR is to fix #223.

  • This code adds a wait time of 30 seconds for iptables operation which would wait for adding iptables rules for redirection when xtables are locked by another process. In most cases this will not happen. Thank you.

@hsubramanianaks hsubramanianaks changed the title add --wait option for iptables Iptables wait option Jul 6, 2023
peterbom
peterbom previously approved these changes Jul 6, 2023
Copy link

@peterbom peterbom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of interest, what is the behaviour of iptables if you don't specify the -w parameter? It fails immediately?

Vidya2606
Vidya2606 previously approved these changes Jul 7, 2023
@hsubramanianaks
Copy link
Collaborator Author

hsubramanianaks commented Jul 7, 2023 via email

Tatsinnit
Tatsinnit previously approved these changes Jul 7, 2023
Copy link
Member

@Tatsinnit Tatsinnit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍💭

@Tatsinnit Tatsinnit merged commit f90eb41 into Azure:main Jul 7, 2023
@hsubramanianaks hsubramanianaks deleted the iptables-waiting-option branch July 7, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to connect because of xtables lock
4 participants