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

    DNS Blacklist, New Package! Check it out.

    Scheduled Pinned Locked Moved pfSense Packages
    153 Posts 56 Posters 128.0k 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.
    • C
      cybrsrfr
      last edited by

      I created a web server package for pfsense called vhosts. You could put your custom message on one of the virtual hosts. And simply have this package point to it.

      1 Reply Last reply Reply Quote 0
      • D
        DWAyotte
        last edited by

        I think I found a small bug. When you are in Services > DNS Blacklist and you click on the pfSense logo in the top (I use the code-red theme btw) which takes you to Status > System or in other words "Home". It is a bad link, it tries to send you here: https://1.2.3.4/packages/dnsblacklist/index.php which is a 404 not found (tested on 2 seperate FWs).

        Also, just wondering. Will it be possible to query lists such as the Spamhaus DROP list?
        http://www.spamhaus.org/drop/
        Even being able to query their Zen list would be awesome, it would help take a little load off of mail servers that utilize the zen list for spam prevention.
        http://www.spamhaus.org/zen/

        Kudos on the package by the way, I have long since wanted something similar to opendns that is built into pfsense so you don't have to deal with the opendns bullcrap! Many thanks and great work.

        1 Reply Last reply Reply Quote 0
        • J
          jaime
          last edited by

          will this be an auto update package that can be updated through the GUI or must it be installed via shell or what ever?

          1 Reply Last reply Reply Quote 0
          • J
            jigpe
            last edited by

            Hi whats the name of you channel in freenode again?

            1 Reply Last reply Reply Quote 0
            • C
              cronist
              last edited by

              the "adult" section of dns blacklist prevents to login facebook coz of it works on IP based.
              so all the domains hosted on the same server is blocked.
              when i tried to login facebook by fill the username and password, i am getting google home page with *.google.com certificate.
              how can i solve this issue?

              1 Reply Last reply Reply Quote 0
              • G
                ginosteel
                last edited by

                after installed the package i got:

                May 17 01:53:11 dnsmasq[2526]: cannot read /usr/local/etc/dnsmasq.blacklist.conf: No such file or directory
                May 17 01:53:11 dnsmasq[2526]: cannot read /usr/local/etc/dnsmasq.blacklist.conf: No such file or directory
                May 17 01:53:11 dnsmasq[2526]: FAILED to start up
                May 17 01:53:11 dnsmasq[2526]: FAILED to start up
                May 17 01:53:12 php: /index.php: [DEBUG] Lock recursion detected.

                and all was messed up and even my own dns could`t resolve

                1 Reply Last reply Reply Quote 0
                • N
                  Nadrek
                  last edited by

                  Just as a note, the ability to enter a list of DNS names, or use a category based subscription, to prohibit is one of the major features of Sonicwall (and other) firewall products, and if this package does what I think it does, then it allows pfSense to be that much more of a serious competitor.

                  I apologize for not reading the entire thread, but if I install this on 1.2.3-RELEASE WebGUI, will I be able to uninstall it via WebGUI if for whatever reason I need to?

                  1 Reply Last reply Reply Quote 0
                  • J
                    jideel
                    last edited by

                    @kiko-lpa:

                    Hi,

                    First of all thanks for the package.

                    I am moving my PFsense 1.2.3 to newer hardware and would like to use DNS Blacklist with new install. I have tried and like how it works and the idea.

                    I am having a problem that I have no been able to solve, probably missing something or don't know full usage of the package. At my company we are using Google Apps for email and other services, the email accounts are setup for POP and SMTP use and have email clients configured.

                    If DNS Blaclist is enable with only adult filter the smtp and pop.gmail.com becomes inaccessible, if I disable the adult filter or DNS Blacklist, everything works well again. For your knowledge google emails uses SSL ports for email configuration, ports 465 and 995.

                    I have looked in the /adults/domain, /url and /expressions files and have no found anything for gmail.

                    For the moment I have to stop the use until whitelist will be available or find a solution for my problem.

                    ¿Any suggestions or Idea?

                    Many Thanks  :-\

                    Hi,
                    Exactly the same issue, also same as tebruno99's post.
                    If i enable the 'adult' list, it starts blocking a lot of websites not in the blacklists.
                    For example, it blocks 'www.shallalist.de'.
                    I grep'd the whole lists (ssh'd to the box) to search for either 'shallalist', the ip of the website (78.47.242.85), the names of the DNS servers (shalla.de,robot7.first-ns.de, robot2.second-ns.de) and the IPs of these DNS servers, and found nothing related.
                    If i grep 'shalla' only, it finds :
                    blacklists/adult/domains:shallanmeiers.com.ar
                    blacklists/porn/domains:shallanmeiers.com.ar
                    which has no direct relation with shallalist.de
                    So i ended up with not enabling the 'adult' list, wich i really woud like to enable.
                    I'm using pfSense 1.2.3 release with squid/squidGuard. DHCP server is enabled and serve the IP of the box (gateway) as the DNS server. DNS forwarder is enabled. The DNS setting of Squid is forced to the private LAN IP of the box ('Use alternate DNS-servers for the proxy-server'), because, if not set, Squid seems to bypass the dns forwarder and directly resolve the names through the provider's DNS.
                    In SquidGuard, the option 'Not to allow IP addresses in URL' is enabled.
                    Any idea ?
                    Thank you.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jideel
                      last edited by

                      There's also an error at boot :
                      DNS Blacklist : Fatal error : cannot redeclare pkg_is_service_running() previously declared in /usr/local/pkg/cron.inc:37 in /usr/local/pkg/dnsblacklist.inc on line 35.
                      I removed the cron package, and now it says the same message for another package (ip-blocklist).
                      Can it interfere with other packages, and how to fix this message ?

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

                        The ip-blocklist package messes with the dns blacklist package. Sorry Mcrane!

                        I am working on a fix right now.

                        -Tom Schaefer
                        SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                        Please support pfBlocker | File Browser | Strikeback

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

                          Fixed!

                          -Tom Schaefer
                          SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                          Please support pfBlocker | File Browser | Strikeback

                          1 Reply Last reply Reply Quote 0
                          • S
                            shadowteller
                            last edited by

                            So question….

                            I am using a brand new clean install on pfSense 1.2.3.  I install this as the only package.

                            The Problem I am seeing is that every site gets redirected to the google.com page.  Has anyone ran into this issue and if so what is the fix?

                            Regards

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

                              DNS blacklist domains are kind of out dated.
                              Here's how you can update your lists
                              1. Download latest from http://cri.univ-tlse1.fr/blacklists/index_en.php - download the blacklists.tar.gz
                              2. Untar the archive
                              3. Copy contents directly to /usr/local/www/packages/dnsblacklist/blacklists
                              4. overwrite when prompted.
                              5. In your browser re-save the DNS Blocklist settings to commit the new updates.

                              -Tom Schaefer
                              SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                              Please support pfBlocker | File Browser | Strikeback

                              1 Reply Last reply Reply Quote 0
                              • X
                                Xthink
                                last edited by

                                Is this package available for the snapshot builds?

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

                                  Strange i can open youtube.com as allways…
                                  I installed package
                                  Updated blacklist's
                                  And activated DNS Blocklist in pfSense services and checked categories i need...
                                  And it doesent block anything

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

                                    @vsberto:

                                    Strange i can open youtube.com as allways…
                                    I installed package
                                    Updated blacklist's
                                    And activated DNS Blocklist in pfSense services and checked categories i need...
                                    And it doesent block anything

                                    Which category is supposed to block YouTube?

                                    -Tom Schaefer
                                    SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                    Please support pfBlocker | File Browser | Strikeback

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

                                      Hi folks, i am new to pfsense so please excuse what might be a stupid question.

                                      I installed and got this package working but i have two questions:

                                      1. is there a way to change where the blocked page gets redirected to?
                                      2. is there a way to have certain ip's bypass this app?

                                      Thanks,

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

                                        This is a greate package from pfsense. I loving pFsense  ;D ;D ;D ;D

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

                                          Hello, I was instructed that DNS Blacklist would be a good addition to pfsense.  Right now I have added "OPT1" specifically for my son's computer which is directly plugged in.  He has the outstanding Country Block on his interface blocking the outbound however I'd also like to block certain categories, i.e. Adult content.  I can use OpenDNS' settings however eventually he'll figure out how to temporarily switch them and so having something within pfsense would be ideal.  Back to DNS Blacklist, is this list actively updated or obsolete?  Can I address this package to only effect certain interfaces or is every interface effected by the selections made?  Thanks.

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

                                            @mgc6288:

                                            Hello, I was instructed that DNS Blacklist would be a good addition to pfsense.  Right now I have added "OPT1" specifically for my son's computer which is directly plugged in.  He has the outstanding Country Block on his interface blocking the outbound however I'd also like to block certain categories, i.e. Adult content.  I can use OpenDNS' settings however eventually he'll figure out how to temporarily switch them and so having something within pfsense would be ideal.  Back to DNS Blacklist, is this list actively updated or obsolete?  Can I address this package to only effect certain interfaces or is every interface effected by the selections made?  Thanks.

                                            The lists are actively updated but not in the package. In the previous post I show you how to update your lists directly from the source.
                                            Every interface using local DNS is affected by the package. You can bypass by specifying another DNS server on your systems just the same way you can bypass OpenDNS.

                                            -Tom Schaefer
                                            SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                            Please support pfBlocker | File Browser | Strikeback

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