Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    pfBlockerNG - Devel Feedback/Question - IPv4 lists no showing(yet blocks are happening)

    Scheduled Pinned Locked Moved pfBlockerNG
    4 Posts 4 Posters 717 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Velcro
      last edited by

      Recently upgraded pfSense and pfBlockerNG to -devel version.

      Feedback:

      1. Right after downloading 2.2.5_15 I had to download a new version 2.2.5_16. Maybe it was my timing but this seemed strange?

      2. I added a few IPv4 lists using Firewall->pfBlockerNG->Feeds when I go to Firewall->pfBlockerNG->IP->IPv4 I don't see the feeds? I do see the DNSBL lists when I go to Firewall->pfBlockerNG->DNSBL->DNSBL Feeds which I can edit, delete, add etc...but I can't do this with my IPv4 feeds as I cannot see them? I tested a few IP addresses to see if they are being blocked and they are, just can't edit them.

      I originally selected too many feeds when I first set this up and had to deinstall in order to shrink the feeds.

      Suggestions? Thanks to all...

      1 Reply Last reply Reply Quote 0
      • D
        doomrapta
        last edited by

        Try add one manually. This made them show up for me, then I deleted the manual one.

        1 Reply Last reply Reply Quote 0
        • R
          RodSlinger
          last edited by

          I have the same issue. Adding one manually did not correct the issue. The IPV6 section has the same error.

          Basically any IPV4 or IPV6 feed added using the availale feeds list don't show but so function. If I add any list manually to the IPV4 or IPV6 section it will show.

          1 Reply Last reply Reply Quote 0
          • BBcan177B
            BBcan177 Moderator
            last edited by BBcan177

            With all the changes in PHP7, a commit was added to the installer code that created some empty XML tags.

             <config></config>
            

            This will be fixed in the next version which should be out soon. However, you can follow these steps below to fix this issue now:

            First make a backup of the config.xml from the:

            pfSense Diagnostics > Backup & Restore Tab:

            Then paste the following PHP code which will cleanup the empty XML tags into:

            pfSense > Diagnostics > Command Prompt > Execute PHP Commands:

            $upgrade_type = array('pfblockernglistsv4', 'pfblockernglistsv6', 'pfblockerngdnsblsettings', 'pfblockerngafrica', 
            'pfblockerngantarctica', 'pfblockerngasia', 'pfblockerngeurope', 'pfblockerngnorthamerica', 'pfblockerngoceania', 'pfblockerngsouthamerica', 'pfblockerngtopspammers', 'pfblockerngproxyandsatellite');
            
            foreach ($upgrade_type as $type) {
                    if (is_array($config['installedpackages'][$type]['config'])) {
                            if (empty($config['installedpackages'][$type]['config'][0])) {
                                    unset($config['installedpackages'][$type]['config'][0]);
                                    print "\n| Removed | {$type} | Empty XML Tag";
                            }
                    }
            }
            write_config('pfBlockerNG - Fix empty XML tags');
            

            Then hit the Execute button for the code to run.

            "Experience is something you don't get until just after you need it."

            Website: http://pfBlockerNG.com
            Twitter: @BBcan177  #pfBlockerNG
            Reddit: https://www.reddit.com/r/pfBlockerNG/new/

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.