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

    Is there any way to load this list?

    Scheduled Pinned Locked Moved pfBlockerNG
    16 Posts 4 Posters 1.8k 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.
    • mike69M
      mike69 Rebel Alliance
      last edited by mike69

      Which device?

      For pfsense, the package "pfBlockerNG" can handle those kind of lists.

      DG FTTH 400/200
      Supermicro A2SDi-4C-HLN4F with pfSense 2.7.2

      G 1 Reply Last reply Reply Quote 0
      • G
        guardian Rebel Alliance @mike69
        last edited by

        @mike69 said in Is there any way to load this list?:

        Which device?

        For pfsense, the package "pfBlockerNG" can handle those kind of lists.

        I thought it could, but the current stable version doesn't find any domains.

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

          Do you "really" need that list ? Those domains are already present in other tables.

          grep 000007.ru /var/db/pfblockerng/dnsbl/*.txt /var/db/pfblockerng/dnsblorig/*.orig /var/unbound/pfb_dnsbl.conf /usr/local/pkg/pfblockerng/dnsbl_tld
          
          /var/db/pfblockerng/dnsbl/Malic_MDS_Immortal.txt:local-data: "000007.ru 60 IN A 10.10.10.1"
          /var/db/pfblockerng/dnsblorig/Malic_MDS_Immortal.orig:000007.ru
          
          grep 000free.us /var/db/pfblockerng/dnsbl/*.txt /var/db/pfblockerng/dnsblorig/*.orig /var/unbound/pfb_dnsbl.conf /usr/local/pkg/pfblockerng/dnsbl_tld
          
          /var/db/pfblockerng/dnsbl/Malic2_Krog_BD.txt:local-data: "000free.us 60 IN A 10.10.10.1"
          /var/db/pfblockerng/dnsblorig/Malic2_Krog_BD.orig:0.0.0.0 000free.us
          
          grep 000freexxx.com /var/db/pfblockerng/dnsbl/*.txt /var/db/pfblockerng/dnsblorig/*.orig /var/unbound/pfb_dnsbl.conf /usr/local/pkg/pfblockerng/dnsbl_tld
          
          /var/db/pfblockerng/dnsbl/Shallalist_adv.txt:local-data: "000freexxx.com 60 IN A 10.10.10.1"
          /var/db/pfblockerng/dnsblorig/Shallalist_adv.orig:000freexxx.com
          
          G 1 Reply Last reply Reply Quote 0
          • G
            guardian Rebel Alliance @RonpfS
            last edited by

            Thanks @ronpfs for the reply
            @ronpfs said in Is there any way to load this list?:

            Do you "really" need that list ? Those domains are already present in other tables.

            I'm not sure... like a lot of the lists there may be a lot of dupes... I have lists with 50% or more dupes, but the ones that aren't dupes are potentially useful. Unless I can load the list I don't have any easy way to know.

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

              Well there are many more domains in the list ...

              G 1 Reply Last reply Reply Quote 0
              • G
                guardian Rebel Alliance @RonpfS
                last edited by guardian

                @ronpfs IIRC there are about 1500 entries...

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

                  @guardian You could edit the file and only leave the domain names, create a table with this file as the last table in DNSBL and see how many Domain are not dupe.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    guardian Rebel Alliance @RonpfS
                    last edited by

                    @ronpfs it is a shame there isn't a hook to call a custom preparser script.

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

                      @guardian Write a parser and post it here 😋

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

                        @guardian

                        Try this feed instead:
                        https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt

                        It will have many duplicates since they post two lines per domain (ipv4/6)

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

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          guardian Rebel Alliance @RonpfS
                          last edited by guardian

                          @ronpfs said in Is there any way to load this list?:

                          @guardian Write a parser and post it here 😋

                          Hi @ronpfs... How about this... clean list with no dupes or extra crap:
                          curl https://raw.githubusercontent.com/notracking/hosts-blocklists/master/domains.txt | sed -ne 's|address=/(.*)/0.0.0.0|\1|p'

                          @bbcan177 said in Is there any way to load this list?:

                          @guardian

                          Try this feed instead:
                          https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt
                          Hi @bbcan177... this is not the same list... I picked 2 or 3 from the original list and searched, and they weren't there. I actually want to use both lists.

                          It will have many duplicates since they post two lines per domain (ipv4/6)
                          True enough... but does it really matter... you remove dupes anyway

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            guardian Rebel Alliance @guardian
                            last edited by guardian

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

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • G
                                guardian Rebel Alliance @BBcan177
                                last edited by

                                @bbcan177 said in Is there any way to load this list?:

                                @guardian

                                Try this feed instead:
                                https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt

                                is NOT the same list as:
                                https://raw.githubusercontent.com/notracking/hosts-blocklists/master/domains.txt

                                I did a compare of both lists (I cleaned up the lists as required using sed to strip everything but the domain, and then used sort -u to remove any dupes). I then used comp to check for overlaps, and there were NONE. So both lists are very different.

                                It will have many duplicates since they post two lines per domain (ipv4/6)
                                Do duplicates really matter? I thought pfblocker removed dupes? I guess it wastes processing time, but in my application that isn't a problem.

                                @ronpfs Here's is the corrected filter - it produces a totally clean list with no dupes or extra crap:

                                curl https://raw.githubusercontent.com/notracking/hosts-blocklists/master/domains.txt | sed -nr 's|address=/(.*)/0.0.0.0|\1|p'
                                

                                BTW @bbcan177 any plan to add the ability to do some sort of custom preprocessing on a list (such as I have illustrated above)?

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

                                  Install Cron package and then you could run a cron shell job 15 min before PfblockerNG Cron Update that download and process the list to a local file to be ready for processing.

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