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

    Alias

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 2 Posters 4.1k 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.
    • C
      chudy
      last edited by

      You must provide a valid URL. Could not fetch usable data.

      http://www.youtube.com seems to be valid URL

      DNS:(override off)
      google & opendns

      2.0-BETA4 (i386)
      built on Sun Sep 26 20:34:55 EDT 2010
      FreeBSD 8.1-RELEASE-p1

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

        That is not what a URL alias is for.

        A URL alias is pointed to a file that contains IP or IP/CIDR alias data, it does not refer to a website URL to block/pass.

        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
          chudy
          last edited by

          Ops now I'm confused.

          Enter a single URL containing a large number of IPs and/or Subnets. After saving pfSense will download the URL and create a table file containing these addresses. This will work with large numbers of addresses (30,000+) or small numbers

          name:youtube
          type:URL Table
          URL:http://youtube.com
          Update Freq:32

          system log

          Oct 12 21:36:01	php: : There were error(s) loading the rules: no IP address found for  persist file "/var/db/aliastables/youtube.txt"
          Oct 12 21:36:01	php: : New alert found: There were error(s) loading the rules: no IP address found for  persist file "/var/db/aliastables/youtube.txt"
          Oct 12 21:36:01	php: : The command '/sbin/pfctl -o basic -f /tmp/rules.debug' returned exit code '1', the output was 'no IP address found for 
          
          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Read the note again. It says enter a URL containing a large number of IPs and/or subnets โ€“ nowhere in that note does it refer to blocking/passing that URL.

            It says it will download the URL and create a table of the IPs and/or Subnets contained in the data downloaded from that URL.

            I can add some more text to that note to make it clearer, but you cannot use "http://www.google.com" in any alias type in pfSense and expect it to work.

            It's meant to work on a file like this:
            http://files.pfsense.org/US_cidr.txt

            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
              chudy
              last edited by

              Ah ok I get it.
              I thought this purpose is to take the dynamic DNS ip's and update it frequently.

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

                No, for that just use a normal host or network alias and type in the hostname, www.google.com (no http://). The hostname will be resolved and updated internally periodically.

                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.