What's new

Diversion Diversion 4.3.3 - the Router Ad-Blocker, released April 02 2023

  • 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!

i Updating ads counter...

/opt/bin/grep: warning: stray \ before /
/opt/bin/grep: warning: stray \ before /
/opt/bin/grep: warning: stray \ before /
/opt/bin/grep: warning: stray \ before /
/opt/bin/grep: warning: stray \ before /
I'm on it, this needs some investigating on my end as well. I can reproduce this warning with several actions within Diversion.
 
I'm on it, this needs some investigating on my end as well. I can reproduce this warning with several actions within Diversion.
so, it is a message spit out when ever you use egrep apparantely. Some users have reported that changing the command from egrep to grep -E resolved the issue. Another solution is to position your script towards the router binaries. eg.

PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH

i believe.

if not, try:

PATH=$PATH:/sbin:/bin:/usr/sbin:/usr/bin

All of this is caused by the script using entwares grep over using the routers built in grep binaries since once entware mounts it changes the path.
 
All of this is caused by the script using entwares grep over using the routers built in grep binaries since once entware mounts it changes the path.
Are you mansplaining to @thelonelycoder who nearly invented installing Entware on Merlin and started coding before you were out of diapers? :)

He’s on it.
 
Diversion working fine. Only see this warning in Scribe
Code:
  syslog-ng.conf version check ...grep: warning: stray \ before /
 in sync. (3.38)
 
so, it is a message spit out when ever you use egrep apparantely. Some users have reported that changing the command from egrep to grep -E resolved the issue. Another solution is to position your script towards the router binaries. eg.

PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH

i believe.

if not, try:

PATH=$PATH:/sbin:/bin:/usr/sbin:/usr/bin

All of this is caused by the script using entwares grep over using the routers built in grep binaries since once entware mounts it changes the path.
In one of my cases it's more like the warning is correct in that I partly escape special chars where it's unnecessary. The other case is a bit harder to solve but I'm sure there's a way.
 
Are you mansplaining to @thelonelycoder who nearly invented installing Entware on Merlin and started coding before you were out of diapers? :)

He’s on it.
Go grab a beer or something, soothing music may also help :);)
 
I've installed Diversion and trying to block youtube, but I see that there is no log for youtube in the dnsmasq.log (did face several adds on purpose)
I removed all blocking adds add-ons
Code:
Error  No recent YouTube domain found, view
some YouTube videos in a browser!
Can someone assist?

Also, there is an adds in the browser even on this forum :rolleyes:
 
Last edited:
Also, there is an adds in the browser even on this forum :rolleyes:
You're notified about this sites' sponsors' ads while installing Diversion, and accepted this by clicking 'enter'.
 
And YouTube ads blocking is hit and miss.

Did you try browsing YouTube for a few hours (as your screen shot indicates to do)? Or better yet, let loose a couple of kids on your network for a while to populate the servers it needs.

In the end, if it works for you, use it. If it doesn't, there is little anyone can do.
 
I did.
What concerns me the most, is that there are no logs from youtube in the log file
I've opened a log and run youtube as incognito. in the first video there was an ad, but no record has been added
 
I did.
What concerns me the most, is that there are no logs from youtube in the log file
I've opened a log and run youtube as incognito. in the first video there was an ad, but no record has been added
Sometimes it can take awhile. I remember I managed to turned on YouTube filtering after a few days. Keep watching YouTube. Was not hard when I had visitors with their baby watching Elmo for hours :confused:
 
I've installed Diversion and trying to block youtube, but I see that there is no log for youtube in the dnsmasq.log (did face several adds on purpose)
I removed all blocking adds add-ons
Code:
Error  No recent YouTube domain found, view
some YouTube videos in a browser!
Can someone assist?

Also, there is an adds in the browser even on this forum :rolleyes:
Your device and/or browser circumvents the router routing DNS queries.
 
Hello here. I'm a long time Melin user (on my old RT-N66U) but a newbie to Diversion (on recent update to RT-AX86U).
Firstly, huge thanks @thelonelycoder for your hard work!
Secondly - a lame question to which I couldn't find a sample anwser in the manual nor in the forum (though I'm sure someone must have asked the same question before...):
I want to configure separate blocking list for different clients in my network. Something like Client Settings in AdGuard Home. For example I'd like to set more strict rules on my kid's machines (on top of ads/phishing/malicious sites filter our violence, porn, gambling, social nets, enforce safe search, etc.) but be more reliant on other machines. Is there some manual how to do that? Is the "fast switch"/"Alternate blocking lists" the way to go?
 
Hi @thelonelycoder and happy new year to you!

I've started getting this error when using the pre defined large list:

Code:
downloading Large blocking list, 1 file(s)
 using 192.168.1.2 as blocking IP

 processing file 1 of 1
 remote file newer: getting new file
 https://dbl.oisd.nl/
 Error: https://dbl.oisd.nl/
 Error: is not a valid hosts file, using backup file
 file is in domains only format
 processing file 1 done

 removing whitelisted domains in blocking list, sorting file

 writing Large blocking list

 updated Large blocking list from 1 valid hosts file(s),
 819231 domains are now blocked by Diversion.

I've temporary switched to Medium.
 
Hi @thelonelycoder and happy new year to you!

I've started getting this error when using the pre defined large list:

Code:
downloading Large blocking list, 1 file(s)
using 192.168.1.2 as blocking IP

processing file 1 of 1
remote file newer: getting new file
https://dbl.oisd.nl/
Error: https://dbl.oisd.nl/
Error: is not a valid hosts file, using backup file
file is in domains only format
processing file 1 done

removing whitelisted domains in blocking list, sorting file

writing Large blocking list

updated Large blocking list from 1 valid hosts file(s),
819231 domains are now blocked by Diversion.

I've temporary switched to Medium.
I don' t know but OISD is very fragile when it comes to updating it if you are using Skynet etc. I am using OISD basic or lite which is https://dbl.oisd.nl/basic/ and still can't get remote file sometimes. Try whitelisting oisd domain name if you edited any whitelist files in Diversion or Skynet.
 

Latest threads

Sign Up For SNBForums Daily Digest

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