Failing to add URL alias with mixed IPv4 and IPv6 addresses
-
@johnpoz Thank you! Excellent suggestion. Indeed, two different IPv4 lists exhibit the same behaviour.
Your suggested work-around makes sense. I guess I should also report this issue to the maintainers. Is Redmine the right place to do so?
Reference files: https://github.com/lindhe/netgate-topic-159803/
-
Yes the correct place would be redmine, with link to this thread for discussion of and showing that others have duplicated the problem.
As another work around, you could prob leverage pfblocker aliases, they allow for multiple lists in the same alias.. Then use the pfblocker native alias in you rules.
-
@johnpoz This seems similar, but I don't think it's the same issue. Do you think so too?
https://redmine.pfsense.org/issues/9296
-
I would say yeah its sim in nature.. But what your doing here is pulling a list of ips, nothing has to be resolved, other then where your list is hosted.. Guess that could be related to why only the 2nd url listed loads?
-
@johnpoz I tried now to use two different domains (github and cloudflare) for the URLs, and it still only resolves the last one.
-
Here is the issue I created for it: https://redmine.pfsense.org/issues/11256
-
@lindhe Please test it on the latest 2.5 snapshot
-
@viktor_g Hi! Thanks for getting back to me! I'll need to make sure I have a proper backup before I'll venture into unreleased territory. Do you know if I can always "upgrade back" again if I go from 2.4 to 2.5, if something breaks?
-
@lindhe said in Failing to add URL alias with mixed IPv4 and IPv6 addresses:
Do you know if I can always "upgrade back" again if I go from 2.4 to 2.5, if something breaks?
Not you can not auto "upgrade" to 2.4.. Just make sure you have a backup of your config.. And install media.. Be that CE or if your FE, open a ticket with netgate and they will send you link to FE copy you can download.
So if you decide you want to roll back, its really simple.
But to be honest 2.5 is close - I would be surprised if there was an issue that would force you to roll back.
-
Unfortunately, the issue still persists in the latest stable version (21.02_1). :/
-
Or, no not quite the same. Adding two lists of IPv4 urls works now. But nested aliases still fail.
I guess that I can now use a reasonable work-around by creating a mixed (unnested) alias instead. But it's overflowing the text box, so I don't know how to verify that all addresses are in the alias now. How can I verify that the alias is correct?
-
@lindhe said in Failing to add URL alias with mixed IPv4 and IPv6 addresses:
Or, no not quite the same. Adding two lists of IPv4 urls works now. But nested aliases still fail.
I guess that I can now use a reasonable work-around by creating a mixed (unnested) alias instead. But it's overflowing the text box, so I don't know how to verify that all addresses are in the alias now. How can I verify that the alias is correct?
Redmine issue created:
https://redmine.pfsense.org/issues/11863