Netgate 8200 - Firewall URL Table Alias not working
-
The 22.05.1 Release is for the new Intel i226 Driver.
-
@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.
-
I just upgraded a 6100 to 8200. I'm seeing the same issue on the 8200. Never once saw it on the 6100.
-
@cylosoft one of you should open a bug report at http://redmine.pfsense.org/
-
@steveits or a post in https://forum.netgate.com/category/62/pfblockerng since this is likely an issue with the DEVEL release.
-
@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.
-
It's been fixed on 23.01 - see here:
c239afac1763951eacefc1dbc59ad04f9d319b91In 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; }
-
-
There's now a commit ID for this specifically:
https://github.com/pfsense/pfsense/commit/208134113d92d809d4f0e686f3817274854ff264 -
@marcosm how do I install this fix on my 8200?
-
@motivio the System Patches package:
https://docs.netgate.com/pfsense/en/latest/development/system-patches.html