Cristian Balan

Cristian Balan

Planned

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.

Cristian Balan

Cristian Balan

Item author
· · Edited
·

I have updated the description.

no votes yet
Cristian Balan

Cristian Balan

Item author
·
·

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.

no votes yet
Cristian Balan

Cristian Balan

Item author
·
·
no votes yet
You may use @ to mention someone.

Editing Network rule creates ufw duplicates

3 total votes
Björn Petersen Teun van den Einden Cristian Balan
  • Dennis moved item to board Planned

    7 months ago
  • Cristian Balan moved item to project Bugs

    8 months ago
  • Cristian Balan created the item

    8 months ago