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

[sft server] Introduce ufw feature flags #40

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

lucendio
Copy link
Contributor

What's new in this PR?

Issues

  • missing option to disable firewall installation and setup
  • missing option to disable or enable IPv6 in ufw

Causes (Optional)

In a scenario with an external firewall, it might be desired to prevent a firewall from being installed on the same machine.

Solutions

Introduce feature flag to conditionally not install and configure a firewall

Testing

Applied to a test machine followed by a manual verification of the resulting state.

Notes (Optional)

This change set also includes a small change that only allows ingress on ports which are actually being used.

Defaults to being installed and configured.
Before, the listed ports would be opened regardless whether they are going
to be used or not.
In some cases it's not determined whether IPv6 is enabled or not, when
installing ufw. So, ufw may ends up with a broken configuration compared
to the actual system state.

This flag enables the user to 'manually' adjust ufw configuration if
desired. Default: IPv6 enabled in ufw
@CLAassistant
Copy link

CLAassistant commented May 10, 2023

CLA assistant check
All committers have signed the CLA.

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