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

Wildcard Domain Block?

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 1.3k 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.
  • W
    waterwall
    last edited by Oct 17, 2018, 2:00 AM

    Basically trying to block youtube adverts which requires wildcard domain blocks.
    For example: need to block any domains with "d.googlevideo.com" ending, e.g. "r1---sn-4g57kndd.googlevideo.com"

    Did I miss obvious solution/tool for this task?

    P.S.: current Proxy configuration does not inspect HTTPS, so blocks are kinda useless there; also tried pfBlocker, appears to be blocking only TLDs, and not pattern; tried to implement redirect filter on Unbound itself - no positive results as well.

    B 1 Reply Last reply Oct 17, 2018, 2:51 AM Reply Quote 0
    • B
      BBcan177 Moderator @waterwall
      last edited by Oct 17, 2018, 2:51 AM

      @waterwall

      This is going to be hit and miss and cause videos not to load since google mixes the Ads/Videos on the same domain.

      So far there is no regex blocking (yet) in pfBlockerNG... This will be available when I add the python module to the DNS Resolver (Unbound), but I am waiting for the devs to add some more functionality to the Resolver before I can get this implemented.

      I'm sure regex options are available in the Proxy.

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

      1 Reply Last reply Reply Quote 0
      • W
        waterwall
        last edited by Oct 17, 2018, 3:10 AM

        @BBcan177
        Proxy has regex indeed, however without SSL inspection it simply ignores anything that goes over https including those adverts.

        That will be useful feature for the pfBlockerNG once implemented. Thanks for the great package btw!

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received