OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: karow on October 12, 2019, 11:33:39 AM

Title: Entering alias is not working
Post by: karow on October 12, 2019, 11:33:39 AM
I am not able to create aliases via the GUI.

If I select host(s) or network(s) I only see a field "Content". But neither will accept an IP-adress with/without subnet. Only GeoIP seems to be usable. The other will not let me enter any useful information.

I have just setup opnsense the first time and are running 19.7.5.
Title: Re: Entering alias is not working
Post by: mimugmail on October 12, 2019, 11:37:48 AM
https://github.com/opnsense/core/issues/3760#issuecomment-541307249
Title: Re: Entering alias is not working
Post by: Marcel_75 on October 12, 2019, 11:40:55 AM
Yes, have exactly the same problem with newly created Alias Content in 19.7.5.

It worked with 19.7.4 without any problem (two days ago I've used it to add my own blocklist with a special link inside "Content").

But now with 19.7.5 it doesn't accept to add new "Content" in newly created Aliases.

Seems to be a bug in 19.7.5?

PS: Oh I see, the bug is already known. Hope for a fix with a special 19.7.5.1 or so ...

Because I don't know how to add this fix by myself:

https://github.com/opnsense/core/commit/7a5a2712cdb8dc5cb4e2b7fae46430bd8849799f (https://github.com/opnsense/core/commit/7a5a2712cdb8dc5cb4e2b7fae46430bd8849799f)
Title: Re: Entering alias is not working
Post by: mimugmail on October 12, 2019, 12:02:49 PM
Just enter the command in my link via CLI
Title: Re: Entering alias is not working
Post by: karow on October 12, 2019, 12:24:37 PM
Sorry, doesn't do it for me. I added the patch via "opnsense-patch 7a5a271", I restarted all services via CLI "11", cleared my browser cache completely, but still no change.

Patch is working correctly for me. Sorry for the misinformation. I am using the interface for the first time. No need to roll-back to 19.7.4
Title: Re: Entering alias is not working
Post by: mimugmail on October 12, 2019, 12:28:42 PM
opnsense-revert -r 19.7.4 opnsense
Title: Re: Entering alias is not working
Post by: Marcel_75 on October 12, 2019, 03:20:57 PM
Can also confirm, the patch is working as expected.

Thank you very much. *thumbs up*  :)
Title: Re: Entering alias is not working
Post by: TheLatestWire on October 13, 2019, 11:02:58 PM
I've tried patching using "opnsense-patch 7a5a271" as well as manually editing the opnsense.js file with the changes but I'm still having issues with aliases.  I don't see any content in them when I first try to edit them and then when I do see their contents (after a 2nd attempt at editing one), I can't add any new networks to the alias.

I've had to roll back to 19.7.4 to get things working again using "opnsense-revert -r 19.7.4 opnsense".

Title: Re: Entering alias is not working
Post by: dcol on October 14, 2019, 01:21:45 AM
Patched worked after a reset