• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Failing to add URL alias with mixed IPv4 and IPv6 addresses

Scheduled Pinned Locked Moved Firewalling
15 Posts 4 Posters 1.8k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    johnpoz LAYER 8 Global Moderator @lindhe
    last edited by johnpoz Jan 17, 2021, 12:50 PM Jan 17, 2021, 12:49 PM

    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.

    An intelligent man is sometimes forced to be drunk to spend time with his fools
    If you get confused: Listen to the Music Play
    Please don't Chat/PM me for help, unless mod related
    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

    L 1 Reply Last reply Jan 17, 2021, 12:50 PM Reply Quote 1
    • L
      lindhe @johnpoz
      last edited by Jan 17, 2021, 12:50 PM

      @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

      J 1 Reply Last reply Jan 17, 2021, 12:55 PM Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator @lindhe
        last edited by Jan 17, 2021, 12:55 PM

        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?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        L 1 Reply Last reply Jan 17, 2021, 12:57 PM Reply Quote 0
        • L
          lindhe @johnpoz
          last edited by Jan 17, 2021, 12:57 PM

          @johnpoz I tried now to use two different domains (github and cloudflare) for the URLs, and it still only resolves the last one.

          1 Reply Last reply Reply Quote 0
          • L
            lindhe
            last edited by Jan 17, 2021, 1:09 PM

            Here is the issue I created for it: https://redmine.pfsense.org/issues/11256

            V 1 Reply Last reply Jan 21, 2021, 8:35 AM Reply Quote 0
            • V
              viktor_g Netgate @lindhe
              last edited by Jan 21, 2021, 8:35 AM

              @lindhe Please test it on the latest 2.5 snapshot

              L 1 Reply Last reply Jan 23, 2021, 9:13 PM Reply Quote 0
              • L
                lindhe @viktor_g
                last edited by Jan 23, 2021, 9:13 PM

                @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?

                J 1 Reply Last reply Jan 23, 2021, 10:21 PM Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator @lindhe
                  last edited by Jan 23, 2021, 10:21 PM

                  @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.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  L 1 Reply Last reply Apr 11, 2021, 2:57 PM Reply Quote 0
                  • L
                    lindhe @johnpoz
                    last edited by Apr 11, 2021, 2:57 PM

                    Unfortunately, the issue still persists in the latest stable version (21.02_1). :/

                    L 1 Reply Last reply Apr 11, 2021, 3:05 PM Reply Quote 0
                    • L
                      lindhe @lindhe
                      last edited by lindhe Apr 11, 2021, 3:11 PM Apr 11, 2021, 3:05 PM

                      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?

                      Screenshot from 2021-04-11 17-09-08.png

                      V 1 Reply Last reply Apr 28, 2021, 1:13 PM Reply Quote 0
                      • V
                        viktor_g Netgate @lindhe
                        last edited by Apr 28, 2021, 1:13 PM

                        @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?

                        Screenshot from 2021-04-11 17-09-08.png

                        Redmine issue created:
                        https://redmine.pfsense.org/issues/11863

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          [[user:consent.lead]]
                          [[user:consent.not_received]]