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!

Thank You for keeping those of us "less savvy users" in your coding thoughts!
That was always on my mind ever since I started the Adblock WCHFA adventure which led to AB-Solution and then to Diversion. In between these @Raphie suggested "a shortcut manager" that is now built into the firmware. Not a bad career huh?
 
I have added these custom hosts lists:
Code:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://hosts-file.net/download/hosts.txt
https://someonewhocares.org/hosts/hosts
http://winhelp2002.mvps.org/hosts.txt
https://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts
https://hosts-file.net/ad_servers.txt
https://adaway.org/hosts.txt
http://www.malwaredomainlist.com/hostslist/hosts.txt
http://sysctl.org/cameleon/hosts
https://raw.githubusercontent.com/yous/YousList/master/hosts.txt
https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt
https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts
These will block around 880.000 domains.
Can someone suggest more?
 
Last edited:
I have addes these custom hosts lists:
Code:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://hosts-file.net/download/hosts.txt
https://someonewhocares.org/hosts/hosts
http://winhelp2002.mvps.org/hosts.txt
https://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts
https://hosts-file.net/ad_servers.txt
https://adaway.org/hosts.txt
http://www.malwaredomainlist.com/hostslist/hosts.txt
http://sysctl.org/cameleon/hosts
https://raw.githubusercontent.com/yous/YousList/master/hosts.txt
https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt
https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts
These will block around 880.000 domains.
Can someone suggest more?
You can find the best collection of filter lists at https://filterlists.com/
Not all are supported, but you can filter by Diversion, Pi-hole and other host lists based collections.
 
You can find the best collection of filter lists at https://filterlists.com/
Not all are supported, but you can filter by Diversion, Pi-hole and other host lists based collections.
As Diversion now also supports Domain only lists, I've opened an issue on the filterlists.com GitHub.
 
Installed first entware and then Diversion.

At first the installation of entware stopped. Nothing happened. Could see that skynet blocked 87.74.145.140 (outbound) so I aborted the installation.

Whitelisted this IP address and restarted the entware installation. All went well this time. Continued with Diversion and finally with uiDivStats. After a few restarts and forced updates all is now well and working on my RT-AC3200. Thanks!!
 
FYI:

I installed Diversion Standard on my AC86. Awesome! But...

My connection between Spotify on my Android 10 Oneplus 6 and my Amazon Echos (Spotify Connect) started to give problems. My Echo devices disappeared, appeared, music out of sync, ...

Whitelisting device-metrics-us.amazon.com and rebooting my echos solved it.

Just letting everyone know in case you have this issue.

Tnx for Diversion!

Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk
 
So now in /jffs/scripts/unmount

Skynet

replaces the swapoff line that is added by diversion, with its own swapoff line, does this present the possibility of conflict with diversion?


Code:
[ "$(/usr/bin/find $1/myswap.swp 2> /dev/null)" ] && swapoff $1/myswap.swp # Added by Diversion

Code:
swapoff -a 2>/dev/null # Skynet Firewall Addition

will diversions swapoff line get readded if users decide to uninstall skynet?

or will this cause conflicts with unmounting swap files?
 
Last edited:
So now in /jffs/scripts/unmount

Skynet

replaces the swapoff line that is added by diversion, with its own swapoff line, does this present the possibility of conflict with diversion?


Code:
[ "$(/usr/bin/find $1/myswap.swp 2> /dev/null)" ] && swapoff $1/myswap.swp # Added by Diversion

Code:
swapoff -a 2>/dev/null # Skynet Firewall Addition

will diversions swapoff line get readded if users decide to uninstall skynet?

or will this cause conflicts with unmounting swap files?
Mine has everything, kitchen sink too! :)
Code:
user@RT-AC86U-4608:/tmp/home/root# cat /jffs/scripts/unmount
#!/bin/sh
SWP="$(find $1/myswap.swp 2> /dev/null)"
if [ "$SWP" ]; then
fi
[ "$(/usr/bin/find $1/entware*/bin/scribe 2> /dev/null)" ] && scribe stop nologo # added by scribe
[ "$(/usr/bin/find $1/entware/bin/diversion 2> /dev/null)" ] && diversion unmount # Added by Diversion
swapoff -a 2>/dev/null # Skynet Firewall Addition
 
unmount mod provided by Skynet fully works for me - old Diversion one failed in recent times.

Can now successfully use webUI to eject USB once again :).
 
Mine has everything, kitchen sink too! :)

Do you know which script added this line? (I assume there was a swapoff line in the if statement that was removed);

Code:
SWP="$(find $1/myswap.swp 2> /dev/null)"
if [ "$SWP" ]; then
fi

As this goes against the "standardized" behavior and the "one line per script with an identifying comment" rule for shared files.
 
Last edited:
Do you know which script added this line? (I assume there was a swapoff line in the if statement that was removed);

Code:
SWP="$(find $1/myswap.swp 2> /dev/null)"
if [ "$SWP" ]; then
fi

As this goes against the "standardized" behavior and the "one line per script with an identifying comment" rule for shared files.
I do not. I have used the services-start script before, but nothing else. Since this original install was over a year, I do not know. I have tried other scripts and later removed them, but not real good about checking and cleaning up after removal. Did @thelonelycoder use this before with Ab-Solution?

Should I just remove that and leave the ones from Skynet, Diversion, and Scribe?
 
Possible certificate problem when searching with Google ?

I just found something interesting: I searched for "k-rauta" with Google and found what I needed. However when I tried to open the first item in the list (k-rauta.se), I got an unexpected problem connecting to the web page seeming to indicate a certificate problem.

When manually typing the page k-rauta.se in the address field everything works fine.

The same thing happens when I search for other sites using Google.

Firefox / Google tells me this is related to certificates for "*.googleadservices.com" and "Pixelserv CS". They both have start dates that are suspiciously close to when I installed Diversion yesterday.

I normally use Firefox. The problem also occurs when using Google Chrome but not when using Internet Explorer or Edge (with Bing). Changing the search engine in Firefox to Bing also works. I can now connect to "k-rauta.se" as expected.

What should I do to get Firefox with Google search engine to work correctly?

Whitelist "*.googleadservices.com"? What would the consequences be? Why does it work correctly when searching with Bing?
 
'ad' services right in the link. Diversion is blocking ads. :)
 
Possible certificate problem when searching with Google ?

I just found something interesting: I searched for "k-rauta" with Google and found what I needed. However when I tried to open the first item in the list (k-rauta.se), I got an unexpected problem connecting to the web page seeming to indicate a certificate problem.

When manually typing the page k-rauta.se in the address field everything works fine.

The same thing happens when I search for other sites using Google.

Firefox / Google tells me this is related to certificates for "*.googleadservices.com" and "Pixelserv CS". They both have start dates that are suspiciously close to when I installed Diversion yesterday.

I normally use Firefox. The problem also occurs when using Google Chrome but not when using Internet Explorer or Edge (with Bing). Changing the search engine in Firefox to Bing also works. I can now connect to "k-rauta.se" as expected.

What should I do to get Firefox with Google search engine to work correctly?

Whitelist "*.googleadservices.com"? What would the consequences be? Why does it work correctly when searching with Bing?

That's the consequence of blocking Google ad domains. When you're searching for something just use the actual search entry instead of the ads on top, the real website entry is usually 3rd or 4th one Or the first one after the ads.
 
^ I had to explain this to the rest of my family only the other day. Only a minor inconvenience I would say.
 
Amazing, it's like Amazon's a one-company ad machine (at least for me)!

Annotation 2020-02-18 173539.jpg
 
Diversion is blocking the picture navigation from https://www.daft.ie/ which is a site to look for properties to buy/sell/rent in Ireland, false positive?
I tested disabling it and it worked again, I prefer to have Diversion enabled and when I want to go there I simply disable it for a short period, would be nice to try to fix it or suggest a config work around, etc
 

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