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

    pfblockerng error: Unknown Not listed!

    Scheduled Pinned Locked Moved pfBlockerNG
    24 Posts 6 Posters 3.6k 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.
    • L
      l0rdraiden @BBcan177
      last edited by l0rdraiden

      @bbcan17 said in pfblockerng error: Unknown Not listed!:

      Run these commands to see where these IPs are listed:

      grep "\.0\.0\.0" /var/db/pfblockerng/deny/*
      grep "\.0\.0\.0" /var/db/pfblockerng/original/*
      grep "\.0\.0\.0" /var/db/aliastables/*
      

      Do you have any entries defined in this Alias "Customlist"?

      For the Widget pivot to the Alerts Tab. Run this command to see what entries are in the ip_block.log:

      grep "pfB_Attack_v4" /var/log/pfblockerng/ip_block.log
      

      It could be that the ip_block.log is rotating the max. line count and clearing out those entries. You can increase these log line limits in the General Tab.

      Shell Output - grep ".0.0.0" /var/db/pfblockerng/deny/*
      /var/db/pfblockerng/deny/ET_Block_IP_v4.txt:161.0.0.0/19
      /var/db/pfblockerng/deny/ET_Block_IP_v4.txt:223.0.0.0/15

      Shell Output - grep ".0.0.0" /var/db/pfblockerng/original/*
      /var/db/pfblockerng/original/ET_Block_IP_v4.orig:161.0.0.0/19
      /var/db/pfblockerng/original/ET_Block_IP_v4.orig:223.0.0.0/15

      Shell Output - grep ".0.0.0" /var/db/aliastables/*
      grep: /var/db/aliastables/*: No such file or directory

      https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt
      0_1529162569297_Capture.PNG

      So it's a problem with this list?

      What do you mean with this? Do you have any entries defined in this Alias “Customlist”?
      Firewall->Aliases? yes I have defined custom ports that I'm using like this, so pfblockerng only blocks ports inbound that I have open
      0_1529163056834_Capture8.PNG

      For the second part

      Shell Output - grep "pfB_Attack_v4" /var/log/pfblockerng/ip_block.log
      Jun 16 10:38:00,1770010014,igb0,LAN,block,4,6,TCP-S,192.168.1.209,196.196.193.44,48140,45278,out,IE,pfB_Attack_v4,196.196.0.0/14,ET_Block_IP_v4,Unknown,Unknown,+

      I have increased the limits to 40k
      0_1529162737822_Capture7.PNG

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

        Those IPs must have been in the feed at some point. But the grep commands are telling you that they are no longer in any feed.

        I assume that pfBlockerNG is disabled, as this should not return that error if there are files in that folder:

        Shell Output - grep “.0.0.0” /var/db/aliastables/*
        grep: /var/db/aliastables/*: No such file or directory

        What do you mean with this? Do you have any entries defined in this Alias “Customlist”?

        At the bottom of each Alias is "IPv4 Custom_list" where you can manually add IPs to an Alias.

        "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/

        L 1 Reply Last reply Reply Quote 0
        • L
          l0rdraiden @BBcan177
          last edited by

          @bbcan177 said in pfblockerng error: Unknown Not listed!:

          Those IPs must have been in the feed at some point. But the grep commands are telling you that they are no longer in any feed.

          I assume that pfBlockerNG is disabled, as this should not return that error if there are files in that folder:

          Shell Output - grep “.0.0.0” /var/db/aliastables/*
          grep: /var/db/aliastables/*: No such file or directory

          What do you mean with this? Do you have any entries defined in this Alias “Customlist”?

          At the bottom of each Alias is "IPv4 Custom_list" where you can manually add IPs to an Alias.

          Right, I enabled it and run the command again

          Shell Output - grep ".0.0.0" /var/db/aliastables/*
          /var/db/aliastables/pfB_Attack_v4.txt:161.0.0.0/19
          /var/db/aliastables/pfB_Attack_v4.txt:223.0.0.0/15

          And custom lists are all empty

          it's a missconfiguration in my side or a bug? can I fix it?

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

            @l0rdraiden said in pfblockerng error: Unknown Not listed!:

            it’s a missconfiguration in my side or a bug? can I fix it?

            Well in its current state, I can't see any Feed that has those IPs? So I don't see anything to fix either way.

            If it happens again, run those commands and we can do some more debugging.

            Also note that there is a new feature in the IP Alias settings > Advanced Tuneables > Suppression CIDR Limit. Here you can define a max CIDR to utilize, so that a Feed doesn't try to block a large range of IPs. YMMV

            "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 1
            • RonpfSR
              RonpfS
              last edited by RonpfS

              @l0rdraiden Why don't you remove the http://vxvault.net/ViriList.php?s=0&m=100 URL as it's not geared for IPV4 🙄

              2.4.5-RELEASE-p1 (amd64)
              Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
              Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

              1 Reply Last reply Reply Quote 1
              • J
                jazzl0ver
                last edited by

                Hi,

                Sorry for bumping this topic up, but can somebody explain why I get Unknown Not listed in this case:
                56882566-2cc2-4b36-82f0-2bd5f83bb9b9-image.png

                # grep 113.1.135.78 /var/db/pfblockerng/* -r
                /var/db/pfblockerng/deny/CINS_army_v4.txt:113.1.135.78
                /var/db/pfblockerng/mastercat:113.1.135.78
                /var/db/pfblockerng/masterfile:CINS_army_v4 113.1.135.78
                /var/db/pfblockerng/original/CINS_army_v4.orig:113.1.135.78
                

                Why if this IP is not listed, it's still getting blocked?

                Is there a description of what all of those files/folders under /var/db/pfblockerng/ are intended for?

                Thanks in advance!

                NollipfSenseN 1 Reply Last reply Reply Quote 0
                • NollipfSenseN
                  NollipfSense @jazzl0ver
                  last edited by

                  @jazzl0ver You might be better off starting a new thread and linking this thread as reference.

                  pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                  pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jazzl0ver @NollipfSense
                    last edited by

                    @NollipfSense not sure it's wise to create different threads for the same topic. It'll be harder to search things if someone face same issue.

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @jazzl0ver
                      last edited by

                      @jazzl0ver said in pfblockerng error: Unknown Not listed!:

                      same issue

                      The pfBlockerNG of today (2.2.5_27) is not comparable with what we've been using in 2018.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jazzl0ver @Gertjan
                        last edited by

                        @Gertjan ok, guys. will do

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