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!

Diversion 4.1.0 is now available

What's new in Diversion 4.1.0
- Bug fixes and various improvements
- More thorough /jffs/scripts/ check, fixes out-commented Diversion entries
- Added codeload.github.com and maurerr.github.io to hard coded whitelist
- New blocking file composition. File size decreases by about 30% by mapping 20 domains to blocking IP per line
- Prettier file listing in sf, option to delete saved stats files when viewed
- Option to delete whitelist, blacklist and wildcard-blacklist backup files in el
- Faster blocking file update and stats generation
- Does not create stats for individual clients if none were found
- Diversion update notification now also supports md5sum check and includes amtm update check
- 11 themes to chose from, pick one that works best in your SSH terminal client in ct
- amtm v2.2 users notice their chosen theme magically returns
- Option to reset ads counters and Dnsmasq log files in d
- Please read instructions how to update Diversion below

How to update to Diversion 4.1.0
Diversion v4.0.8 and earlier: Copy and paste the install command into the SSH terminal to update.
Diversion v4.0.9 users use u or d and select Update.

Screenshot of Diversion 4.1.0, showing the new theme 'reduced' on a black background:

i9sv892.png
 
Diversion 4.1.0 is now available

What's new in Diversion 4.1.0
- Bug fixes and various improvements
- More thorough /jffs/scripts/ check, fixes out-commented Diversion entries
- Added codeload.github.com and maurerr.github.io to hard coded whitelist
- New blocking file composition. File size decreases by about 30% by mapping 20 domains to blocking IP per line
- Prettier file listing in sf, option to delete saved stats files when viewed
- Option to delete whitelist, blacklist and wildcard-blacklist backup files in el
- Faster blocking file update and stats generation
- Does not create stats for individual clients if none were found
- Diversion update notification now also supports md5sum check and includes amtm update check
- 11 themes to chose from, pick one that works best in your SSH terminal client in ct
- amtm v2.2 users notice their chosen theme magically returns
- Option to reset ads counters and Dnsmasq log files in d
- Please read instructions how to update Diversion below

How to update to Diversion 4.1.0
Diversion v4.0.8 and earlier: Copy and paste the install command into the SSH terminal to update.
Diversion v4.0.9 users use u or d and select Update.

Screenshot of Diversion 4.1.0, showing the new theme 'reduced' on a black background:

i9sv892.png
I just updated using the U option.... All the Ads I whitelisted are now being blocked:eek::eek::eek:, could it have possibly been erased in the U process?

BTW.. Great job on the design.
 
The new themes in Diversion 4.1.0 were chosen for compatibility with various SSH clients and their dark or white backgrounds.
After updating to Diversion 4.1.0, enter ct to see which one works best for you. The theme selector shows all colors and backgrounds in use.
 
I just updated using the U option.... All the Ads I whitelisted are now being blocked:eek::eek::eek:, could it have possibly been erased in the U process?
I very much doubt that.
 
:confused: looks like i am going to be checking my drive for corruption then.
Look at the file in el, maybe it's empty or somehow mangled. One never knows.
 
that looks awesome :cool: kind of looks like an Asus ROG theme.
After so many years of colorful AB-Solution, amtm and Diversion screens, something had to be done to get a new look. I spent a lot of time choosing the composition (and alignment) of all the themes. amtm and Diversion use a corrector variable for each theme so that all look and behave the same.
 
Diversion 4.1.0 is now available

What's new in Diversion 4.1.0
- Bug fixes and various improvements
- More thorough /jffs/scripts/ check, fixes out-commented Diversion entries
- Added codeload.github.com and maurerr.github.io to hard coded whitelist
- New blocking file composition. File size decreases by about 30% by mapping 20 domains to blocking IP per line
- Prettier file listing in sf, option to delete saved stats files when viewed
- Option to delete whitelist, blacklist and wildcard-blacklist backup files in el
- Faster blocking file update and stats generation
- Does not create stats for individual clients if none were found
- Diversion update notification now also supports md5sum check and includes amtm update check
- 11 themes to chose from, pick one that works best in your SSH terminal client in ct
- amtm v2.2 users notice their chosen theme magically returns
- Option to reset ads counters and Dnsmasq log files in d
- Please read instructions how to update Diversion below

How to update to Diversion 4.1.0
Diversion v4.0.8 and earlier: Copy and paste the install command into the SSH terminal to update.
Diversion v4.0.9 users use u or d and select Update.

Screenshot of Diversion 4.1.0, showing the new theme 'reduced' on a black background:

i9sv892.png
how do you have white font and grey font all my font is grey?
 
how do you have white font and grey font all my font is grey?
Ask the developer of your SSH client why UTF 8 or 8 bit color table (256 colors) is not supported.
 
cdf24756f3bd589e52fbb3721c55b687.jpg


I like a splash of colour & thank you for a great script


Sent from my iPad using Tapatalk
 
I have a question I am getting these errors, is it because I am not running DHCP and DNS on the ASUS Router? (Even though in my Network Map/View List it show all the IP/MAC and Names)

This is from doing a "c,2,2" to compile the data
Code:
 Done  The current stats are being compiled now.
 This will take some time. If compiling fails,
 check the stats.div.log in  sf
 What do you want to do?  /opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-bwl: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
awkNR: /tmp/divstats/div-noisy: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
/opt/bin/grep: /tmp/divstats/div-iphostleases: No such file or directory
/opt/bin/grep: /tmp/divstats/div-hostleases: No such file or directory
awkNR: /tmp/divstats/div-toptop: No such file or directory
sed: /tmp/divstats/div-iphostleases: No such file or directory
cat: can't open '/tmp/divstats/div-iphostleases': No such file or directory
 
Last edited:
I have a question I am getting these errors, is it because I am not running DHCP and DNS on the ASUS Router? (Even though in my Network Map/View List it show all the IP/MAC and Names)
Probably, but I'm not going to check if it should work at the moment.
The clients list Diversion uses are in /e t c/hosts.dnsmasq and /var/lib/misc/dnsmasq.leases. At least one of these contain client(s) in your case.
 

Sign Up For SNBForums Daily Digest

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