Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias group problem #3431

Closed
advcron opened this issue Apr 19, 2019 · 1 comment
Closed

Alias group problem #3431

advcron opened this issue Apr 19, 2019 · 1 comment
Assignees
Labels
bug Production bug

Comments

@advcron
Copy link

advcron commented Apr 19, 2019

OPNsense Version:
OPNsense 19.1.6-amd64
Clean install from OPNsense-19.1.4-OpenSSL-dvd-amd64.iso

More detail:

  1. Host Alias with content of ip/net working/update well. Except situation in point 3.
  2. Host Alias with content of anather alias (alias group). Not working.

1

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.conf
fix Problem in point 2,3

But problem still exist in point 4,5

@AdSchellevis
Copy link
Member

[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.

@AdSchellevis AdSchellevis self-assigned this Apr 19, 2019
@AdSchellevis AdSchellevis added the bug Production bug label Apr 19, 2019
EugenMayer pushed a commit to KontextWork/opnsense_core that referenced this issue Jul 22, 2019
…ould result in the old one still being there. closes opnsense#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. closes opnsense#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Production bug
Development

No branches or pull requests

2 participants