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

    2.5.0 no love for Unbound python mode

    Scheduled Pinned Locked Moved pfBlockerNG
    19 Posts 3 Posters 1.5k 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.
    • BBcan177B
      BBcan177 Moderator @chudak
      last edited by

      @chudak
      When you first enabled Unbound Python Mode, you could only do that if DHCP Registration was disabled.
      My suspicion, is that after Unbound Python Mode was enabled, you manually re-enabled the DHCP Registration option in the DNS Resolver.
      So when the code sees that DHCP Registration is enabled, it will terminate Python mode.

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

      chudakC 1 Reply Last reply Reply Quote 0
      • chudakC
        chudak @BBcan177
        last edited by

        @bbcan177

        Possibly but then I should be able to make it right, but I do:

        Make sure Unbound has DHCP Registration is disabled => Save, Apply
        Restart Unbound
        Enable DNSBL Python mode
        +
        Restart DNSBL and then Unbound
        Or
        Other way around, but DNSBL Python mode still shows error !

        :(

        RonpfSR 1 Reply Last reply Reply Quote 0
        • RonpfSR
          RonpfS @chudak
          last edited by

          @chudak said in 2.5.0 no love for Unbound python mode:

          Make sure Unbound has DHCP Registration is disabled => Save, Apply
          Restart Unbound
          Enable DNSBL Python mode

          Save, Apply should restart Unbound.

          After Enabling DNSBL Python Mode, do a Force Update, monitor pfblockerng.log at the end of DNSBL processing.

          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

          chudakC 1 Reply Last reply Reply Quote 0
          • chudakC
            chudak @RonpfS
            last edited by

            @ronpfs

            Same result

            RonpfSR 1 Reply Last reply Reply Quote 0
            • RonpfSR
              RonpfS @chudak
              last edited by

              @chudak maybe post the log.

              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

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

                Where are you enabling Unbound Python Mode? That needs to be enabled in the pfBlockerNG package > DNSBL Tab. Do not touch the setting in the Resolver as those are managed by the package.

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

                chudakC 1 Reply Last reply Reply Quote 0
                • chudakC
                  chudak @BBcan177
                  last edited by

                  @bbcan177

                  Here :

                  37D0FB14-A1DB-461A-BE47-1B5E01C2E925.jpeg

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

                    @chudak
                    So when you hit save in the pfBlockerNG package, do you get a warning about DHCP Registration being enabled? Or when you Force Update?
                    Have you rebooted this box?

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

                    RonpfSR chudakC 2 Replies Last reply Reply Quote 0
                    • RonpfSR
                      RonpfS @BBcan177
                      last edited by

                      @bbcan177 Also do you see dhcp leases in DHCP server log? Does that trigger Unbound reload ?

                      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

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

                        @ronpfs He has Static DHCP enabled, so that doesn't reload 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/

                        RonpfSR 1 Reply Last reply Reply Quote 0
                        • RonpfSR
                          RonpfS @BBcan177
                          last edited by RonpfS

                          @bbcan177 DHCP service will issue new leases if the device is not in Static map.

                          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 0
                          • chudakC
                            chudak @BBcan177
                            last edited by

                            @bbcan177 said in 2.5.0 no love for Unbound python mode:

                            @chudak
                            So when you hit save in the pfBlockerNG package, do you get a warning about DHCP Registration being enabled? Or when you Force Update?
                            Have you rebooted this box?

                            I get no warning, but again it’s not enabled
                            I see the yellow icon on the dashboard and error in the log.

                            Again, I was running Unbound python mode with DHCP Registration disabled for awhile on 2.4.5 (after you warned to disable it via Twitter or in the release notes) and had no issues.

                            All this is new in 2.5.0 since I upgraded today.
                            And yes, the box was rebooted multiple times today.

                            The only thing I didn’t do - remove and reinstall pfB

                            Will that help ?

                            Thx

                            PS - it runs fine without python mode too

                            chudakC 1 Reply Last reply Reply Quote 0
                            • chudakC
                              chudak @chudak
                              last edited by

                              @BBcan177

                              Well, did a clean reinstall today and - Unbound python mode love is back !
                              What was it ? No clue, suspect that package updates did not worked well after 2.5.0. upgrade.

                              Thanks all !

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