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

Bugfix: iptables timing #1384

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Bugfix: iptables timing #1384

merged 2 commits into from
Aug 13, 2024

Conversation

MorningLightMountain713
Copy link
Contributor

I have experienced this on one of my nodes (and seen it mentioned in discord by one person)

This has only affected my ubuntu 20.04 node, (I only have one) so don't know if it's based on the versions in use on this system or something else.

Screenshot 2024-08-10 at 11 38 49 AM

We were running the iptables rules and ufw rules at the same time - and ufw uses iptables under the hood so getting a lock on xtables.

This pull just runs these function synchronously, so they don't compete. Also moved the iptable deny rules before ufw (makes sense to deny host traffic first then clear ufw)

Tested on my Ubuntu 20.04 node - fixed the issue.

Copy link
Member

@Cabecinha84 Cabecinha84 left a comment

Choose a reason for hiding this comment

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

ack

@Cabecinha84 Cabecinha84 merged commit 775f49d into development Aug 13, 2024
2 checks passed
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