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!

On a reboot does it show 'clean' still? (Btw, that is a week ago, not a 'couple of days').
 
Tried to enable and update, but now I get this line repeated many times:

Code:
Waiting for blockinglist entry...
 
Tried to enable and update, but now I get this line repeated many times:

Code:
Waiting for blockinglist entry...
That line is from the install routine.
Have you tried running this command:
Code:
diversion mount
 
Just waiting longer for all the repeating "Waiting for blockinglist entry..." lines to finish seems to have helped:
Code:
> diversion mount
  ____  _                    _
 |  _ \(_)_   _____ _ __ ___(_) ___  _ __
 | | | | \ \ / / _ \ '__/ __| |/ _ \| '_ \
 | |_| | |\ V /  __/ |  \__ \ | (_) | | | |
 |____/|_| \_/ \___|_|  |___/_|\___/|_| |_|

 Welcome
 This is Diversion 4.1.10

  i  Enter 'diversion help' for more options

  ✔  No change: Diversion is enabled
 
New predefined blocking list "Minimal" in b to choose from
I couldn't find minimal as a choice:oops:. Is it in 1 change composition, or is it 2 disable standard +?
 
It shows for me, you can see how I got there. :) b,1,1 from the main Diversion menu.
Code:
___________________________________________________
 What do you want to do?  b
___________________________________________________
 Blocking list options
 The blocking list is assembled from hosts file(s)
 and is the main ad-blocker in Diversion.
 To fine tune the blocking list, use the edit list
 options in  el .
 1. Change composition Standard  fs
 2. Disable + Plus hosts
 3. Change update day(s) and time
 4. Update blocking list now  bu
 5. Find domain in hosts file(s)
 6. Alternate blocking list for specified clients
 7. Use LAN blocking IP address (advanced setting)
 8. Domains per line in blocking list(s), 20
 Enter selection [1-8 e=Exit] 1
____________________________________________________
 1. Select a predefined list
 2. Customize hosts list
 3. Enable blocking list fast switch  fs
 Enter your selection: [1-3 e=Exit] 1
____________________________________________________
 Select predefined blocking list to use.
 Your current type is Standard+
 1. Minimal
    winhelp2002.mvps.org.
    Blocks ads and badware only.
    Filesize: ~220 KB, ~10,800 blocked domains.
 2. Small
    someonewhocares.org, pgl.yoyo.org,
    github.com/hoshsadiq/adblock-nocoin-list.
    Restricted blocking of Ads.
    Filesize: ~340 KB, ~17,600 blocked domains.
 3. Standard
    github.com/StevenBlack adware + malware.
    Good mix of blocked domains.
    Filesize: ~840 KB, ~43,000 blocked domains.
 4. Medium
    github.com/StevenBlack adware + malware,
    hosts-file.net/ad_servers.txt.
    Comprehensive list of blocked domains.
    Filesize: ~2 MB, ~83,000 blocked domains.
 5. Large
    hosts.oisd.nl
    Very well maintained large hosts file, see
    reddit.com/r/pihole/comments/bppug1/introducing_the/
    Filesize: ~21 MB, ~953,000 blocked domains.
  i  Plus hosts + are enabled.
     https://hosts-file.net/emd.txt, exp.txt, hjk.txt,
     mmt.txt and psh.txt are separately added.
 
Just upgraded my router from AC87U (merlin/diversion/entware) to a AC88U, flashed merlin, setup diversion from scratch again using Large list as I have before, it's blocking domains ok, although I've noticed I don't have to add any of my whitelist entries this time around. Periodically tho I see this in dnsmasq log ...

dnsmasq-script[4438]: connect error: No such file or directory
dnsmasq-script[4438]: [SEND_AMAS_NODE_EVENT 4684)] ERROR connecting:No such file or directory.
dnsmasq-script[4438]: connect error: No such file or directory

Normal?
 
Last edited:
Diversion 4.1.10 is now available

What's new in Diversion 4.1.10
- Added u for Diversion update check to main menu.
- Uses built-in openssl binary for encrypting/decrypting email password. Thanks @kernol for reporting.
- Removed "export PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH" line in all files, same as amtm since v3.0.0.
- el and b accept non-Unix End-of-line EOL remote files.
- Does not use temporary pgl.yoyo.org file while updating when blocking list(s) are below 1050KB in size.
- New predefined blocking list "Minimal" in b to choose from, uses winhelp2002.mvps.org.
- Domains per line (dpl) setting in blocking list(s) is no longer a hidden setting in b. Auto updates blocking list(s) if change is detected.
- Fixed near match(es) search in el by requiring above setting to be 1 domain per line.
- Reviewed hard coded SNB whitelist, thanks @dave14305 for tagging me. See the new list at https://diversion.ch/diversion/use/hard-coded-whitelist.html
- Swap file size selection and removal now in sync with amtm and Skynet functions.
- No change of default blocking list setting "Standard" for new installs, thanks all for your posted opinions.
- Fixed no bugs, did not improve performance, donated @martinr's "newborn" donation to Terre des Hommes and I'm going on a vacation someplace nice tomorrow. See ya!

How to update
Use u to update to this latest version.

4jsJ1XW.png
For some reason, when using minimal list, it's showing as custom everywhere.
Maybe because I have a whitelist hosted?
 
For some reason, when using minimal list, it's showing as custom everywhere.
Maybe because I have a whitelist hosted?

What do you mean with everywhere?
 
What do you mean with everywhere?
On main menu and on "b".
But nevermind, I can't reproduce it again, I rebooted the router for another reason and after that, it started showing the correct name Minimal+ instead of Custom. :)
 
@thelonelycoder
I just reproduced it again.
You have to choose Minimal(+) for the secondary list. After that, it starts showing as Custom!

 
just posting my appreciation;

coder, thanks for adding the "minimal" as a new install option
i'm sure a lot of residential families will appreciate it.
as easy as you made the custom list system which i now use,
it took me a year till i realized it was there and exploited it. :oops:


whoever posted the list at; https://any.andryou.com/oisdhosts.txt
thanks so much. i replaced winhelp2002 with oisdhosts and it does
a much better job blocking some ad driven android streaming boxes.
it still blocks some retail referrals, so i'll have to test if i'll stay with it.
 
Last edited:
It probably would be useful if the thelonelycoder mentioned in his help link included on the help/add on TAB that to make his extremely useful Diversion script even more useful that users of his script should also install the uiDivStats script by JAZ so that the Diversion stats display on their own TAB without having to SSH into Diversion via AMTM.

In any case thanks to both thelonelycoder and JAZ for their scripts.
 
How useful is it to look at stats?

For my use it's a 'set it and forget it' type of thing.

I like to view the stats once a week.

Just to keep an eye on what is going on with the network but to each his own.
 
Last edited:
Can anyone tell me what the various colours signify when following the log in real time? Obviously, the red entries are blocked traffic, but what about the yellows, greens, blues and pale grey entries?
 
Can anyone tell me what the various colours signify when following the log in real time? Obviously, the red entries are blocked traffic, but what about the yellows, greens, blues and pale grey entries?
Red: blocked
Yellow: forwarded upstream
Green: incoming query
Blue: cached response
Gray: everything else
 
I need some help guys.

I just re-enabled Diversion last night using the Minimal+ list and am finding webpages taking a long time to fully load. Chrome shows "Connecting..." on bottom left for up to 30 seconds.
 

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