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

    pfBlockerNG-devel v3.1.0_7 / v3.1.0_14

    pfBlockerNG
    14
    50
    10.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
      last edited by BBcan177

      Two Pull Request have been merged by the pfSense Devs!

      These versions have been in development for three months with each having approx. 27,384 additions and 16,473 deletions to the code.

      pfBlockerNG_devel v3.1.0_7 - pfSense versions 2.6 and 22.x
      https://github.com/pfsense/FreeBSD-ports/pull/1203

      pfBlockerNG_devel v3.1.0_14 - pfSense versions 23.x and 2.7.x
      https://github.com/pfsense/FreeBSD-ports/pull/1204

      Notes before Upgrading:

      As always, take a config backup. There is still an outstanding issue which can cause Unbound to not restart on pkg upgrades. This will hopefully be resolved soon. If so, please restart Unbound.

      Ensure that "Keep Settings" is enabled in the General Tab.

      Recommended to run a "Force Reload - All" after pkg installation.

      More details on my Patreon
      https://www.patreon.com/posts/pfblockerng-v3-1-75671491

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

      fireodoF J 2 Replies Last reply Reply Quote 6
      • fireodoF
        fireodo @BBcan177
        last edited by fireodo

        @bbcan177

        Hi,

        after the update (3.1.0_6 -> 3.1.0_7) two problems arise:

        1. When in a DNSBL group I like to save a local feed I get this error:

        [PFB_FILTER - 2] Invalid URL (not allowed2) [ /root/database/youtubeads.txt ] [ 12/9/22 08:56:50 ]

        1. Running Cron Update I get this error on this list:

        [ EasyList ] Downloading update .. 200 OK
        [PFB_FILTER - 17] Failed or invalid Mime Type: [text/x-asm|0]

        Edit: A few lists get marked as empty even the source feed contains lots of IPs.

        Thanks for looking over it,
        fireodo

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.7.2 CE
        Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

          @fireodo said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

          When in a DNSBL group i like to save a local feed I get this error:

          You've created a local file, like /root/test.txt with some domain names :

          -rw-r--r--  1 root  wheel  127 Dec  9 10:11 /root/test.tx
          

          Contains :

          test-domaine.fr
          ykpbgktjmubxdig.cn
          ykpgnuokpcemmhl.com
          ykpredvcmvlcaql.com
          ykpunetdy.cf
          ykqjiqolrykupmn.com
          ykrpwrhoonediyv.com
          

          Added it to the DNSBL Groups like :

          c57baa6a-e9a1-4087-8369-62206a4c893e-image.png

          and

          76c166d3-282c-4f39-8612-6def350bddbc-image.png 6431aef5-7009-4fae-9540-2b257346ea2f-image.png

          This gets loaded for me :

          [ TEST_local_file_test ]	 Downloading update [ 12/9/22 10:18:41 ] ..
            ----------------------------------------------------------------------
            Orig.    Unique     # Dups     # White    # TOP1M    Final                
            ----------------------------------------------------------------------
            7        7          6          0          0          1                    
            ----------------------------------------------------------------------
          

          Note : only one, the first domain name "test-domaine.fr" , get retained, as the other 6 are a copy of another DNSBL feed, just to create a x lines 'home made DNSBL local file'

          and blocked (first domain in the list ) :

          495653f9-f0a3-4551-8786-26ed73a9e361-image.png

          Here a trick : go here : /var/db/pfblockerng/dnsblorig and delete your-file.orig - and reload pfblockerng

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

          fireodoF GertjanG 2 Replies Last reply Reply Quote 0
          • fireodoF
            fireodo @Gertjan
            last edited by fireodo

            @gertjan said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

            Added it to the DNSBL Groups like :

            I even can save the group:

            dnsbl-group.png

            The URL is: /root/database/ioam.txt

            I think that is a validation issue.

            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
            pfsense 2.7.2 CE
            Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

              @fireodo

              Language issue ?

              30e24a28-c369-4e7c-8f0f-e90911c12d6a-image.png

              The text in the red block means : you can NOT save that info.
              Btw : I'm dutch, s I can read (decode) German.
              It says : line 15 in your file has an issue, as it can not get resolved.

              So, please, don't let us wait : what is this line 15 ?
              An "umlaut" or whatever 'illegal' german character in a host name ?
              File enconding issue like UTF8 or 16 ?

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

              fireodoF 2 Replies Last reply Reply Quote 0
              • J
                jdeloach @BBcan177
                last edited by

                @bbcan177
                I updated pfBlockerNG_devel v3.1.0_6 to v3.1.0_7 with no issues. Everything appears to be working okay.

                Thanks for all the hard work you put into maintaining/upgrading this Great package.

                1 Reply Last reply Reply Quote 0
                • fireodoF
                  fireodo @Gertjan
                  last edited by fireodo

                  @gertjan said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                  So, please, don't let us wait : what is this line 15 ?

                  its a local file:
                  /root/database/ioam.txt

                  Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                  SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                  pfsense 2.7.2 CE
                  Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

                    @gertjan said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                    Language issue

                    No, in 3.1.0_6 there was no issue!
                    (I do not use anywhere on pfsense special characters/Umlaut)

                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                    pfsense 2.7.2 CE
                    Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

                      @fireodo said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                      its a local file:
                      /root/database/ioam.txt

                      Yeah, I know.
                      It's a file.
                      A files has lines.
                      Line 15 of that file has an issue.

                      @gertjan said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                      So, please, don't let us wait : what is this line 15 ?

                      edit :
                      I'm using

                      cb03d350-0770-4aca-9a34-dd4a5231e153-image.png

                      for several weeks now.
                      pfSense 22.05.

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

                      fireodoF 1 Reply Last reply Reply Quote 0
                      • fireodoF
                        fireodo @Gertjan
                        last edited by fireodo

                        @gertjan said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                        Line 15 of that file has an issue.

                        Not the line 15 in the file (btw. its a domain name) - the error refers to the feed position in the group!

                        Line 15 is the position in the group of the feed that points to the local file! (Changing the feed position in the group results in change of the line number in the error)

                        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                        pfsense 2.7.2 CE
                        Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

                          @fireodo

                          Ah, ok.

                          Then what is different ?
                          Can you create a file called /root/test.xt - as I showed above ?
                          Can you place the content, as I showed above (7 lines or so) ?
                          Add the file as a "DNSBL Groups" entry" as I've showed above ?

                          We both use the same pfBlocker-ng version.

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

                          fireodoF 1 Reply Last reply Reply Quote 0
                          • fireodoF
                            fireodo @Gertjan
                            last edited by

                            @gertjan said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                            Then what is different ?

                            I guess the way the script validates the feed url.

                            Can you create a file called /root/test.xt - as I showed above ?

                            I did.

                            Can you place the content, as I showed above (7 lines or so) ?

                            Yes

                            Add the file as a "DNSBL Groups" entry" as I've showed above ?

                            Yes - same error (the content of the file doesnt matter at this point)

                            We both use the same pfBlocker-ng version.

                            You under 22.05 and me under 2.6.0 ...

                            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                            pfsense 2.7.2 CE
                            Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

                              Remember :

                              @gertjan said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                              Here a trick : go here : /var/db/pfblockerng/dnsblorig and delete your-file.orig - and reload pfblockerng

                              Because (I think) : pfblockerng doesn't reload the file, whatever you change in the settings.
                              It will reload a file or URL after one hours, two hours or whatever you've set.
                              To really for it : delete the 'orig' files or even all of them : they will get reloaded. As this worked for me.

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

                              fireodoF 1 Reply Last reply Reply Quote 0
                              • fireodoF
                                fireodo @Gertjan
                                last edited by fireodo

                                @gertjan said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                                As this worked for me.

                                Because (i guess) your v3.1.0_7 on 22.05 is more like v3.1.0_6 was on 2.6.0 ...

                                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                pfsense 2.7.2 CE
                                Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

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

                                  @fireodo said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                                  [PFB_FILTER - 2] Invalid URL (not allowed2) [ /root/database/youtubeads.txt ] [ 12/9/22 08:56:50 ]

                                  You need to move these files to the "/usr/local/www" or "/var/db/pfblockerng/" folder, if you intend to keep hosting these files on pfSense. Click on the Blue infoblock icon for the Source Definitions for more details.

                                  Running Cron Update I get this error on this list:

                                  [ EasyList ] Downloading update .. 200 OK
                                  [PFB_FILTER - 17] Failed or invalid Mime Type: [text/x-asm|0]

                                  The new code now checks the file magic to determine to the file mime-type.

                                  There is an issue in decoding the magic for some Easylist feeds. I suggest you use the Easylist Feeds that are in the Feeds tab as I have allowed some exceptions until the magic database is updated.

                                  I worked with the Dev to address this issue here:
                                  https://github.com/file/file/commit/31ee773f9cb78ff584872456ea1f139081a01761

                                  Just need for that to be updated into FreeBSD and then into pfSense.

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

                                  fireodoF 1 Reply Last reply Reply Quote 2
                                  • BBcan177B BBcan177 pinned this topic on
                                  • fireodoF
                                    fireodo @BBcan177
                                    last edited by

                                    @bbcan177 said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                                    @fireodo said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                                    [PFB_FILTER - 2] Invalid URL (not allowed2) [ /root/database/youtubeads.txt ] [ 12/9/22 08:56:50 ]

                                    You need to move these files to the "/usr/local/www" or "/var/db/pfblockerng/" folder, if you intend to keep hosting these files on pfSense. Click on the Blue infoblock icon for the Source Definitions for more details.

                                    Ah - i thought that it was just a example in the infoblock - I moved now the files in /var/db/pfblockerng and could save the settings - and works.

                                    Running Cron Update I get this error on this list:

                                    [ EasyList ] Downloading update .. 200 OK
                                    [PFB_FILTER - 17] Failed or invalid Mime Type: [text/x-asm|0]

                                    The new code now checks the file magic to determine to the file mime-type.

                                    There is an issue in decoding the magic for some Easylist feeds. I suggest you use the Easylist Feeds that are in the Feeds tab as I have allowed some exceptions until the magic database is updated.

                                    OK understood - I'll do so!

                                    I worked with the Dev to address this issue here:
                                    https://github.com/file/file/commit/31ee773f9cb78ff584872456ea1f139081a01761

                                    Just need for that to be updated into FreeBSD and then into pfSense.

                                    Thanks a lot and regards,
                                    fireodo

                                    Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                                    SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                                    pfsense 2.7.2 CE
                                    Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                                    1 Reply Last reply Reply Quote 0
                                    • provelsP
                                      provels
                                      last edited by

                                      It seems I've had v3.1.0_7 on 22.05 for some time. Not sure how that happened. I probably got a txt saying there was an update available a while back and installed it from the shell. Is this a re-release that needs to be reinstalled? No biggie, everything works, though I did need to start unbound after.

                                      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)

                                      E S 2 Replies Last reply Reply Quote 0
                                      • E
                                        emikaadeo @provels
                                        last edited by emikaadeo

                                        @provels said in pfBlockerNG-devel v3.1.0_7 / v3.1.0_14:

                                        It seems I've had v3.1.0_7 on 22.05 for some time.

                                        Same here but the packages are definitely not the same.
                                        Comparing file /usr/local/pkg/pfblockerng/pfb_dnsbl.doh.conf on my pfSense+ 22.05 and the one from github commit are different.

                                        EDIT: I think we should wait https://www.reddit.com/r/pfBlockerNG/comments/zg9ipo/comment/izjaun5

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

                                          @emikaadeo
                                          What hardware?
                                          amd64, arm64, or armv7

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

                                          E JeGrJ 2 Replies Last reply Reply Quote 0
                                          • E
                                            emikaadeo @BBcan177
                                            last edited by

                                            @bbcan177
                                            amd64

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