Project

General

Profile

Actions

Bug #15939

closed

An empty IPv4/v6 and DNSBL entry is added if it’s not saved

Added by Azamat Khakimyanov 4 months ago. Updated about 1 month ago.

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

100%

Estimated time:
Plus Target Version:
25.03
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
Actions #1

Updated by Marcos M about 2 months ago

  • Status changed from New to Feedback
  • Assignee set to Marcos M
  • Target version set to 2.8.0
  • Plus Target Version set to 25.07
Actions #2

Updated by Marcos M about 2 months ago

  • % Done changed from 0 to 100
Actions #3

Updated by Marcos M about 2 months ago

  • Subject changed from In some circumstances empty and unnamed IPv4/v6 and DNSBL lists are added unexpectedly to Empty and IPv4/v6 and DNSBL entires are added
Actions #4

Updated by Marcos M about 2 months ago

  • Subject changed from Empty and IPv4/v6 and DNSBL entires are added to An empty IPv4/v6 and DNSBL entry is added if it’s not saved
Actions #5

Updated by Marcos M about 2 months ago

  • Plus Target Version changed from 25.07 to 25.03
Actions #6

Updated by Azamat Khakimyanov about 1 month ago

  • Status changed from Feedback to Resolved

Tested on 25.07-DEV (built on Fri Feb 28 6:00:00 UTC 2025)

When I pressed Add IPv4/IPv6 and DNSBL group entries and then just jumped to any other menu, nothing happened. So new 'unnamed'/empty entry wasn't added.

I marked this Bug as resolved.

Actions

Also available in: Atom PDF