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

    Peculiar pfblockerng / tld blocklist & whitelist behavior

    Scheduled Pinned Locked Moved pfBlockerNG
    3 Posts 1 Posters 385 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.
    • I
      im_not_a_robot
      last edited by

      I have been running pfsense for a while and am quite happy with the setup. I am testing TLD blacklist/whitelist and running into a setup issue.

      Summary of post = TLD blacklist: io && TLD whitelist: mkdocs.github.io does not work. WAI?

      pfsense: 2.4.5-RELEASE, pfblockerng: pfBlockerNG-devel 2.2.5_30
      DSNBL: enable
      TLD: enable
      All IP and DSNBL lists disabled
      TLD blacklist: io
      TLD whitelist: tried both github.io and mkdocs.github.io

      Expected result: I thought mkdocs.github.io/mkdocs/ would work for one of the whitelist combinations. It does not.

      Workaround = If I add github.io to the blocklist with io it works.
      Workaround 2 = I could add pi-hole which supports regex based exclude and include patterns.

      • Question 1 - is this working as intended? Note, github.io and mkdocs.github.io resolve to the same addresses
      • Question 2 - is there a way to block an entire domain while permitting a wildcarded subdomain like *.github.io and ..github.io. Is there a different way that doesn't require force reload for every whitelist change.

      Thank you for your help.

      1 Reply Last reply Reply Quote 0
      • I
        im_not_a_robot
        last edited by

        Another example for the *.io domain. I can't find any combination of rules that enables access to ix.cnn.io. Even with the workaround attempt adding cnn.io to the blacklist I get a DNSBL_TLD entry in the alerts.

        Does this issue sound familiar to others?

        1 Reply Last reply Reply Quote 0
        • I
          im_not_a_robot
          last edited by

          In the end I disabled tld blocking since it led to many issues allowing certain sites with their own subdomains. I am maintaining a blocklist of individual sites. This is more effort but more reliable for use.

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