[SOLVED] 15.7.18 "not a valid source IP address or alias"

Started by smajor, November 05, 2015, 11:37:18 PM

Previous topic - Next topic
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



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

;)