What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

It's a husky, long walks are a must :p
Code:
admin@RT-AC86U:/tmp/home/root# /opt/bin/dig r4.sn-ntqe6n76.googlevideo.com A +short | awk '{print $1}'
173.194.28.9
Without the pipe you get four?
 
It's a husky, long walks are a must :p
Code:
admin@RT-AC86U:/tmp/home/root# /opt/bin/dig r4.sn-ntqe6n76.googlevideo.com A +short | awk '{print $1}'
173.194.28.9
Happy dog, happy owner.
 
1 still, oddly
Code:
admin@RT-AC86U:/tmp/home/root# /opt/bin/dig r4.sn-ntqe6n76.googlevideo.com A +short
173.194.28.9
Likewise - also had to reset counters to get block list [yt] counter to change from 0

Now have 5 entries in yt blocklist file ...
Code:
169.1.3.140 r1.sn-54gpivnu15-q0ge.googlevideo.com
169.1.3.140 r1.sn-woc7ln7r.googlevideo.com
169.1.3.140 r2.sn-54gpivnu15-q0ge.googlevideo.com
169.1.3.140 r3.sn-4g5e6nzs.googlevideo.com
169.1.3.140 r4.sn-woc7lne7.googlevideo.com
 
are you doing this on a device that might use a hard-coded dns or just from your home desktop computers?
If you are doing this from a device that has a hard-coded dns, are you telling DNS filter on your router to force traffic with global mode enabled and set to router?

View attachment 23348

I have to enable that for my TV (Sony 55w829bbu) and set it's IP address in the DNS filter list otherwise I cannot get the Youtube app to load. For the life of me I couldn't figure out what I needed to put in the whitelist to make it work just for that device so it was easier to just go down the DNS Filter route just to keep the kids happy watching Peppa Pig.

If there is a way to get Diversion to work with it and the Youtube ad block it would be fantastic. Official Peppa Pig cartoon shows are riddled with ads every minute!
 
That should be one of the first steps after installing merlin on a router.
There are so many devices with hard coded DNS.
 
Same here, Merlin 384.17 @ RT-AX88U, IPv6 enabled (native)

Code:
May  9 13:58:01 Diversion: no YouTube temp file found
May  9 13:59:00 Diversion: no YouTube temp file found
May  9 14:00:00 Diversion: no YouTube temp file found

Code:
/opt/bin/grep -ae "reply.*-.*\.googlevideo.*\..*\..*\..*" /opt/var/log/dnsmasq.
log

May  9 11:04:43 dnsmasq[1997]: reply r4.sn-4g5e6nsd.googlevideo.com is 173.194.187.41
May  9 11:04:43 dnsmasq[1997]: reply r12.sn-4g5ednzz.googlevideo.com is 74.125.13.140
May  9 11:18:43 dnsmasq[1997]: reply r4.sn-4g5e6nsd.googlevideo.com is 173.194.187.41
May  9 11:20:25 dnsmasq[1997]: reply r12.sn-4g5ednzz.googlevideo.com is 74.125.13.140
May  9 13:56:06 dnsmasq[10920]: reply r3.sn-4g5e6ns6.googlevideo.com is 173.194.187.8
May  9 13:56:06 dnsmasq[10920]: reply r3.sn-4g5ednzz.googlevideo.com is 74.125.13.131
May  9 13:56:14 dnsmasq[10920]: reply r6.sn-4g5e6nls.googlevideo.com is 173.194.165.188
May  9 13:56:15 dnsmasq[10920]: reply r3.sn-4g5e6nls.googlevideo.com is 173.194.165.185
May  9 13:57:50 dnsmasq[14224]: reply r1.sn-4g5e6nsz.googlevideo.com is 173.194.182.230
May  9 13:57:50 dnsmasq[14224]: reply r1.sn-4g5ednzz.googlevideo.com is 74.125.13.129
May  9 13:58:00 dnsmasq[14224]: reply r2.sn-4g5ednll.googlevideo.com is 74.125.173.56
May  9 13:58:04 dnsmasq[14224]: reply r2.sn-4g5e6nl6.googlevideo.com is 74.125.104.72
May  9 13:58:07 dnsmasq[14224]: reply r2.sn-4g5ednss.googlevideo.com is 173.194.188.103
May  9 13:58:08 dnsmasq[14224]: reply r3.sn-4g5e6nsy.googlevideo.com is 173.194.187.136
May  9 13:58:08 dnsmasq[14224]: reply r14.sn-4g5ednzz.googlevideo.com is 74.125.13.142
May  9 13:58:14 dnsmasq[14224]: reply r5.sn-4g5e6nsr.googlevideo.com is 173.194.187.106
May  9 13:58:20 dnsmasq[14224]: reply r4.sn-4g5ednek.googlevideo.com is 173.194.164.186
May  9 13:58:25 dnsmasq[14224]: reply r5.sn-4g5e6nze.googlevideo.com is 173.194.187.202
May  9 13:58:25 dnsmasq[14224]: reply r5.sn-4g5ednls.googlevideo.com is 173.194.163.75
May  9 13:58:38 dnsmasq[14224]: reply r4.sn-4g5e6nze.googlevideo.com is 173.194.187.201
May  9 13:58:42 dnsmasq[14224]: reply r1.sn-4g5ednse.googlevideo.com is 173.194.188.38
May  9 13:58:47 dnsmasq[14224]: reply r1.sn-4g5e6nlk.googlevideo.com is 74.125.173.39

upload_2020-5-9_14-4-25.png


But it seems to work on all of my devices...I emphasize "it seems ..."
 
It looks like Diversion is clearing the caches when it finds a new host/s. Normal?
Code:
May  9 09:24:00 Diversion: found 1 new YouTube hosts, total is 9 (counter at 8 of 30)
May  9 09:24:00 kernel: echo (30941): drop_caches: 3
 
It looks like Diversion is clearing the caches when it finds a new host/s. Normal?
Code:
May  9 09:24:00 Diversion: found 1 new YouTube hosts, total is 9 (counter at 8 of 30)
May  9 09:24:00 kernel: echo (30941): drop_caches: 3
Yes, a leftover test.
 
After activating YT adblock yesterday evening it seemed to work, but this morning I'm seeing this message in the system log:
Code:
May  9 09:50:00 Diversion: no YouTube temp file found

Using your grep command shows no log at all?
Code:
/opt/bin/grep -ae "reply.*-.*\.googlevideo.*\..*\..*\..*" /opt/var/log/dnsmasq
/opt/var/log/dnsmasq: No such file or directory

Diversion does show a dnsmasq.log size of 3.4M
 
After activating YT adblock yesterday evening it seemed to work, but this morning I'm seeing this message in the system log:
Code:
May  9 09:50:00 Diversion: no YouTube temp file found

Using your grep command shows no log at all?
Code:
/opt/bin/grep -ae "reply.*-.*\.googlevideo.*\..*\..*\..*" /opt/var/log/dnsmasq
/opt/var/log/dnsmasq: No such file or directory

Diversion does show a dnsmasq.log size of 3.4M
Follow this instruction, it fixed mine. @thelonelycoder is aware.
Diversion - the Router Ad-Blocker
 
Not seeing ads (made sure to turn Ublock Origins addin inside brave off as well to test properly. Getting these below when I went thru terminal B, 8, 2 options.
May 9 10:07:00 RT-AC86U-AEA8 Diversion: no YouTube temp file found
May 9 10:08:00 RT-AC86U-AEA8 Diversion: no YouTube temp file found
May 9 10:09:00 RT-AC86U-AEA8 Diversion: no YouTube temp file found
May 9 10:09:18 RT-AC86U-AEA8 rc_service: service 31933:notify_rc restart_dnsmasq
May 9 10:09:18 RT-AC86U-AEA8 custom_script: Running /jffs/scripts/service-event (args: restart dnsmasq)
May 9 10:09:18 RT-AC86U-AEA8 custom_config: Appending content of /jffs/configs/dnsmasq.conf.add.
May 9 10:09:18 RT-AC86U-AEA8 custom_script: Running /jffs/scripts/dnsmasq.postconf (args: /etc/dnsmasq.conf)
May 9 10:09:19 RT-AC86U-AEA8 Diversion: restarted Dnsmasq to apply settings
May 9 10:09:19 RT-AC86U-AEA8 (dnsmasq.postconf): Updating /etc/dnsmasq.conf for unbound.....
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/clientlist.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/clientlist.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/clientlist.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/clientlist.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error locking /var/lock/amas_entry_list.lock: 0 Already locked
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
May 9 10:09:20 RT-AC86U-AEA8 amas_lib[1329]: Error unlocking -1: 9 Bad file descriptor
 
Damn, this is awesome. YT ad blocking is working perfectly for me. I can see it learning in the system log, blocking ads. When I play a video it'll play an ad but then after watching the same video again it won't play the ad, that's fantastic. Thank you for this.
 
In the GUI, I'm seeing this. Can I block that website so it does not monopolize the stats?

upload_2020-5-9_9-12-59.png
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top