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
OPNsense Version:
OPNsense 19.1.6-amd64
Clean install from OPNsense-19.1.4-OpenSSL-dvd-amd64.iso
More detail:
Host Alias with content of ip/net working/update well. Except situation in point 3.
Host Alias with content of anather alias (alias group). Not working.
a) Max entries of exist alias in alias group is five.
With max 5 entires files contains correct list of addresses. :
/var/db/aliastables/self.txt
/var/db/aliastables/md5.txt
/var/db/aliastables/*.txt
3. More then 5 entries couse that the anather host aliases (not group alias) stop working well. Not update.
4. ALL alias group files (even witch three entries) dosen't update when we click Apply. We have to delete or change md5 sum file in /var/db/aliastables.
5. Delete alias not erase files in /var/db/aliastables and still exist in pftable.
[2,3] duplicate of #3399, [5] delete seems to mis a cleanup indeed, we'll take a look at that. For point [4], please create a new issue containing a step by step procedure how to reproduce. I can't reproduce the issue that none of the updates work.
…ould result in the old one still being there. closesopnsense#3431
Since all aliases are written to /usr/local/etc/filter_tables.conf, it should be safe to drop all for which a file in aliastables exists but no entry is available in filter_tables.conf anymore.
For debug purposes we log the entries which we delete, although this probably wouldn't be absolutely necessary, it might help to debug potential issues.
EugenMayer
pushed a commit
to KontextWork/opnsense_core
that referenced
this issue
Jul 22, 2019
…ould result in the old one still being there. closesopnsense#3431
Since all aliases are written to /usr/local/etc/filter_tables.conf, it should be safe to drop all for which a file in aliastables exists but no entry is available in filter_tables.conf anymore.
For debug purposes we log the entries which we delete, although this probably wouldn't be absolutely necessary, it might help to debug potential issues.
OPNsense Version:
OPNsense 19.1.6-amd64
Clean install from OPNsense-19.1.4-OpenSSL-dvd-amd64.iso
More detail:
a) Max entries of exist alias in alias group is five.
With max 5 entires files contains correct list of addresses. :
/var/db/aliastables/self.txt
/var/db/aliastables/md5.txt
/var/db/aliastables/*.txt
3. More then 5 entries couse that the anather host aliases (not group alias) stop working well. Not update.
4. ALL alias group files (even witch three entries) dosen't update when we click Apply. We have to delete or change md5 sum file in /var/db/aliastables.
5. Delete alias not erase files in /var/db/aliastables and still exist in pftable.
########################################################
Removing all three "|encode_idna" in file
/usr/local/opnsense/service/templates/OPNsense/Filter/filter_tables.conffix Problem in point 2,3
But problem still exist in point 4,5
The text was updated successfully, but these errors were encountered: