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

Improved Firewall handling #2503

Open
dveeden opened this issue Jan 22, 2025 · 0 comments
Open

Improved Firewall handling #2503

dveeden opened this issue Jan 22, 2025 · 0 comments
Labels
type/feature-request Categorizes issue as related to a new feature.

Comments

@dveeden
Copy link
Contributor

dveeden commented Jan 22, 2025

Feature Request

Is your feature request related to a problem? Please describe:

  1. tiup cluster check --apply only temporarily disables firewalld.service. It does a systemctl stop, but not a systemctl disable/systemctl mask. This leaves this as a booby trap that will explode on next reboot.
  2. Disabling the firewall doesn't seem to be the right action. Changing the zone from public to trusted seems to be a better option.
  3. Some high security deployments might not allow one to disable the firewall
  4. The docs aren't clear that a host based firewall isn't recommended, but a network based firewall around the cluster is.

Describe the feature you'd like:

  1. Make sure whatever tiup cluster check --apply is done in a persistent way that survives reboots
  2. Don't disable the firewall. Change the zone instead.
  3. Extend documentation for what ports need to be open, both for host based firewalls and for network based firewalls around the cluster.
  4. Allow one to operate with a firewall enabled.
  5. Create service definitions for the firewall service which then can be added to the zone.

Why the featue is needed:

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Related:

@dveeden dveeden added the type/feature-request Categorizes issue as related to a new feature. label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant