You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File /var/db/aliastables/IP_ALIAS_GOUP.txt should contain two entries:
192.168.0.10
192.168.0.20
Now (remve IP_ALIAS2 from alias group):
Go to Firewall -> Aliases -> IP_ALIAS_GOUP -> Change alias
Content: IP_ALIAS1
Click save and Apply
a) Go to Firewall -> Diagnostic -> pftable -> show -> IP_ALIAS_GOUP (should contain one entry)
b) File /var/db/aliastables/IP_ALIAS_GOUP.txt should contain one entry:
192.168.0.10
But still contains two (192.168.0.10,192.168.0.20)
To update IP_ALIAS_GOUP pftable we have to remove IP_ALIAS_GOUP.md5.txt or change md5 entries in this file (and then click aply) or after change IP_ALIAS_GOUP and clicking apply wait about 2-4 minutes.
The same happens when you add aliases to a exist group.
Expected behavior
Correct update of the aliases group and pftables
Environment
OPNsense Version:
OPNsense 19.1.6-amd64
Clean install from OPNsense-19.1.4-OpenSSL-dvd-amd64.iso
The text was updated successfully, but these errors were encountered:
advcron
changed the title
Alias group - No update
Alias group - Strange update
Apr 19, 2019
@advcron thanks for the report, I've prepared a patch on master 3dc5f71. Since there are more changes stashed for the python 2->3 conversion, it probably won't fit the current stable version.
Describe the bug
ALL alias group file dosen't update when we click Apply. We have to delete or change md5 sum file in /var/db/aliastables.
To Reproduce
Steps to reproduce the behavior:
-Content: 192.168.0.10
-Content: 192.168.0.20
-Content: IP_ALIAS1,IP_ALIAS2
Click Apply
File
/var/db/aliastables/IP_ALIAS_GOUP.txtshould contain two entries:192.168.0.10
192.168.0.20
Now (remve IP_ALIAS2 from alias group):
Go to Firewall -> Aliases -> IP_ALIAS_GOUP -> Change alias
a) Go to Firewall -> Diagnostic -> pftable -> show -> IP_ALIAS_GOUP (should contain one entry)
b) File
/var/db/aliastables/IP_ALIAS_GOUP.txtshould contain one entry:192.168.0.10
But still contains two (192.168.0.10,192.168.0.20)
To update IP_ALIAS_GOUP pftable we have to remove IP_ALIAS_GOUP.md5.txt or change md5 entries in this file (and then click aply) or after change IP_ALIAS_GOUP and clicking apply wait about 2-4 minutes.
The same happens when you add aliases to a exist group.
Expected behavior
Correct update of the aliases group and pftables
Environment
OPNsense Version:
OPNsense 19.1.6-amd64
Clean install from OPNsense-19.1.4-OpenSSL-dvd-amd64.iso
The text was updated successfully, but these errors were encountered: