Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] 15.7.18 "not a valid source IP address or alias"
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] 15.7.18 "not a valid source IP address or alias" (Read 11659 times)
smajor
Jr. Member
Posts: 77
Karma: 10
[SOLVED] 15.7.18 "not a valid source IP address or alias"
«
on:
November 05, 2015, 11:37:18 pm »
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!
«
Last Edit: November 06, 2015, 09:27:18 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1611
Re: 15.7.18 "not a valid source IP address or alias"
«
Reply #1 on:
November 06, 2015, 01:17:59 pm »
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
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: 15.7.18 "not a valid source IP address or alias"
«
Reply #2 on:
November 06, 2015, 07:23:07 pm »
Hi,
Found the issue, fixed with
https://github.com/opnsense/core/commit/2cb7dc042c2030f9171c8d0bda06fbc959561b7a
Will probably be in the next release.
Cheers,
Ad
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1611
Re: [SOLVED] 15.7.18 "not a valid source IP address or alias"
«
Reply #3 on:
November 06, 2015, 09:29:21 pm »
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
Logged
smajor
Jr. Member
Posts: 77
Karma: 10
Re: [SOLVED] 15.7.18 "not a valid source IP address or alias"
«
Reply #4 on:
November 08, 2015, 12:08:43 am »
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.
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: [SOLVED] 15.7.18 "not a valid source IP address or alias"
«
Reply #5 on:
November 08, 2015, 03:39:58 pm »
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.....
Logged
smajor
Jr. Member
Posts: 77
Karma: 10
Re: [SOLVED] 15.7.18 "not a valid source IP address or alias"
«
Reply #6 on:
November 08, 2015, 07:31:42 pm »
No worries at all, I'm glad to be able to contribute some troubleshooting time.
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1611
Re: [SOLVED] 15.7.18 "not a valid source IP address or alias"
«
Reply #7 on:
November 08, 2015, 08:51:25 pm »
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
«
Last Edit: November 10, 2015, 09:15:41 am by franco
»
Logged
smajor
Jr. Member
Posts: 77
Karma: 10
Re: [SOLVED] 15.7.18 "not a valid source IP address or alias"
«
Reply #8 on:
November 10, 2015, 01:06:23 am »
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
Logged
franco
Administrator
Hero Member
Posts: 17656
Karma: 1611
Re: [SOLVED] 15.7.18 "not a valid source IP address or alias"
«
Reply #9 on:
November 10, 2015, 09:14:08 am »
Yeah, of course. Sorry. Good catch.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] 15.7.18 "not a valid source IP address or alias"