Project

General

Profile

Actions

Bug #15939

open

In some circumstances empty and unnamed IPv4/v6 and DNSBL lists are added unexpectedly

Added by Azamat Khakimyanov 3 days ago.

Status:
New
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

Tested on 24.11 and on 25.03-DEVELOPMENT (built on Fri Dec 13 6:00:00 UTC 2024)

If to press Add for adding IPv4 or IPv6 IP List and without changing anything jump into any other menu or on a Dashboard, unnamed IP List is created ('Added unnamed IPv4 lists.png').

These Lists are not added into config file by default, but if just press Save, these empty IP lists are added into config file

<pfblockernglistsv4>
           <config>
                <row>
                    <format>Auto</format>
                    <state><![CDATA[Disabled]]></state>
                    <url></url>
                    <header></header>
                </row>
                <action>Disabled</action>
                <cron>Never</cron>
                <aliaslog>enabled</aliaslog>
            </config>
            <config>
                <row>
                    <format>Auto</format>
                    <state><![CDATA[Disabled]]></state>
                    <url></url>
                    <header></header>
                </row>
                <action>Disabled</action>
                <cron>Never</cron>
                <aliaslog>enabled</aliaslog>
            </config>
            <config>
                <row>
                    <format>Auto</format>
                    <state><![CDATA[Disabled]]></state>
                    <url></url>
                    <header></header>
                </row>
                <action>Disabled</action>
                <cron>Never</cron>
                <aliaslog>enabled</aliaslog>
            </config>

<pfblockernglistsv6>
            <config>
                <row>
                    <format>Auto</format>
                    <state><![CDATA[Disabled]]></state>
                    <url></url>
                    <header></header>
                </row>
                <action>Disabled</action>
                <cron>Never</cron>
                <aliaslog>enabled</aliaslog>
            </config>
            <config>
                <row>
                    <format>Auto</format>
                    <state><![CDATA[Disabled]]></state>
                    <url></url>
                    <header></header>
                </row>
                <action>Disabled</action>
                <cron>Never</cron>
                <aliaslog>enabled</aliaslog>
            </config>
        </pfblockernglistsv6>

The same behavior for DNSBL lists ('added unname DNSBL Lists.png') and if to press Save empty DNSBL lists are added into config file:

        <pfblockerngdnsbl>
            <config>
                <row>
                    <format>Auto</format>
                    <state><![CDATA[Disabled]]></state>
                    <url></url>
                    <header></header>
                </row>
                <action>Disabled</action>
                <cron>Never</cron>
                <logging>enabled</logging>
            </config>
            <config>
                <row>
                    <format>Auto</format>
                    <state><![CDATA[Disabled]]></state>
                    <url></url>
                    <header></header>
                </row>
                <action>Disabled</action>
                <cron>Never</cron>
                <logging>enabled</logging>
            </config>
        </pfblockerngdnsbl>

And it's not possible to delete them. These messages occur:
  • for IP List: "Could not delete [ Type: IPv4, Name: ], not found"
  • for DNSBL List: "Could not delete [ Type: DNSBL Groups, Name: ], not found"

If not to save these lists, they disappear after pfSense being rebooted. But if to save them, they remain in pfBlockerNG's config after reboot.


Files

Added unnamed IPv4 lists.png (153 KB) Added unnamed IPv4 lists.png Azamat Khakimyanov, 12/18/2024 05:49 AM
added unname DNSBL Lists.png (203 KB) added unname DNSBL Lists.png Azamat Khakimyanov, 12/18/2024 05:49 AM

No data to display

Actions

Also available in: Atom PDF