PfblockerNG to block porn



  • Hi,

    Previously I've always used Squid/Squidguard, but after a time away from Pfsense I'm trying to use PfblockerNG to do the same. I'm struggling somewhat though as I cannot find decent docs. I've installed the dev version of PfblockerNG from the package manager.

    I've enabled PfblockerNG, DNSBL and TLD. From the DNSBL Category I've enabled blacklist category, Shallalist (which is specifically set to 'Porn'.

    When I try to force an update though I am seeing this message in the logs.

    'Downloading Blacklist Database(s) [ shallalist (~10MB) ] ... Please wait ...

    [ Shallalist_porn ] Downloading update [ 01/13/19 11:47:31 ] .
    [ Shallalist_porn ] file_get_contents(/var/db/pfblockerng/shallalist/shallalist_porn): failed to open stream: No such file or directory

    [ DNSBL_Shallalist - Shallalist_porn ] Download FAIL
    Local File Failure'

    Any idas please? WHat am I doing wrong?

    Thanks in advance



  • https://forum.netgate.com/topic/139517/pfblockerng-devel-category-feed-patch

    @yeleek said in PfblockerNG to block porn:

    WHat am I doing wrong?

    You're not checking already existing posts before creating your own thread. Don't be lazy/ignorant.


  • Global Moderator

    Blocking porn is really difficult with DNSBL. There are millions of domains.

    This is what you can do:

    • Enable the TLD option, and add "xxx" to the TLD Blacklist customlist. Then it will block any domain in the "xxx" TLD.
    • In EasyList, there are Adult Popups that are blocked, but that just removes the Adult AD popups, and not the Adult sites themselves.
    • A Proxy will be the best option to filter that type of content. SquidBlacklist/UT1 have some Adult categories which list quite a few Adult domains. It’s not foolproof either. Just be careful about MITM SSL issues.