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

    pfBlockerNG-devel v3.0.0 - No longer bound by Unbound!

    pfBlockerNG
    27
    94
    78.0k
    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.
    • BBcan177B
      BBcan177 Moderator @cantor
      last edited by

      @cantor said in pfBlockerNG-devel v3.0.0 - No longer bound by Unbound!:

      Jan 22 22:08:52 unbound: [44037:0] fatal error: failed to setup modules
      Jan 22 22:08:52 unbound: [44037:0] error: module init for module python failed
      Jan 22 22:08:52 unbound: [44037:0] error: pythonmod: can't open file pfb_unbound.py for reading

      Re-install the package as this file is missing

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

      C 1 Reply Last reply Reply Quote 0
      • C
        cantor @BBcan177
        last edited by cantor

        @bbcan177

        I reinstalled pfBlockerNG and triggered Forced Reload-DNSBL. Everything seemed fine and DNS resolver was up with Unbound python mode.

        Then I rebooted the box for a second check and unfortunately the resolver was down again with error "can't open file pfb_unbound.py for reading".

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

          @cantor
          You can't use RamDisks, since the /var/ folder is wiped on reboot. Need to disable that option, and reinstall once more to get the python script back.

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

          C 1 Reply Last reply Reply Quote 2
          • C
            cantor @BBcan177
            last edited by cantor

            @bbcan177

            Ouch! That's it. Thanks for your help. Now everything works fine. :-)

            1 Reply Last reply Reply Quote 0
            • lohphatL
              lohphat
              last edited by lohphat

              I'm looking for a little clarification regarding the unbound config changes after switching to python mode.

              1. I've notice that unbound is unstarted after any pfBlockerNG-devel v3.x.x package updates. DNS lookups fail so I have to manually restart it.
              2. The docs indicate to change the interface to localhost in unbound. I assume it's the "Outgoing Network Interfaces" (now set to "localhost") and not the "Network Interfaces" (currently set to "all") above it.
              3. My DNS settings in general setup already has localhost configured (Disable DNS Forwarder is unchecked) as one of the upstream DNS servers. Do I keep this config or remove 127.0.0.1?
                127.0.0.1
                9.9.9.9
                149.112.112.112
                2620:fe::fe
                2620:fe::9

              So...have I made the correct changes? It seems to be working so far but want a 2nd opinion via another set of eyes to make sure I've understood the intended setup.

              SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_1)

              1 Reply Last reply Reply Quote 0
              • T
                thegenius21
                last edited by

                been bombarded by this dont know what happens but im blocking ipv6 everywhere.

                [02-Mar-2021 15:29:50 Asia/Manila] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680
                Stack trace:
                #0 /etc/inc/util.inc(657): is_ipaddrv6('pagead2.googles...')
                #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('pagead2.googles...')
                #2 {main}
                thrown in /etc/inc/util.inc on line 680

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

                  @thegenius21
                  See also here (not posted in the pfB section although probably a pfB related issue).

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

                  1 Reply Last reply Reply Quote 1
                  • M
                    mikeelawson
                    last edited by

                    I have tried to install the latest version of PFblockerNg v3.0 however the initialisation is still running after 30 mins. Unloaded older version and tryting to load latest version but still hangs. What is the CLI to install manually please?

                    GertjanG BBcan177B 2 Replies Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @mikeelawson
                      last edited by

                      There's no CLI command to install "pfSense"packages.

                      What happens when you install a 'simple/small' pfSense package like 'Cron' ?

                      Troubleshooting Upgrades

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

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

                        @mikeelawson said in pfBlockerNG-devel v3.0.0 - No longer bound by Unbound!:

                        I have tried to install the latest version of PFblockerNg v3.0 however the initialisation is still running after 30 mins. Unloaded older version and tryting to load latest version but still hangs. What is the CLI to install manually please?

                        Related to this:
                        https://redmine.pfsense.org/issues/11398

                        If you wait at the page it will eventually timeout. While it is in that condition, you can kill the Unbound pid and it should complete faster. Then restart Unbound post-install.

                        pkill unbound
                        

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

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mikeelawson @BBcan177
                          last edited by

                          @bbcan177 I have tried the unbound command, but again just hangs when I try to install.

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

                            @mikeelawson
                            At what point ?
                            Any logs ? Screenshot ?

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

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mikeelawson @Gertjan
                              last edited by

                              @gertjan It started happening when I tried to install new package. Screenshot, just shows initialising, no further update

                              afae80d9-1854-43e0-a314-2166b2c76680-image.png

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

                                @mikeelawson said in pfBlockerNG-devel v3.0.0 - No longer bound by Unbound!:

                                @gertjan It started happening when I tried to install new package. Screenshot, just shows initialising, no further update

                                afae80d9-1854-43e0-a314-2166b2c76680-image.png

                                Yeah, that's the GUI ....
                                The GUI is only good if everything works well.

                                For all the other days, there is

                                @gertjan said in pfBlockerNG-devel v3.0.0 - No longer bound by Unbound!:

                                Troubleshooting Upgrades

                                You should click on the link, and read.
                                You'll notice that there are no GUI examples.
                                Its right from the first line "command line only".
                                I advise you to read, test and report back here if you find different.

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

                                1 Reply Last reply Reply Quote 0
                                • F
                                  flepti @j.koopmann
                                  last edited by

                                  @j-koopmann This is the behaviour with my setup too, have you found out what could have been causing this? when pfblocker has a match it send an answer (the VIP) with SERVFAIL.

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

                                    @flepti said in pfBlockerNG-devel v3.0.0 - No longer bound by Unbound!:

                                    my setup too

                                    You mean you use pfSense 2.4.5 and "007" fBlockerNG-devel ?
                                    Easy solution : upgrade ?!

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

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