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

Firewall validation in the installation assistant #2555

Conversation

c-bordon
Copy link
Member

Related issue
close #2539

Description

Validations are created to detect if the system has Firewalld or UFW installed and enabled, to indicate by a Warning message which ports should be opened in the firewall

Logs example

Ubuntu Jammy:

Firewalld: #2539 (comment)
Without Firewalld: #2539 (comment)
Firewalld and UFW: #2539 (comment)

Rocky Linux 8:

Firewalld: #2539 (comment)
Without Firewalld: #2539 (comment)
Firewalld and UFW: #2539 (comment)

Tests

Centos 7: https://ci.wazuh.info/view/Tests/job/Test_unattended/4553/console
Ubuntu Bionic: https://ci.wazuh.info/view/Tests/job/Test_unattended/4554/console
Distributed: https://ci.wazuh.info/view/Tests/job/Test_unattended_distributed/548/console

teddytpc1
teddytpc1 previously approved these changes Oct 24, 2023
Copy link
Contributor

@davidcr01 davidcr01 left a comment

Choose a reason for hiding this comment

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

GJ! Please, consider changing the title of the PR and the suggested changes. Try to improve the messages listing the ports with commas.

c-bordon and others added 2 commits October 25, 2023 08:26
Co-authored-by: David Correa Rodríguez <72193239+davidcr01@users.noreply.github.com>
Co-authored-by: David Correa Rodríguez <72193239+davidcr01@users.noreply.github.com>
@c-bordon c-bordon requested a review from davidcr01 October 25, 2023 11:27
@c-bordon c-bordon changed the title Enhancement/2539 wazuh deployment on rocky linux 8 ignore option leads to communication issues to4.7.0 Firewall validation in the installation assistant Oct 25, 2023
@teddytpc1 teddytpc1 merged commit 1de7e7f into 4.7.0 Oct 25, 2023
45 of 53 checks passed
@teddytpc1 teddytpc1 deleted the enhancement/2539-wazuh-deployment-on-rocky-linux-8-ignore-option-leads-to-communication-issues-to4.7.0 branch October 25, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants