Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Netgate 8200 - Firewall URL Table Alias not working

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 8 Posters 4.0k Views 8 Watching
    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.
    • R
      RSTX
      last edited by

      Attempting to add Firewall URL Table Alias yields the following unexpected error:

      Fatal error: Uncaught Error: Call to undefined function isURL() in /etc/inc/pfsense-utils.inc:2724 Stack trace: #0 /usr/local/pfSense/include/www/alias-utils.inc(333): process_alias_urltable('DShield_Block_L...', 'urltable', 'https://feeds.d...', 0, true, true) #1 /usr/local/www/firewall_aliases_edit.php(157): saveAlias(Array, NULL) #2 {main} thrown in /etc/inc/pfsense-utils.inc on line 2724 PHP ERROR: Type: 1, File: /etc/inc/pfsense-utils.inc, Line: 2724, Message: Uncaught Error: Call to undefined function isURL() in /etc/inc/pfsense-utils.inc:2724 Stack trace: #0 /usr/local/pfSense/include/www/alias-utils.inc(333): process_alias_urltable('DShield_Block_L...', 'urltable', 'https://feeds.d...', 0, true, true) #1 /usr/local/www/firewall_aliases_edit.php(157): saveAlias(Array, NULL) #2 {main} thrown

      Netgate 8200
      22.05.1-RELEASE (amd64)
      built on Tue Dec 06 15:43:24 UTC 2022
      FreeBSD 12.3-STABLE

      Steps to reproduce the error:

      1. Login to pfSense following fresh reboot.
      2. Select Firewall > Aliases
      3. Select URLs then +Add.
      4. Enter name, e.g., DShield_Block_List
      5. Enter description, e.g., DShield.org Recommended Block List
      6. Select Type of URL Table (IPs)
      7. Enter URL Table, e.g., https://feeds.dshield.org/block.txt or any other URL
      8. Enter optional Description.
      9. Click Save

      pfSense Diagnostic/Crash Reporter:

      Crash report begins. Anonymous machine information:

      amd64
      12.3-STABLE
      FreeBSD 12.3-STABLE plus-RELENG_22_05_1-n202703-4681fa64aea pfSense

      Crash report details:

      PHP Errors:
      [30-Dec-2022 12:34:48 US/Central] PHP Fatal error: Uncaught Error: Call to undefined function isURL() in /etc/inc/pfsense-utils.inc:2724
      Stack trace:
      #0 /usr/local/pfSense/include/www/alias-utils.inc(333): process_alias_urltable('DShield_Block_L...', 'urltable', 'https://feeds.d...', 0, true, true)
      #1 /usr/local/www/firewall_aliases_edit.php(157): saveAlias(Array, NULL)
      #2 {main}
      thrown in /etc/inc/pfsense-utils.inc on line 2724
      [30-Dec-2022 12:36:43 US/Central] PHP Fatal error: Uncaught Error: Call to undefined function isURL() in /etc/inc/pfsense-utils.inc:2724
      Stack trace:
      #0 /usr/local/pfSense/include/www/alias-utils.inc(333): process_alias_urltable('DShield', 'urltable', 'https://feeds.d...', 0, true, true)
      #1 /usr/local/www/firewall_aliases_edit.php(157): saveAlias(Array, NULL)
      #2 {main}
      thrown in /etc/inc/pfsense-utils.inc on line 2724
      [30-Dec-2022 16:46:34 US/Central] PHP Fatal error: Uncaught Error: Call to undefined function isURL() in /etc/inc/pfsense-utils.inc:2724
      Stack trace:
      #0 /usr/local/pfSense/include/www/alias-utils.inc(333): process_alias_urltable('DShield', 'urltable', 'https://feeds.d...', 0, true, true)
      #1 /usr/local/www/firewall_aliases_edit.php(157): saveAlias(Array, NULL)
      #2 {main}
      thrown in /etc/inc/pfsense-utils.inc on line 2724
      [30-Dec-2022 16:51:19 US/Central] PHP Fatal error: Uncaught Error: Call to undefined function isURL() in /etc/inc/pfsense-utils.inc:2724
      Stack trace:
      #0 /usr/local/pfSense/include/www/alias-utils.inc(333): process_alias_urltable('DShield_Block_L...', 'urltable', 'https://feeds.d...', 0, true, true)
      #1 /usr/local/www/firewall_aliases_edit.php(157): saveAlias(Array, NULL)
      #2 {main}
      thrown in /etc/inc/pfsense-utils.inc on line 2724

      No FreeBSD crash data found.

      SteveITSS 1 Reply Last reply
      Reply Quote 0
      • SteveITSS
        SteveITS Galactic Empire @RSTX
        last edited by

        @rstx On 22.05 I get no crash, but I get error:

        "The following input errors were detected:
        A valid URL must be provided. Could not fetch usable data from 'https://feeds.dshield.org/block.txt'."

        Per https://docs.netgate.com/pfsense/en/latest/firewall/aliases.html#url-aliases "If URL (IPs) is selected, then the URLs must contain IP address or CIDR masked network entries" and that feed has a start and end IP as well as several other columns.

        Possibly helpful, pfBlockerNG-devel has that feed under the ISC_Block name. You could use Alias Native to create an alias with that.

        Is 22.05.1 not a general release? (I don't have an 8200...)

        To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
        Only install packages for your version of pfSense.
        Upvote ๐Ÿ‘ helpful posts!

        R R 2 Replies Last reply
        Reply Quote 0
        • N
          NOCling
          last edited by

          The 22.05.1 Release is for the new Intel i226 Driver.

          Netgate 6100 & Netgate 2100

          1 Reply Last reply
          Reply Quote 0
          • R
            RSTX @SteveITS
            last edited by

            @steveits I know there are other columns in that file but perhaps I should have mentioned that I also have a Netgate 1100 running 22.05 and I have URL aliases defined on it, including the example above, without issue.

            However, DShield was the only URL that I tried before moving on to other things. Other firewall rules I looked at this morning list only single IPs and work fine with URL Aliases such as https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt.

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

              I just upgraded a 6100 to 8200. I'm seeing the same issue on the 8200. Never once saw it on the 6100.

              SteveITSS 1 Reply Last reply
              Reply Quote 0
              • SteveITSS
                SteveITS Galactic Empire @Cylosoft
                last edited by

                @cylosoft one of you should open a bug report at http://redmine.pfsense.org/

                To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
                Only install packages for your version of pfSense.
                Upvote ๐Ÿ‘ helpful posts!

                R 1 Reply Last reply
                Reply Quote 0
                • R
                  rcoleman-netgate Netgate @SteveITS
                  last edited by

                  @steveits or a post in https://forum.netgate.com/category/62/pfblockerng since this is likely an issue with the DEVEL release.

                  Ryan
                  Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                  Requesting firmware for your Netgate device? https://go.netgate.com
                  Switching: Mikrotik, Netgear, Extreme
                  Wireless: Aruba, Ubiquiti

                  1 Reply Last reply
                  Reply Quote 0
                  • R
                    rcoleman-netgate Netgate @SteveITS
                    last edited by

                    @steveits said in Netgate 8200 - Firewall URL Table Alias not working:

                    Is 22.05.1 not a general release? (I don't have an 8200...)

                    Correct. Just for the updated versions of the 6100 and 8200 models.

                    Ryan
                    Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                    Requesting firmware for your Netgate device? https://go.netgate.com
                    Switching: Mikrotik, Netgear, Extreme
                    Wireless: Aruba, Ubiquiti

                    1 Reply Last reply
                    Reply Quote 0
                    • M
                      marcosm Netgate
                      last edited by marcosm

                      It's been fixed on 23.01 - see here:
                      c239afac1763951eacefc1dbc59ad04f9d319b91

                      In the meantime, you may apply the following patch:

                      diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc
                      index 3ab9feb173..8e427581f4 100644
                      --- a/src/etc/inc/pfsense-utils.inc
                      +++ b/src/etc/inc/pfsense-utils.inc
                      @@ -2721,7 +2721,7 @@ function pfs_version_compare($cur_time, $cur_text, $remote) {
                       function process_alias_urltable($name, $type, $url, $freq, $forceupdate=false, $validateonly=false) {
                       	global $g, $config;
                       
                      -	if (!is_validaliasname($name) || !isURL($url)) {
                      +	if (!is_validaliasname($name) || !filter_var($url, FILTER_VALIDATE_URL)) {
                       		return false;
                       	}
                       
                      
                      
                      motivioM 1 Reply Last reply
                      Reply Quote 2
                      • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        There's now a commit ID for this specifically:
                        https://github.com/pfsense/pfsense/commit/208134113d92d809d4f0e686f3817274854ff264

                        1 Reply Last reply
                        Reply Quote 2
                        • motivioM
                          motivio @marcosm
                          last edited by

                          @marcosm how do I install this fix on my 8200?

                          SteveITSS 1 Reply Last reply
                          Reply Quote 0
                          • SteveITSS
                            SteveITS Galactic Empire @motivio
                            last edited by

                            @motivio the System Patches package:
                            https://docs.netgate.com/pfsense/en/latest/development/system-patches.html

                            To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
                            Only install packages for your version of pfSense.
                            Upvote ๐Ÿ‘ helpful posts!

                            1 Reply Last reply
                            Reply Quote 4

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better ๐Ÿ’—

                            Register Login
                            • First post
                              Last post
                            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                            Privacy Policy · Cookie Policy