While you can now select an alias that uses a URL Table (IPs) - thanks for the bug fix! When using "URL Table (IPs)", you cannot set the Alias in a rule. You receive a "[alias name] not a valid source IP address or alias".
Using the same URL and creating an identical rule with a "URL IPs" works as expected.
Thanks!
Hi there,
Thanks and sorry, getting there step by step it seems. :)
I've filed a problem report here taking care of this next week hopefully: https://github.com/opnsense/core/issues/457
Cheers,
Franco
Hi,
Found the issue, fixed with https://github.com/opnsense/core/commit/2cb7dc042c2030f9171c8d0bda06fbc959561b7a
Will probably be in the next release.
Cheers,
Ad
I've backported it, you can apply this to your system locally with:
# cd /usr/local/etc/inc
# fetch https://raw.githubusercontent.com/opnsense/core/a869067cc89cdc5e109350ffdecd7fb7655f288a/src/etc/inc/util.inc
I gave the fix a try, while I can now select it, I received an "Unresolvable source alias 'Panama' for rule 'PA 25 Block'" for that URL rule.
Using the non-Table version still works as expected with the same URL source.
Sorry about that, this stuff seems to be more broken then I thought....
This commiit https://github.com/opnsense/core/commit/78eadf3174a8e505c626031dc3043caa65408bcb should fix the issue, but given the fact that this probably hasn't worked for quite some time I can't promise this is the absolute last fix for this one.....
No worries at all, I'm glad to be able to contribute some troubleshooting time.
Applied to stable as well, you can manually fix by:
# cd /usr/local/etc/inc
# fetch https://raw.githubusercontent.com/opnsense/core/b05657e166ce90cc485122f2debe7605a6f54e50/src/etc/inc/util.inc
Thanks, it seems to have accepted a rule with that. Currently testing. I think you meant:
fetch https://raw.githubusercontent.com/opnsense/core/b05657e166ce90cc485122f2debe7605a6f54e50/src/etc/inc/util.inc
;)
Yeah, of course. Sorry. Good catch. :)