Netgate SG-1000 microFirewall

Author Topic: Comprehensive YouTube/Google Ad Block List  (Read 653 times)

0 Members and 1 Guest are viewing this topic.

Offline kklouzal

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +1/-1
  • Maximum Performance!!
    • View Profile
Comprehensive YouTube/Google Ad Block List
« on: November 17, 2017, 07:17:16 am »
I have searched for months trying to find an all inclusive YouTube Ad block list for use with pfBlocker and that day has come.

Direct Link: http://jasonhill.co.uk/pfsense/ytadblock.txt
Found At: https://www.reddit.com/r/PFSENSE/comments/7c2y6f/pfblockerng_youtube_adblock_list/

We can all finally say goodbye to those pesky and annoying video ads!

Offline Presbuteros

  • Jr. Member
  • **
  • Posts: 63
  • Karma: +4/-0
    • View Profile
Re: Comprehensive YouTube/Google Ad Block List
« Reply #1 on: November 20, 2017, 01:55:02 am »
Thanks for sharing.
You add this to your DNSBL Feed section, correct?

I tested it. It blocks most. I had one ad get through on ten videos.
I had to make sure I had the Adblocker for Youtube Extension disabled in Firefox to give a fair chance.

Offline seanr22a

  • Newbie
  • *
  • Posts: 22
  • Karma: +2/-0
    • View Profile
Re: Comprehensive YouTube/Google Ad Block List
« Reply #2 on: November 20, 2017, 07:42:06 am »
I have searched for months trying to find an all inclusive YouTube Ad block list for use with pfBlocker and that day has come.

Direct Link: http://jasonhill.co.uk/pfsense/ytadblock.txt
Found At: https://www.reddit.com/r/PFSENSE/comments/7c2y6f/pfblockerng_youtube_adblock_list/

We can all finally say goodbye to those pesky and annoying video ads!

Great find! I've added the link to my list  :)

Offline kklouzal

  • Jr. Member
  • **
  • Posts: 59
  • Karma: +1/-1
  • Maximum Performance!!
    • View Profile
Re: Comprehensive YouTube/Google Ad Block List
« Reply #3 on: November 20, 2017, 01:24:42 pm »
You're welcome! Every once in a while an ad will get through; I think it's partially due to the fact we cant wildcard block like the file suggests we should
Quote
# Wildcard blocking
# The domains below need to beed added to your program as wildcard domains
# ( without the # )
#
# 6.googlevideo.com
# 7.googlevideo.com
# d.googlevideo.com
# e.googlevideo.com
# k.googlevideo.com
# l.googlevideo.com
# r.googlevideo.com
# s.googlevideo.com
# y.googlevideo.com
# z.googlevideo.com
Maybe this will be possible in the new overhauled version of pfBlocker.

Offline motific

  • Jr. Member
  • **
  • Posts: 35
  • Karma: +4/-0
    • View Profile
Re: Comprehensive YouTube/Google Ad Block List
« Reply #4 on: November 23, 2017, 11:15:50 am »
Wildcard blocking is not something pfBlocker would be able to do (so far as I know) in blacklisting as Unbound, which answers the DNS queries, isnít designed to do any processing on domain names - just return results for the specific domain requested and cache the results

Whitelisting, theoretically could make more use of wildcards but BBCan would need to implement it.  I donít know if the demand is there for that.

Offline smallette

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Comprehensive YouTube/Google Ad Block List
« Reply #5 on: November 24, 2017, 09:14:23 am »
Awesome, I will give this a go. Thank you for your time on this.  ;D

Offline BBcan177

  • Moderator
  • Hero Member
  • *****
  • Posts: 2554
  • Karma: +797/-5
    • View Profile
    • Click for Support
Re: Comprehensive YouTube/Google Ad Block List
« Reply #6 on: November 25, 2017, 11:11:20 pm »
Wildcard blocking is not something pfBlocker would be able to do

This is what "TLD" is for....

Blocking Youtube ADs will be hit and miss... Since they mess video and Ads together with the same domains.... so YMMV...

I am not recommending to do this, so this is just an example:

The list shows the following domain:
6.googlevideo.com

When TLD is enabled, it looks at the TLD masterlist to see what TLD options are "known":
Code: [Select]
/usr/local/pkg/pfblockerng/dnsbl_tld
So the only way it will wildcard block the domain above, is if "googlevideo.com" was in the TLD master list which would create a "Redirect" zone in the Unbound Resolver for all sub-domains....

But that will probably break lots of things....


"Experience is something you don't get until just after you need it."

 | http://pfblockerng.com | Twitter @BBcan177  | #pfBlockerNG |

Offline motific

  • Jr. Member
  • **
  • Posts: 35
  • Karma: +4/-0
    • View Profile
Re: Comprehensive YouTube/Google Ad Block List
« Reply #7 on: November 30, 2017, 10:44:52 am »
Thatís what I meant about wildcard blocking - you can blackhole all sub domains using tld but not partial ones - so all subdomains of googlevideo.com that start with A without also affecting those that start with B.

Or does Unbound support regular expressions and I missed it?

Offline BBcan177

  • Moderator
  • Hero Member
  • *****
  • Posts: 2554
  • Karma: +797/-5
    • View Profile
    • Click for Support
Re: Comprehensive YouTube/Google Ad Block List
« Reply #8 on: December 01, 2017, 10:26:20 am »
Thatís what I meant about wildcard blocking - you can blackhole all sub domains using tld but not partial ones - so all subdomains of googlevideo.com that start with A without also affecting those that start with B.

Or does Unbound support regular expressions and I missed it?

You could manually add custom entries to redirect any zones directly in the Unbound configuration... But its difficult to do that on an individual basis in the package... Maybe down the road .... :)
"Experience is something you don't get until just after you need it."

 | http://pfblockerng.com | Twitter @BBcan177  | #pfBlockerNG |