E.g
When creating a Network rule via UI, it creates the following rule:
ufw allow from 10.131.34.164 to any port 3306 proto tcp comment 'joshua'
When we edit the rule, it creates another one with the old way without the protocol:
ufw allow from 10.131.34.164 to any port 3306 comment 'mysql-joshua'
When deleting the rule, it deletes the original one while the one without protocol and updated comment is left behind.
I have updated the description.
Update: I have edited an existing rule and it created the duplicate rule due to the bug. However, this time when I have deleted the rule from the UI, both rules remained in place on the server (logs say: "Could not delete non-existent rule").
This has security implications in both cases, when editing to update an IP and creating the unintended duplicate, as well as when deleting the rule as it doesn't.
This goes hand in hand with https://roadmap.ploi.io/projects/7-bugs/items/1038-add-web-worker-ip-to-the-ufw-rules-when-updating-default-network-ssh-rule
This is still an issue and makes everything we see in Server > Network unreliable and presents a risk. In fact it is a mess... :(
-
Dennis moved item to board Planned
2 years ago -
Cristian Balan moved item to project Bugs
2 years ago -
Cristian Balan created the item
2 years ago