Project

General

Profile

Actions

Bug #13395

closed

pfBlockerNG changes firewall URLs to unparseable

Added by Per-Arne Hellarvik over 2 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
pfBlockerNG
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

It seems like the Auto creation of the update-urls in Firewall->Aliases->URLs get some addition which should not be there.

This results in these errors in the log:

If I remove the HTML part at the end, it runs perfectly. But it will be returned to this faulty state after a while.

Actions #1

Updated by Danilo Zrenjanin over 2 years ago

I couldn't replicate the issue on the 22.05 pfSense release.

I tested against:

pfBlockerNG-devel     3.1.0_4

and

pfBlockerNG        2.1.4_27

We recommend using the devel version.

Can you please provide more information (pfSense version, pfBlockerNG version) and steps to replicate the issue?

Actions #2

Updated by Per-Arne Hellarvik over 2 years ago

pfSense 22.05
pfBlockerNG-devel 3.1.0_4

Steps to recreate:
Run wizard and (re)create the default setup.

It might be of interest that I have uninstalled and installed pfBlockerNG a couple of times, and some of the times I have removed the firewall rules and url's manually because I wanted a clean slate. But the wizard should clean up any manual removals I have done.

Actions #3

Updated by Marcos M over 2 years ago

  • Status changed from New to Rejected

The <br /> shown there is done on purpose - this affects the alias details when hovering over an alias on the firewall rules page. The URL/value that is actually saved is not affected by this, hence this is not the reason for the errors in the log. Those errors are due to the content at those URLs not being in the correct format or not reachable.

https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L5939
https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/firewall_aliases.php#L150

Actions

Also available in: Atom PDF