Diversion 5.1 is now available
In this update I eliminated harmful words, fixed a number of bugs and introduce a new way of allowing domains through the ad-block blockage.
Overall, it's a better version of Diversion.
What's new in Diversion 5.1
- Diversion feels and is faster in building the menu, notably on older routers.
- Renamed whitelist and blacklist to
allowlist and
denylist.
- Returns exact Asuswrt-Merlin firmware version number in header. Except for alpha or test releases where it cuts down the length of the string.
- Does no longer remove empty lines in /jffs/scripts files.
- Accuracy of ads count increased to near perfection - and so is detection of blocked domains when following the Dnsmasq log file
f and in the the stats generation. Thanks
@dave14305 for reporting.
- Changed the way *.conf files are loaded into Dnsmasq to be compatible with older Dnsmasq versions.
- Detects Dnsmasq version to correctly format blocking list and denylist (formerly known as blacklist). Dnsmasq version 2.85 and older use server= option while version 2.86 and newer use local= option to mark domains as NXDOMAIN.
- Corrected display of file name for local Diversion backup. Thanks
@dave14305 for reporting.
- Revamped error reporting for blocking list update.
- Much better detection of format of block lists during blocking list update. A more verbose output is seen when run manually. It also removes entries in hostslists that point to incompatible block lists such as easylist.to. Please report false positives immediately with exact URL of block list.
- Removes easylist.to and fanboy.co.nz links in hostslist(s) if found as they are all in an incompatible format. They're meant for browser addons, not Diversion.
- Changed wording in snbforums.com ad support option in
el, 1, 7. Dropped smallnetbuilder.com from allowlist (formerly known as whitelist), domain is no longer owned by snbforums.com owner. Thanks
@nlurker for reporting the ambiguous meaning of the option.
- Completely changed how allowlisting works (formerly known as whitelisting) and fixed blatant bugs. Thanks so much
@dave14305 for bringing that neat trick to my attention!
- Correctly removes Diversion_UpdateBLTwo job when the blocking list update days are changed to once a week. Don't remember who reported it to me but my guess it's Dave.
- Re-added definition of orphaned variable $sIP and improved the flow of adding a reserved address for certain services. Thanks
@nachito for reporting.
- I hope to save a few trees by having done a general clean up and reduction of significant parts of the code. We'll see. Also: I added a vulnerability check somewhere.
- And I'm aware that the
diversion.ch website needs some attention - now more then ever.