Hallo 1.) ich habe mir eine Geoip-Gruppe erstellt "GrpA" 2.) mit dieser Gruppe habe ich mehrere unterschiedliche Rules erstellt. 3.) dann die Geoip-Gruppe auf "GrpB" geändert 4.) In den Rules steht noch GrpA, erst nach dem ändern der Rule, steht der neue Gruppenname da und das führt dann zum neueinlesen der Rules. Hello 1.) I have create a geoipgroup "grpA" 2.) create various firewallrules with this group 3.) then go back and change the name of the geoipgroup to "grpB" 4.) in the firewallrules is still the old geoupname "grpA" but when I click to change the rule, then is in the pulldownmenu the new name of the group and after save, I have the button "change ruleset" I hope it helps...
Please post in English only. ASSIGNED.
This issue can be reproduced here.
I can confirm this. A closer look showed that the group is not only stored as groupname, instead, the firewall config stores it like "group:<grpname>". Adapted function to rename group in the firewallrules. Should work. BUG 11312 is fixed and patch is in pipeline.
Great! Thanks for having a look and fixing this.
https://patchwork.ipfire.org/patch/1718/ Testing. Will report.
I can confirm that the patch solves the problem. However, it has a blank line with trailing whitespace so I would like to send in a second version of this.
Sent slightly improved patch to mailing list: https://patchwork.ipfire.org/patch/1729/
https://patchwork.ipfire.org/patch/1718/ Please have a look and test this patch