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

Correction of Previous Mistaken PR and the delete_ports function #2231

Merged
merged 5 commits into from
Apr 22, 2024

Conversation

Athameral
Copy link
Contributor

Correction:

This PR addresses the mistakes made in the previous submission that was merged. The original PR contained errors leading to skipping adding and deleting port ranges. I apologize for any confusion caused and appreciate your understanding and patience.

Summary of Changes:

  • ufw allow aaaa:bbbb**/tcp**
  • confirmation of deleted ports now works well.

Testing:

I double checked the commits this time, and tested it on my vps:
image
image
image

Once again, thank you for your understanding.

Athameral and others added 5 commits April 21, 2024 00:09
It really costs time when adding rules for a large range, if for loop is used in bash. Changed it to built-in port range support in ufw.
This commit is to correct the previous one, which cannot handle port range settings correctly.
Corrected the confirmation of the deleted ports.
@MHSanaei MHSanaei merged commit 835cf28 into MHSanaei:main Apr 22, 2024
@MHSanaei
Copy link
Owner

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants