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

    Aliases URL Table, only 1 URL is allowed per Alias

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    6
    2.5k
    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.
    • C
      Cino
      last edited by

      Not sure if this is a bug or as design. I noticed you can only add one URL when you select the URL TABLE under Aliases. Lets say you want to add a couple of URL List from http://www.countryipblocks.net/. You can only put one URL per Aliases.

      It would be nice to make a Country_IP_Blocklist alias and have it combine lets say China, N.Korea, S.Korea, etc; into one big list instead of creating an alias for each list.

      There is a package that does this but I would prefer to do this native to the box and not thru a package. Plus i've been trying to mess with all the options I can in 2.0 to help out with the testing ;D Every other day, I hear it from my other half; why do you have mess with shit.. It works, leave it alone…lol

      Thanks!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You can make an alias that includes other aliases (nesting), that should do what you want with the existing code.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C
          Cino
          last edited by

          Jim,

          I tried to create a new alias either using type Host or Network and get this error:

          The following input errors were detected:

          * The alias(es): Country_China Country_Korea_DPR Country_Korea_Republic cannot be nested because they are not of the same type.

          I checked the 3 files that were downloaded to /var/db/aliastables and all 3 are in the same format… Any ideas?

          thanks again!

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Ah, I forgot about that check. It's meant to prevent someone from nesting mismatched types (like a port alias in a network alias).

            Not sure if that would work then.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • C
              Cino
              last edited by

              Good check to have! Maybe a feature for 2.1? Either the nesting or allow more then 1 url table within an alias?

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Might be a good idea for then. It's probably too late to hack in a fix for that for 2.0.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.