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

ztlockdown fails on centos: ufw throws "problem running" #3

Open
andrewgdotcom opened this issue Oct 15, 2020 · 2 comments
Open

ztlockdown fails on centos: ufw throws "problem running" #3

andrewgdotcom opened this issue Oct 15, 2020 · 2 comments
Assignees

Comments

@andrewgdotcom
Copy link
Owner

ztlockdown attempts to work around this by running the ufw invocation twice, sleeping between invocations, but this does not work reliably. We need to track down and address the root cause.

@andrewgdotcom andrewgdotcom self-assigned this Oct 15, 2020
@andrewgdotcom
Copy link
Owner Author

Experiments show that it will eventually work, in this case it works at the third attempt.

[root@woomera ~]# PORT=997
[root@woomera ~]# while ! ufw allow to any port $PORT; do sleep 1; done
ERROR: problem running
ERROR: problem running
Skipping adding existing rule
Skipping adding existing rule (v6)
[root@woomera ~]# PORT=996
[root@woomera ~]# while ! ufw allow to any port $PORT; do sleep 1; done
ERROR: problem running
ERROR: problem running
Skipping adding existing rule
Skipping adding existing rule (v6)
[root@woomera ~]# PORT=995
[root@woomera ~]# while ! ufw allow to any port $PORT; do sleep 1; done
ERROR: problem running
ERROR: problem running
Skipping adding existing rule
Skipping adding existing rule (v6)
[root@woomera ~]# 

@andrewgdotcom
Copy link
Owner Author

workaround improved in 71a3a2a

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

No branches or pull requests

1 participant