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

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

    Scheduled Pinned Locked Moved pfBlockerNG
    94 Posts 27 Posters 88.1k 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 @A Former User
      last edited by

      @Artes

      I can add this as an option in the next release as time permits.

      In the meantime, you can edit the code to revert to 0.0.0.0.

      Edit the file:
      /usr/local/pkg/pfblockerng/pfblockerng.inc

      At line #1097 there is a function that builds the Lighttpd configuration file:

      function pfb_create_lighttpd() {
      }

      In that function you can change the lines with "127.0.0.1" to "0.0.0.0"

      and change "::1" to "::/0" for IPv6. (haven't tested that myself, so hoping that this is the correct IPv6 address)

      In the same file:

      Edit line #1308:

      From:
      'target' => '127.0.0.1',
      To:
      'target' => '0.0.0.0',

      Edit line #1322:

      From:
      'target' => '::1',
      To:
      'target' => '::/0',

      Hope this works for you, Thanks for using the package, and and any support is appreciated.

      "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
      • Cool_CoronaC
        Cool_Corona
        last edited by

        I get to this...and then it takes forever...

        [ DoH ] Downloading update [ 11/25/20 20:02:51 ] . cURL Error: 35
        OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to heuristicsecurity.com:443 Retry in 5 seconds...
        . cURL Error: 35
        OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to heuristicsecurity.com:443 Retry in 5 seconds...
        . cURL Error: 35
        OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to heuristicsecurity.com:443 Retry in 5 seconds...
        .. unknown http status code | 0

        [ DNSBL_DoH - DoH ] Download FAIL [ 11/25/20 20:03:06 ]
        Firewall and/or IDS (Legacy mode only) are not blocking download.

        Restoring previously downloaded file

        No Domains Found! Ensure only domain based Feeds are used for DNSBL!


        Assembling DNSBL database...... completed [ 11/25/20 20:03:19 ]
        TLD:
        TLD analysis.............................. completed [ 11/25/20 20:08:33 ]
        TLD finalize.......................

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

          From the CHANGELOG :

          FEEDS:
                  Removed discontinued Heuristic Security DoH Feed
          

          Remove this URL. Use the Feeds tab to update your Groups

          1 Reply Last reply Reply Quote 0
          • V
            vjizzle
            last edited by

            Hi,

            Do we have CNAME blocking now? Thanks and as always amazing job!

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

              @vjizzle
              Yes its there in the DNSBL Tab with the other Unbound Python mode features.

              "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
              • ?
                A Former User @BBcan177
                last edited by

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

                Edit the file:
                /usr/local/pkg/pfblockerng/pfblockerng.inc
                At line #1097 there is a function that builds the Lighttpd configuration file:
                function pfb_create_lighttpd() {
                }

                Editing this function works fine for me. There is no need to edit lines #1308 and #1322 - These are for the NAT Rules and should stay as they are.

                Thank you!

                1 Reply Last reply Reply Quote 0
                • M
                  mlines
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • S
                    SachaH
                    last edited by

                    First of all, great job on this release!

                    I'm currently running 3.0.0_1 with 'Unbound python mode' enabled in DNSBL.
                    While viewing the Reports tab I saw that the If and Source columns show 'Unknown' within the DNSBL Python alert entry's.

                    Any suggestion how the fix this?

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

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

                      Reports tab I saw that the If and Source columns show 'Unknown' within the DNSBL Python alert entry's.

                      https://forum.netgate.com/topic/158597/interface-and-source-is-unknown-running-devel-3-0-1/5

                      S 1 Reply Last reply Reply Quote 1
                      • S
                        SachaH @RonpfS
                        last edited by

                        @RonpfS Thanks 👍 😊

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

                          also https://www.reddit.com/r/pfBlockerNG/comments/k1137y/reports_dnsbl_python_unknown/

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

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • RonpfSR
                              RonpfS
                              last edited by

                              and https://www.patreon.com/posts/nov-update-43770381

                              1 Reply Last reply Reply Quote 1
                              • H
                                HuskerDu
                                last edited by

                                Thanks BBcan177 for your great work,

                                For info, get yellow icon for DNSBL widget due to following error.

                                2020-11-27 21:33:25,736|ERROR| [pfBlockerNG]: Failed get_q_name_qinfo: in method '_get_qname', argument 1 of type 'struct query_info *'
                                
                                BBcan177B 1 Reply Last reply Reply Quote 0
                                • BBcan177B
                                  BBcan177 Moderator @HuskerDu
                                  last edited by

                                  @HuskerDu
                                  Do you have any of these options enabled in the DNS Resolver?

                                  DHCP Registration:

                                  • Static DHCP
                                  • OpenVPN Clients

                                  If so, disable those options, clear the py_error log and Force Reload - DNSBL and see if the error returns.

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

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    HuskerDu @BBcan177
                                    last edited by

                                    @BBcan177
                                    The options were removed after I've read the doc, but first launch after the install must have triggered the error.

                                    Thanks, clearing the log file solved the yellow icon "issue".

                                    Regards,

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User
                                      last edited by

                                      @BBcan177

                                      with v3.0.0 load on my Firewall is significant reduced when running large Set of DNSBL Lists (~3 Million Domains).
                                      9e1a09e4-81b1-45fa-9a80-2aa1052914e3-image.png

                                      I don't see the unbound-control process spinning up every couple of seconds anymore.

                                      Well Done👍

                                      1 Reply Last reply Reply Quote 4
                                      • F
                                        fmroeira86
                                        last edited by

                                        @BBcan177

                                        Thank you for your effort!

                                        Everytime I do a RELOAD the skew on the backup CARP gets its value set to 0.

                                        This causes the backup machine holding as CARP master when the Master machine comes online again.

                                        I'm running 3.0.0_2

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

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

                                          Thank you for your effort!
                                          Everytime I do a RELOAD the skew on the backup CARP gets its value set to 0.
                                          This causes the backup machine holding as CARP master when the Master machine comes online again.
                                          I'm running 3.0.0_2

                                          Did you update the package on all Nodes?
                                          Did you set the SKEW on all nodes correctly?

                                          The package should not be syncing the SKEW to the other nodes.

                                          See the relevant code here:
                                          https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L9349-L9352

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

                                          provelsP F 2 Replies Last reply Reply Quote 0
                                          • provelsP
                                            provels @BBcan177
                                            last edited by

                                            @bbcan177
                                            I got an alert today that an update from 3.0.0_2 => 3.0.0_3 was available. I had already updated to 3.0.0_3.
                                            But my package manager now shows 3.0.0_2 as current and wants me to revert.
                                            Any problem here? Thanks for reading.
                                            b8d2ee71-4444-4f4f-8642-88278ae694ad-image.png

                                            Peder

                                            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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