Project

General

Profile

Actions

Bug #13395

closed

pfBlockerNG changes firewall URLs to unparseable

Added by Per-Arne Hellarvik about 2 months ago. Updated about 2 months 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.

!https://preview.redd.it/t6oq75k1chf91.png?width=1195&format=png&auto=webp&s=24d9b8365351139b5d37a346866d40aeb651bce1!

This results in these errors in the log:

!https://preview.redd.it/n8yol1ibchf91.png?width=1191&format=png&auto=webp&s=52ccda565de790bc99b35deacec99ab10daabe7b!

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 about 2 months 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 about 2 months 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 about 2 months 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