Diversion 5.4 is now available

What's new in Diversion 5.4

  • The Diversion menu d, 1 now has options to temporarily disable its services for a set time. A cron job will auto-re-enable the services or a reboot of the router would do the same.
  • Adds the following Entware mirrors to the shared Diversion whitelist: mirrors.bfsu.edu.cn, mirrors.cernet.edu.cn, mirrors.cqupt.edu.cn, mirrors.nju.edu.cn. These were added to amtm in a previous release.
  • The follow the Dnsmasq log file f option now allows to customize the log file colors. Thanks to zitev for the suggestion.

 

amtm 5.1 is now available

What's new in amtm 5.1

  • The disk check dc and LED control lc will try to restart the NTP service should the routers date not sync within reasonable time.
  • Revised suggested smtp ports in em email settings description. Thanks to GitHub user elp3dr0 for reporting.
  • Added (volatile) descriptor to lc LED control option 2. Manually Enable/Disable LEDs now (volatile).
  • Correctly removes entries in either /jffs/scripts/post-mount or services-start when LED scheduler is disabled. Thanks to Ripshod for reporting this bug.

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 5.0 is now available

What's new in amtm 5.0

  • Replaced ping tests with curl for ep Entware Server selection, streamlined server search code logic. Read here why: https://www.snbforums.com/threads/is-curl-the-new-ping.92831/
  • Adds the following Entware mirrors to the shared amtm whitelist: mirrors.bfsu.edu.cn, mirrors.cernet.edu.cn, mirrors.cqupt.edu.cn, mirrors.nju.edu.cn
  • Additional checks and auto-corrections in lc LED control.

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.9.3 is now available

What's new in amtm 4.9.3

  • The Entware installer will now ask if the @maurer backports-mirror should be used or not on routers with an End-of-Life Entware repository. Thanks to Tarek Yag for reporting.
  • The dynamic LED scheduler will now attempt to re-download location data three times if one of the core variables is missing. If all three fail it will disable the LED scheduler and LEDs will stay on. This event is logged to the syslog. Thanks to maghuro for reporting.
  • Some fixes/additional text here and there, including adding the full path to the Entware grep binary. Thanks to pdc for reporting.

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.9.2 is now available

What's new in amtm 4.9.2

  • Rewrote the lc Dynamic LED control portion.
    This now uses the Geographic coordinate system instead of a location code by weather.com to set the dynamic sunrise/sunset time.
    After updating amtm it is required that dynamic LED lc be setup new with coordinates.

    Please read new instructions when setting up dynamic LEDs.
    Location coordinates can be obtained from google maps/earth by pointing at your location and copy and paste the complete longitude and latitude code.
    For example, the complete latitude and longitude coordinates for Lucerne, Switzerland are 47.05048,8.30635.
    Obviously, the above coordinates are not my (thelonelycoders) exact location where I coded this all!
    Do not post your coordinates here or anywhere else for that matter or you might be visited by some freak asking for a beer!

    Your coordinates will fetch a months worth of sunset/sunrise data from the sunrisesunset.io API at a time, while additional location data is fetched from openstreetmap.org to confirm your location selection.
  • Added openstreetmap.org and sunrisesunset.io to shared amtm whitelist.
  • Known issue: All hopelessly outdated Mipsel based routers will throw errors if the required Entware package jq (v1.6) is from Maurers repository. Use The Entware original jq (v1.5) if you must.

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.9.1 is now available

What's new in amtm 4.9.1

  • Adds support for amtm firmware update notification fw for: GT-BE98 (by GNUton) and RT-BE96U, GT-BE98_PRO.
  • Fixes dynamic LED control lc sunset/sunrise time scraping from weather.com - that is until they change their website source code again!
  • Adds reverse dynamic time for LED control lc option, LEDs are on at night and off during the day. Thanks to decedion for the suggestion.
  • Swap file management sw now has option to change size instead of only deleting it.

See also the current amtm Discussion on the SmallNetBuilder Forum

Diversion 5.3 is now available

What's new in Diversion 5.3

  • Moves Diversion (and uiDivStats) tab(s) to end on LAN WebUI page for routers supporting VLANs (BE9x routers) after a reboot.
  • Corrects screen scrolling issue introduced in firmware 386.14 on AC-x models. Thanks to @dave14305 for finding the simple fix. This fix does not affect the abandoned Asuswrt-Merlin LTS fork by @john9527.
  • Allows to follow Dnsmasq log file by VPN device IP when connected through OpenVPN server. Thanks to @JimbobJay for the suggestion.

 

amtm 4.9 and Diversion 5.2 are now available

What's new in amtm 4.9

  • Adds support for 3006.x firmware: GT-BE98 (by @GNUton) and RT-BE96U, GT-BE98_PRO (by @RMerlin).
  • Shows correct firmware version in header for new models.
  • LED control lc compatibility with new models. 3006.x firmware models switch AURA lighting on and off if enabled with the changed option to use Night Mode when switched on.

What's new in Diversion 5.2

  • Adds support for 3006.x firmware: GT-BE98 (by @GNUton) and RT-BE96U, GT-BE98_PRO (by @RMerlin).
  • Shows correct firmware version in header for new models.
  • Removes unmount command as this is no longer a feature of Diversion.
  • Some amtm developer friendly options have been built in or modified.
  • Support for the separate Dnsmasq instances for Guest Network Pro will come with a future update.

 

amtm 4.8.1 is now available

What's new in amtm 4.8.1

  • Modifies ipset test for Skynet preventing installation on *BE9x routers. Thanks Adamm for the update.
  • Any further modifications for this firmware/models branch will have to wait until firmware is released for my GT-BE98.

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.8 is now available

What's new in amtm 4.8

  • LED control lc now runs directly from the .mod file, this eliminates the separate ledcontrol script.
  • LED control lc now offers to couple Aura lighting to the LED scheduling. Capable routers will show an additional menu entry. Thanks to visortgw for asking for and test that feature.
  • Shell history sh now runs directly from the .mod file, this eliminates the separate shellhistory script.
  • Some amtm developer friendly options have been built in or modified.
  • A few rainy day fixes here and there.

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.7 is now available

What's new in amtm 4.7

This update focuses on the new Entware repair options in amtm. Thanks to ColinTaylor for triggering this idea.
The ep menu has now a new entry called 4. Entware repair options.

    • Option 1 reinstalls Entware over the existing installation. This will make sure all necessary Entware core files are present.
    • Option 2 reinstalls all installed packages. This may help when some weird errors occur with Entware packages. Be aware that certain package config files will be overwritten by default values.

For the second option an additional warning is given when selected that config files may be overwritten. Be sure to have a backup ready with bm BACKUPMON.
The order of troubleshooting Entware installations is to run option 1 first, then option 2.

Additionally, the option of reusing an existing Entware installation during the Entware installation will automatically reinstall Entware over the existing previous installation.

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.6 released

What's new in amtm 4.6

  • Fix for incorrect SWAP unmount entry. If you use a swap file, open sw in amtm to check after updating amtm. If "Entry in /jffs/scripts/unmount corrected" is shown the entry needed correction. Use e to exit.
  • Adds support for TAILMON - WireGuard-based Tailscale installer, configurator and monitor by Viktor Jaep.
  • Rearranged order and grouping of available scripts in the amtm UI.


See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.5 released

What's new in amtm 4.5

  • The "min upd" wording has changed to "MD5 upd", additionally an info text is shown saying that this is a script file hash change.
  • Fixed typo in shell history, thanks to dave14305 for the pull request.
  • Adds support for uiDivStats j5 v4.0.0 fork by @thelonelycoder. Existing installations will show an extra menu entry (j5u) to use this fork, new installations use it by default. Thanks to GitHub user 314eter for the updates. See new uiDivStats thread. Use the SSH UI to update uiDivStats after running the shown command.
  • A few minor changes here and there, missed the total solar eclipse.


See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.4 released

What's new in amtm 4.4

  • Adds support for scMerlin v2.5.0 j3 fork by thelonelycoder. Existing installations will show an extra menu entry to use this fork, new installation use it by default. Thanks to Martinski for the updates. See new scMerlin thread. Use the SSH UI to update scMerlin after running the shown command.
  • Updated content of shared amtm whitelist.
  • Corrects wrong EHLO (Extended Hello) string when mailing an attachment with curl. Thanks GitHub user tazio for reporting.
  • Adds disk check dc notification to amtm UI if the word error is found during the last check. Additionally an email can be sent if that happens. Configure it in dc. Thanks to GitHub user SirFireNewt for the suggestion.
  • Adds support for Entware-backports Repo by maurer for armv7sf-k2.6 based routers like the RT-AC68U or RT-AC1900P. Existing installations can add the repo in ep, new installations use it by default.
  • Corrects scraping the Dynamic LED control lc sunset/sunrise time from the weather.com website. They have changed their JavaScript code.


See also the current amtm Discussion on the SmallNetBuilder Forum

Diversion 5.1 released

Diversion 5.1

What's new in Diversion 5.1

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.

  • 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 this website needs some attention - now more then ever.

amtm and Diversion versioning scheme change

For your information, as suggested by alan6854321 and briefly discussed here, I will now strictly follow the most used versioning system, with the major.minor.patch numbering system for both amtm and Diversion.

As a compromise to my previous habit, for Patch releases I will only post the reason in the current respective script thread on snbforums.com, just as I did before with the "minor update, no version change" scheme. Additionally, I will change my signature on snbforums.com with the new version number.

For all Major or Minor releases I continue to do the following:

The current thread is at the top of the list. Listing for amtm and for Diversion on snbforums.com

amtm 4.3 released

amtm v4.3

What's new in amtm 4.3

  • Adds support for 8 MerlinAU - The Ultimate Firmware Auto-Updater by ExtremeFiretop, with major contribution from Martinski. Welcome to amtm! See the thread here.
  • Adds support for vp VPNMON-R3 - Monitor WAN/Dual-WAN/VPN Health & Reset Multiple VPN Connections by Viktor Jaep. See the thread here.
    Also, thanks to orionstar on GitHub for being such a good sport and make your own version of the *.mod file!
  • Sunsetts VPNMON-R2 (command is now vp2) by Viktor Jaep, it can no longer be installed through amtm.
  • amtm feels and is faster in building the list of installed scripts, notably on older routers.
  • Added extra check for entware folder deletion when removing Entware.
  • Removes support for pixelserv-tls "pixelserv-tls CA for WebUI" feature, one can still run the command manually by entering the following into the SSH terminal: sh -c "$(wget -qO - https://diversion.ch/scripts/config-webgui.sh)"
  • The dc Disk check is now run directly by the disk_check.mod file instead of a separate file.
  • Reworked check if email settings are complete.
  • Correctly adds sc scripts update notification cron job when (re)booting. Thanks to maghuro for reporting.
  • Now returns exact Asuswrt-Merlin firmware version number in header. Thanks to Martinski (Martinski4GitHub on GitHub) for being persistent.
  • Revamped the header content and added static current router timestamp.
  • Now hides already installed scripts in the i available scripts screen for brevity.
  • Does no longer remove empty lines in /jffs/scripts files. Thanks to Max33Verstappen on Github for being persistent.
  • Rearranged amtm options for brevity.
  • Replaced many multi-line echo commands with printf.


See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.2 important update is available, no version change

What's changed
- Fixes overzealous post-mount check that changed the file date.
- Downloads mount-entware.mod when missing.


Important
If Entware option ep is present in amtm: Just update, it will fix missing things when necessary. No reboot required.

If Entware option ep is NOT present in amtm: Update amtm and then enter ep. It will prompt to install Entware.
1. Continue to install Entware. At 'Select device' it will say "Found compatible previous Entware installation'.
2. Select that device.
3. Next select '1. Reuse previous Entware installation.'
4. Finish install. Nothing will be lost. Sorry for the inconvenience.
5. The router will reboot when finished.

All done.


See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.2 released

What's new in amtm 4.2

  • Creates shared-amtm-whitelist automatifcally when Diversion is not installed. Skynet auto-includes list.
  • Removed support for deprecated scripts FreshJR_QOS (Adaptive QOS) and nsrum (NVRAM Save/Restore Utility).
  • Removed incorrect trailing OR command (||) that preventend removing the entware folder when uninstalling Entware.
  • Format disk now uses full path to routers mke2fs, preventing accidental usage of incompatible Entware version. Thanks to ColinTaylor for reporting.
  • Checks if selected Entware server resolves during install and update checks, auto switches server if one fails.
  • Added extra check for correct post-mount file entry.
  • Now automatically uses entware-backports-mirror (maurerr.github.io) for new installs on old MIPS based routers.
  • Removed now obsolete pixelserv-tls references during Entware actions.
  • The non-firmware amtm version now adds 'legacy' to the header.
  • A few other fixes that are hardly worth mentioning.


See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 4.1 and Diversion 5.0 released

Please update amtm before updating Diversion. Thanks.

What's new in amtm 4.1

  • NEW: fw Firmware update notification. This has been moved over from Diversion.
  • NEW: rr Reboot router command.
  • NEW: sc Scripts update notification. This has been moved over from Diversion.
  • Changed: Dynamic LED control will not run if Entware date is missing.
  • Changed: uiDiStats changes due to Diversion 5.0 release.
  • Changed: Places swap entry at top of post-mount file.
  • Changed: rd Router date keeper, changed how nvram is called.

amtm may flash a few times when returning after the Diversion update. It is integrating the new services moved from Diversion.

Please update amtm before updating Diversion. Thanks.

 

What's new in Diversion 5.0

This major update transforms Diversion from IP based blocking to Dnsmasq NXDOMAIN blocking (non-existing domain).
All of the changes below are done automatically during the update.
Please DO NOT use the WebUI update function for this major update, use the SSH UI instead. Thanks.

  • Firmware update notification moved to amtm.
  • amtm Scripts update notification moved to amtm.
  • NEW: Restricted access for devices (Kids mode), everything is blocked except when whitelisted.
  • Disables uiDivStats until an updated compatible version is available. There is no ETA for this version at this time, please do not bother Jack Yaz, it will be done when it's done.
  • Removes pixelserv-tls if installed by Diversion.
  • Removes wildcard-blacklist, it is no longer needed, entries are moved to the blacklist.
  • Removes Experimental YouTube Video ads blocking.
  • Changes for iOS Shortcuts app.
  • Moves Entware install to amtm.
  • Removes type 65 blocking feature, no longer needed.
  • Removes LAN blocking IP address feature, no longer needed.
  • IPv6 state in router is no longer relevant.
  • Updated composition of default predefined blocking lists.
  • Changes URL of dbl.oisd.nl and big.oisd.nl to https://big.oisd.nl/dnsmasq2, hosts format is no longer available after January 1st 2024.
  • There is now only one version of Diversion, no Lite, no Standard Edition, just Diversion.
  • The diversion.ch website will be updated/replaced to reflect these changes when time allows.

There are many more changes that are not listed. Generally, everything non-ad blocking related has been moved to amtm.

Diversion 5.0 post-update notes

  • Open amtm after updating Diversion. amtm may flash a few times when returning after this Diversion update. It is integrating the new services moved from Diversion.
  • If you've used pixelserv-tls (Diversion Standard Edition), please remove imported certificates from your devices. Reverse the 'Import Pixelserv CA on client devices' procedure here. For iOS devices: 1. Settings / General --> VPN & Device Management. Remove Pixelserv CA Profile. This seems to also remove step 2.
    2. Settings / General / About --> scroll down --> Certificate Trust Settings. Revoke Pixelserv CA
  • Please review your blocking list composition in b, 1, 2. If you're using dbl.oisd.nl or big.oisd.nl they have been changed to https://big.oisd.nl/dnsmasq2 during the update. The hosts format is no longer available after January 1st 2024.
  • Also review if the 'Minimal' list is in use in b, 1, 2, https://winhelp2002.mvps.org/hosts.txt is obsolete. Re-Select the newly composed files for the Minimal list.

amtm 4.0 released

amtm v4.0

What's new in amtm 4.0

This major update includes features previously only available in Diversion:

  • amtm header shows Entware device and usage
  • Additional checks are made during Entware install
  • Cron jobs can now be viewed in amtm with cj


Additionally, these features were added:

  • Shows separator for what amtm considers third-party and non third-party scripts on the i install screen
  • Reset/Remove r option shows more info when selected
  • Added --crlf carriage return line to test mail function, thanks to Cedarhillguy for reporting
  • A few minor fixes


And last but not least, I'm very pleased to announce:

Note that Diversion 5.0 is not yet available.
 

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

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 3.8 released

What's new in amtm 3.8

  • Router date keeper rd.  Lets amtm keep the routers last date when booting or rebooting. The routers system log date entries look more consistent.
  • Expanded reset r options (called remove in non-firmware amtm), option 1 was always there:
    • 1. Reset amtm. This resets amtm and its own settings. Third party scripts are NOT affected.
    • 2. Reset amtm, remove scripts and Entware. This resets amtm and its own settings and removes all third party scripts, including Entware (if installed). Third party scripts WILL be removed.
    • 3. Remove Entware. This removes the Entware repository. Third party scripts depending on Entware may no longer work after removing.

 

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

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 3.7 released

What's new in amtm 3.7

  • amtm now shows the routers operation mode in the header.
  • Mirror, mirror on the wall, who's the best of them all?
    ep now has an option to select from three Entware servers: The primary Entware server and two mirrors. This option is not available for hopelessly outdated mipsel based routers.
    Note that changing the Entware server in amtm affects all Entware (opkg) operations, no matter if run directly in the terminal or by amtm or Diversion. This is the intention of the choice.
  • Fixes annoying IPSet warning when installing Skynet.

 

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

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 3.6 released

What's new in amtm 3.6

  • Developers and tinkerers can now add the # amtm NoMD5check comment to the main third party script on the router to suppress the amtm update check for changes in the file. Add the exact comment near the top of the file.
    A version change upstream will still trigger the update notification. Thanks to SomeWhereOverTheRainBow for the hint.
  • Fixes a coding error that suppressed the Asuswrt-Merlin firmware update check to run in amtm.
  • Replaced the last remaining wget command with curl.
  • Creating a swap file now shows the progress if Entware is installed - so that users don't get frustrated.

 

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

See also the current amtm Discussion on the SmallNetBuilder Forum

Diversion 4.3.3 released

What's new in Diversion 4.3.3

  • amtm can now keep a history of entered shell commands with sh. This is the same feature that Diversion always provided by default but has now been moved to amtm. The move from Diversion to amtm is seamless if Diversion is updated before amtm, no user interaction is necessary.
    Third party developers, please don't just copy/paste my code, do your customizing for the temp file name. Thanks.
  • Some grep coding fixes for newer grep versions.
  • The Entware update function in ep will now display the list of up-gradable packages and ask if the update(s) should run. Entware services are automatically stopped before and restarted after the update.
  • This long overdue update frees up my head for future things to come. Thanks for your patience.

 

How to update Diversion

Use u or the WebUI function to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 3.5 released

What's new in amtm 3.5

  • Adds support for wi WICENS - WAN IP Change Email Notification Script by Maverickcdn. Welcome to amtm Mr. Maverick! See https://www.snbforums.com/threads/wicens-wan-ip-change-email-notification-script.69294/
  • Adds support for km KILLMON - IP4/IP6 VPN Kill Switch Monitor & Configurator by Viktor Jaep, See https://www.snbforums.com/threads/killmon-v1-05-feb-20-2023-ip4-ip6-vpn-kill-switch-monitor-configurator.81758/
  • Adds support for wf Dual WAN Failover by Ranger802004. Welcome to amtm Mr. Ranger! See https://www.snbforums.com/threads/dual-wan-failover-v2-0-2-release.83674/
  • amtm can now keep a history of entered shell commands with sh. This is the same feature that Diversion always provided by default but has now been moved to amtm. The move from Diversion to amtm is seamless if Diversion is updated before amtm, no user interaction is necessary.
  • The Entware update function in ep will now display the list of up-gradable packages and ask if the update(s) should run. Entware services are automatically stopped before and restarted after the update.

 

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

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 3.4 released

What's new in amtm 3.4

  • Adds support for rt RTRMON by Viktor Jaep. See https://www.snbforums.com/threads/release-rtrmon-v1-24-sep-29-2022-monitor-your-routers-health-new-gt-axe-ax-compatibility-ookla-speedtest-geek-out-with-temps-in-k.79738/
  • Simplification of addons detection (x3mRouting, FreshJR_QOS)
  • Removed support for original Stubby install sd by @Xentrk, this has long since been replaced by native support in firmware.
  • nsrum NVRAM Save/Restore Utility new install restricted to firmware 384.19 and older for compatibility reasons.
  • Updated lc LED control to version 2.1, fixed missing cron job update after dynamic time update runs (sunset/sunrise)
  • Fixed amtm blinkenlights behaviour when unsupported dc Disk check script suddenly appears. See https://www.snbforums.com/threads/amtm-3-3-x-the-asuswrt-merlin-terminal-menu.79665/post-774388
  • Prevents install of dnscrypt installer or AdGuardHome if one of them is already installed, they are not compatible.
  • Minor fixes to amtm mail script

Thanks to both ColinTaylor and SomeWhereOverTheRainBow for pointers.

 

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

See also the current amtm Discussion on the SmallNetBuilder Forum

Diversion 4.3.2 released

What's new in Diversion 4.3.2

  • Prevents slim chance of collision with third party scripts while sending mail.
    Third party developers, please don't just copy/paste my code, do your customizing for the temp file name. Thanks.
  • Additional sanity checks for tb type 65 blocking.
  • tb can now be set in the Diversion WebUI.
  • Upon special request, drop caches during blocking list update can now be disabled in b, 3.

 

How to update Diversion

Use u or the WebUI function to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.3.1 released

What's new in Diversion 4.3.1

  • Adds option to block type 65 queries in tb using iptables.

iOS 14 and newer, as well as a growing number of apps or devices use the type 65 query.

Dnsmasq currently has no option to suppress or specifically handle these types of queries and therefore circumvent Diversion ad-blocking.

 

How to update Diversion

Use u or the WebUI function to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 3.3 released

What's new in amtm 3.3

  • Now uses https for new Entware installation downloads, thanks to GitHub user ar3thien.
  • For older Mipsel routers, the parallel use of Entware-backports Repo can now also be selected in amtm (maurerr.github.io/packages).
  • Disk check script v3.1, fixes a time zone cosmetic issue in the log. Thanks to ColinTaylor
  • Adds support for VPNMON-R2 by @Viktor Jaep, welcome to amtm.
  • Let the games begin! g now offers a list of 10 games to play on the router. Note that the crawl game currently only works on older Mipsel routers. The Entware team works on a fix. Thanks to DDD lighting the flame here.
    Entwares ryzhov_al says it was kind of an easter egg to include games.
    Well, thanks mate!

 

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

See also the current amtm Discussion on the SmallNetBuilder Forum

Diversion 4.3.0 released

What's new in Diversion 4.3.0

  • All WebUI external links now use the https protocol, thanks to kernol.
  • Asuswrt-Merlin 386.7 Dropbear $PATH change compatibility fixes.
  • Now uses https for new Entware installation downloads, thanks to GitHub user ar3thien.
  • Fixes openssl issue with pixelserv-tls certificate creation.
  • Diversion iOS Shurtcuts app compatibility fixes.
  • Fixes coding error that set wrong ptr-record values for Dnsmasq when IPv6 service is disabled.

 

How to update Diversion

Use u or the WebUI function to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

iOS Shortcut for Diversion 1.4 released

What's new in version 1.4

  • Compatibility fix for Asuswrt-Merlin 386.7
  • Adds amtm script update check!
  • This version requires Diversion 4.3.0, update Diversion first before using this Shortcut version.

amtm can return a list of available script updates through an SSH command and its SSH UI. To make use of the former, I added this command to the Diversion Shortcuts app, rather than create a new amtm Shortcuts app.
So now you can comfortably check for script updates from the comfort of your bed, if you like that sort of thing.

 

How to install iOS Shortcut on iOS devices

For instructions see the iOS Shortcut page.

To discuss, report errors or improvements visit SNBForums iOS Shortcut for Diversion.

Diversion 4.2.2 released

What's new in Diversion 4.2.2

  • Fixes a moderately severe blacklist file bug where it increases the file size with empty lines whenever IPv6 is enabled on the router.
    Users affected by this bug may have experienced slow loading of the Diversion SSH UI and/or a failed start of Diversion after a reboot or whenever Dnsmasq was restarted. Many thanks to Adamm for reporting this with evidence on GitHub
  • Some minor fixes to increase stability.
  • The swap file size options in sw are now the same as in amtm: 250 and 500 MB, 1, 2, 5 and 10 GB.

 

How to update Diversion

Use u or the WebUI function to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 3.2.3 released

What's new in amtm 3.2.3

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

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 3.2.2 released

What's new in amtm 3.2.2

  • CHANGED: Email settings em has now a verbose testmail option for troubleshooting.
  • CHANGED: Developer friendly URL scheme in all @Jack Yaz scripts.
  • CHANGED: Updated all support thread URLs, visible when installing a script.
  • CHANGED: The swap file size options in sw are now 250 and 500 MB, 1, 2, 5 and 10 GB, thanks to RavenSystem
  • CHANGED: More preparation for upcoming amtm iOS Shortcuts release.
  • CHANGED: LED control hour display fix.
  • CHANGED: Routers running outdated firmware now use /opt/bin/curl for file downloads, if the binary is found.
  • CHANGED: The year.

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

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 3.2.1 released

What's new in amtm 3.2.1

  • NEW: Adds support for WireGuard Session Manager by Martineau - Manage/Install WireGuard® on applicable ASUS routers.
  • NEW: amtm can now also manage email settings, SSH UI only.
  • CHANGED: Router LEDs in lc can now be set to use your local Sunset and Sunrise time to turn them on or off.
  • CHANGED: Preparation for amtm IOS Shortcuts app.

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

See also the current amtm Discussion on the SmallNetBuilder Forum

Diversion 4.2.1 released

What's new in Diversion 4.2.1

  • NEW: Option to exclude devices from ad-blocking in b, 10

 

See documentation for details.

 

How to update Diversion

Use u  or the WebUI function to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.2 released

What's new in Diversion 4.2

  • NEW: Option to set alternate upstream name server(s) for Alternate blocking list in b, 6. Thanks @latenights
  • NEW: Option to force IPv6 entries even though IPv6 support is disabled on the router in b, 9. Thanks to @dobri
  • NEW: Option to opt out to support smallnetbuilder.com ads in el, 1, Hard coded whitelist setting.
  • NEW: Option to enable blocking list update error email when update fails in c.
  • CHANGED: email settings and password files moved to /jffs/addons/amtm/mail
  • CHANGED: Improved WebUI. It's not complete but will do for now.
  • CHANGED: YouTube video ad-blocking more options for tinkering (I know...).
  • CHANGED: openssl ecryption error for newer version 1.1.1x, password encryption is auto-updated.
  • CHANGED: el correctly processes added and removed domains. Thanks to @pioneerfreq
  • CHANGED: Numerous fixes and improvements

 

Important for this update

  • Use the SSH UI to update to this latest version. The Diversion 4.1.12 WebUI update function will fail.
  • The email password is auto-re-encrypted if the routers openssl version requires it. Please check email function after the update. You may have to re-enter the password if my logic failed.
  • Third party scripts that use the Diversion email settings need to update the path to email.conf and the password decryption code.

 

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 3.2.0 released

What's new in amtm 3.2.0

This is a maintenance release to catch up.

  • CHANGED: New Swap file creation only allowed on ext* formatted devices.
  • CHANGED: Increased fd format disk maximum supported disk size to router maximum (2199023255552 bytes, 2TB edge cases).
  • CHANGED: All Entware operations now run secure https protocol.
  • CHANGED: Entware installer gives option to use an existing but non-active Entware installation when found on an attached USB device.
  • CHANGED: ep screen shows installed Entware version and link to interactive packages list.
  • CHANGED: dc disk check additional install tests.

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

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 3.1.9 released

What's new in amtm 3.1.9

  • NEW: Adds support for Vnstat by dev_null - Vnstat on Merlin - UI, CLI and email - data use monitoring - with full install and menu.
    See forum thread.
  • NEW: Adds support for YazDHCP by Jack Yaz - YazDHCP - feature expansion of DHCP assignments (increasing limit on the number of DHCP reservations)
    See forum thread.
  • CHANGED: pixelserv-tls helper script to use CA for https WebUI (ps) now supports newly added routers to the Asuswrt-Merlin realm.
  • CHANGED: Firmware update check when running u now supports newly added Asuswrt-Merlin routers.

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

See also the current amtm Discussion on the SmallNetBuilder Forum

amtm 3.1.8 released

What's new in amtm 3.1.8

  • NEW: Adds support for FlexQoS by dave14305 - Flexible QoS Enhancement Script for Adaptive QoS on ASUSWRT-Merlin.
  • NEW: Check for Asuswrt-Merlin firmware stable release update in u for supported routers, see screenshot. This check is volatile and will not retain the result, as opposed to third party script checks.
  • NEW: The firmware amtm shows the revision number of the built in amtm file in a. For Asuswrt-Merlin 384.19 release this will be revision 5.
  • CHANGED: FreshJR QOS is now deprecated in amtm and the menu entry has been renamed from 3 to 3d.
  • CHANGED: Timeouts for module downloads (curl) have been increased. For the firmware amtm this comes into effect only after the initial amtm setup until Asuswrt-Merlin 384.19 has been released.

Note that Diversion 4.2 pictured in the screenshot is not yet available.

Screenshot with u update check, Asuswrt-Merlin firmware is up to date, no new stable version available.

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

Discussion on the SmallNetBuilder Forum: amtm

New news, no update

Just wanted you all to know that I am constantly coding on the full Diversion WebUI when time and mood allows. It's going to be adequate, agreeable to the eyes and feature complete. A fair amount of work went into it and this continues until it's ready for release. As always, no ETA yet.

Diversion 4.1.12 released

What's new in Diversion 4.1.12

  • NEW: Additional theme solarized to choose from. Thanks Stuart MacDonald for the code.
  • CHANGED: Enhanced NTP ready check.
  • CHANGED: Wording in Diversion update notification email for available amtm third-party scripts.
  • CHANGED: Added option to paginate at 5 lines in el.

Note: If you use amtm, update it now for compatibility, the order does not matter.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 3.1.7 released

What's new in amtm 3.1.7

  • NEW: Added LED control lc, a smart router LED scheduler.
  • NEW: Update check u result is preserved until scripts are updated.
  • NEW: Additional theme solarized to choose from. Thanks Stuart MacDonald for the code.
    Note: This new theme is not immediately available for the firmware version after a reset.
  • CHANGED: Added extra wording when u is run for third-party update procedure.
  • CHANGED: Added timestamp to u when everything's up to date.
  • UPDATED: Added option to use an updated model list for the pixelserv-tls ps https WebUI helper script

Note: If you have Diversion installed, update it now for compatibility, the order does not matter.

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

Discussion on the SmallNetBuilder Forum: amtm

amtm 3.1.6 released

What's new in amtm 3.1.6

  • Added NTP ready check.

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

Discussion on the SmallNetBuilder Forum: amtm

Diversion 4.1.11 released

What's new in Diversion 4.1.11

  • The d menu now has a Diversion restart option.
  • Fixes bug where the Mimimal blocking list is renamed to Custom when blocking list fast switch fs is enabled.
  • The update function now also runs some essential router settings checks, just as the install function does.
  • Removes blocking file Plus hosts functions and files (for Skynet), this feature has been discontinued. The hosts-file.net domain no longer serves hosts files.
  • Removes any hosts-file.net host in the hostslist and hostslist_fs files.
  • Medium blocking file now uses hostfiles.frogeye.fr first-party trackers instead of hosts-file.net ad_servers. This comes only into effect when (re)selecting the list.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.1.10 released

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 here
  • 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.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 3.1.5 released

What's new in amtm 3.1.5

  • Entware update check: Added update error message.
  • Verbose messages when script update(s) fail, reports failed server.

Screenshot shows state when all update attempts failed. This would take some time as each script check will have to timeout first.

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

Discussion on the SmallNetBuilder Forum: amtm

amtm 3.1.4 released

What's new in amtm 3.1.4

  • A couple of bug fixes.
  • Improved download error handling.

Note: The new download error handling only comes into effect after the initial run of amtm for the released Asuswrt-Merlin 384.15 firmware version.
Make sure that fwupdate.asuswrt-merlin.net and diversion.ch correctly resolve on the router before first running the firmware amtm.

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

Discussion on the SmallNetBuilder Forum: amtm

amtm 3.1.3 released

What's new in amtm 3.1.3

  • Adds support for nsrum - NVRAM Save/Restore Utility to amtm.
  • Added developer amtm URL variable to amtm FW, same as in standard amtm.

With the NVRAM Save/Restore Utility, a long awaited missing feature finally makes it into amtm.
I am very pleased to add this third script by @Xentrk to amtm.

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

Discussion on the SmallNetBuilder Forum: amtm

amtm 3.1.2 released

What's new in amtm 3.1.2

  • Adds unbound Manager as supported script

I am pleased to add the first script from Martineau to amtm: unbound_manager (Manager/Installer utility for unbound - Recursive DNS Server)
unbound Manager is a front end for rgnldo 's Unbound - Authoritative Recursive Caching DNS Server

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

Discussion on the SmallNetBuilder Forum: amtm

Diversion 4.1.9 released

What's new in Diversion 4.1.9

  • Auto-correct feature added when menu el <list> is opened and no whitelist, blacklist or wildcard-blacklist is found.
  • When restoring Diversion from backup, Entware package zip is installed when configured in backup settings.
  • Correctly finds domain(s) when "Find domain in hosts file(s)" is run in b, thanks dave14305 for the perl regex hint.
  • Does not double blocked domain count when IPv6 is enabled.
  • Fixes related to IPv6 auto-conversion.
  • Moves Diversion specific /jffs/scripts/ files to /jffs/addons/diversion
  • Verbose logging to Syslog in mount-entware.div (renamed post-mount.div) when mounting device(s), reporting reasons if failed.
  • New command uu to force update Diversion.
  • Renames "entware*" folder to "entware" if found in mount-entware.div.
  • Removes option in ep to update pixelserv-tls to v2.3.1 for non Mipsel routers, package is now available through Entware.
  • Now shows (Entware) USB device info in header.
  • Adds year to the local backup file name.
  • Removed colors in Diversion update notification email.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 3.1.1 released

What's new in amtm 3.1.1

  • Moves disk-check script to amtm addons folder, updates disk-check version to 2.8.
  • Highlights text when amtm update is available, thanks JohnD5000 for the suggestion.
  • Makes wildcard * in reboot scheduler rs compatible for all Asuswrt-Merlin firmware, thanks jtp10181 for reporting.
  • I cannot auto-remove an alias in active SSH session. For thoses seeing the error "-sh: /jffs/scripts/amtm: not found" please log out of SSH and then back in.
  • Removes amtm auto-updater in dnscrypt installer di, this is now built into the third party script. Thanks SomeWhereOverTheRainBow for following up on it!
  • Bug fixes

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

Discussion on the SmallNetBuilder Forum: amtm

updates for amtm and Diversion

Minor updates are now available for amtm and Diversion, no version change

New in amtm

  • Bug fixes
  • dnscrypt installer runs version update with di when version change is found with i.
  • Removes amtm alias when necessary

New in Diversion

  • amtm compatibility
  • Moves the shared whitelist to /jffs/addons/shared-whitelists for Skynet compatibility

Note, you also must update Skynet if installed to the latest version if not already done.
Restart Skynet after the update(s) for it to pick up the moved shared whitelist.

Use u to update amtm and Diversion

amtm 3.1.0 released

What's new in amtm 3.1.0

  • Everything is new!
  • Updated disk-check version to 2.7, keeps the log file size below 300 KB instead of 500 KB.

This is a milestone for amtm. Starting with the upcoming release of Asuswrt-Merlin 384.15, amtm will be included in the firmware.
There will be two versions of amtm, the regular version and the built in firmware version. Both versions act, feel and behave the same way and will receive updates at the same time. The firmware built in amtm adds FW next to the version.

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

Discussion on the SmallNetBuilder Forum: amtm

amtm update, no version change

  • Correctly recognizes latest version of YazFi when installed.
Use u to update.

Diversion update, no version change

What's new

  • Option in ep, 6, 3 to update pixelserv-tls to v2.3.1 (Jack Yaz version) for all router models.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.1.8 released

What's new in Diversion 4.1.8

  • Adds warning in UI and quits blocking list update if hostslist(s) do not contain hosts URL(s).
  • Adds warning in UI if blocking list(s) contain less than 200 domains.
  • Correctly sets owner and permissions of all dnsmasq.log files to "nobody" and "0640" respectively.
  • Correctly sets owner of /opt/var/cache/pixelserv files to "nobody".
  • pixelserv-tls certificates key length is now shown in ep, 3.
  • Reverts pixelserv-tls CA certificate key length generation back to 2048 bit. This only applies for new installations or when the CA certificate is regenerated.

Important, please read
Due to an error of judgement, I changed the pixelserv-tls CA key length generation down to 1024 bits in Diversion 4.1.7.
Along with it, I missed to change one instance of this value in one of the files that may come into play when (re)generating the CA certificate.
On devices with elevated requirements for trusted certificates - such as iPads and iPhones with iOS 13.x - this triggers an untrusted certificate error.

All is OK when:
- The pixelserv-tls CA certificate was generated off of Diversion v4.1.4 up to v4.1.6, with pixelserv-tls v2.3.0 by @Jack Yaz or the new build v2.3.1 by @kvic.
You will need to regenerate the certificate when:
- The pixelserv-tls CA certificate was generated off of Diversion v4.1.7, with pixelserv-tls v2.3.0 by @Jack Yaz or the new build v2.3.1 by @kvic.
You will need to upgrade pixelserv-tls when:
- The pixelserv-tls version is 2.2.1 or older and you use devices with elevated requirements for trusted certificates.

To test if your device works with the certificate, open https://diversion-adblocking-ip.address in a browser. You may have to reload the page a couple of times to get the secure padlock icon.

Import the pixelserv-tls CA certificate into browsers and devices by following this guide carefully below the Import Pixelserv CA on client devices section: https://github.com/kvic-z/pixelserv-tls/wiki/Create-and-Import-the-CA-Certificate

For instructions how to upgrade pixelserv-tls or regenerate the CA certificate, see release notes for Diversion 4.1.4 below.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.1.7 released

What's new in Diversion 4.1.7

  • Fixes double entry of cache-size in alternate-bf.conf with alternate blocking file enabled. Thanks @SomeWhereOverTheRainBow for reporting.
  • Reverts pixelserv-tls root CA key size generation from 2048 to 1024 bit, as recommended by @kvic. This only applies for new installations or when the root CA is regenerated in ep.
  • Statistics compilation fix (same as in uiDivStats). Thanks @dave14305 for your contribution.
  • Prevents duplicate dnsmasq.conf entries (bogus-priv and domain-needed). Thanks @Jumpstarter for reporting.
  • Fix for when following the logfile in f, lines are incorrectly highlighted as blocked. Thanks @relic for reporting.
  • New follow the logfile option in f to filter blocked domains by a device IP address. Thanks @Asad Ali for the suggestion.
  • New option to update the blocking list once (standard) or twice a week in b, 3.
  • Adds support for domain only hosts list beside the "IP domain" pair hosts files, just as Pi-hole does :-)
  • The email password is now encrypted and stored as emailpw.enc in the Diversion .conf folder. Passwords may now contain special characters without escaping. Thanks @AurelM for triggering this overdue change.

Note, if you've used special characters in the password and have manually escaped them in the email.conf file, set your password again after updating Diversion in c, 5, then send a test email.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Minor update for amtm 3.0

What's new in this minor update for amtm (no version change)

  • When no script updates are available in u, amtm returns to default screen. Thanks @FalconB for the suggestion.

Use u to update to this latest version.

Diversion 4.1.6 released

What's new in Diversion 4.1.6

  • Fixes a bug where the temporary whitelist could grow exponentially with a lager whitelist during the blocking list update. Thanks @Mircica for reporting.
  • Removes obsolete entware-backports.tk reference in /opt/etc/opkg.conf on mips routers if set in ep, 6. The mirror maurerr.github.io remains online.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.1.5 released

What's new in Diversion 4.1.5

  • The whitelist now has precedence over the blacklist and wildcard-blacklist. Exact whitelisted domains will be removed during processing from both black lists. Removed domains will be shown in el, <list>.
  • New predefined blocking lists composition in b, this only applies when re-selecting a predefined list.
  • The ads counter ac is now significantly faster and non-disruptive to Dnsmasq.
  • Hosted lists in el are now limited to 1000 domains.
  • When disabling a hosted list in el, it now asks to keep or discard entries in the list.
  • Better description or wording in el.
  • Option to exclude client IP address(es) in stats in c, 2.
  • Fix for missing Dnsmasq log files error during stats generation (Diversion and uiDivStats).
  • Fix for that annoying 'file' count result output in the stats (Diversion and uiDivStats).
  • Fixes an error where alternate blocking list Dnsmasq log files were incorrectly included in the regular stats generation (Diversion and uiDivStats).
  • Following the Dnsmaq log file f now retries if pipe is broken.
  • Size of Entware folder (/opt) is now shown in ep.
  • UI now shows file size of Dnsmasq log file(s).
  • Alerts if discontinued support.it-mate.co.uk hosts file is in use for blocking list when installing or updating Diversion.

This update includes this previously pushed update with no version change (minor update):

  • Completely removed check "Wan: Use local caching DNS server as system resolver (default: No)" in Diversion.

 

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 3.0 released

What's new in amtm 3.0

  • I'm pleased to welcome FreshJR Adaptive QOS to the amtm collection of favorite SNBForum scripts!
  • The menu entry for the deprecated Stubby DNS installer has been changed from 3 to sd.
    (no bug fixes)
  • The i option to show all available scripts or tools is now highlighted (theme depending).
  • The pixelserv-tls ps menu is now hidden in i if the CA certificate is not used for the router WebUI.
  • Non-updatable scripts or tools are now hidden when checking for updates with u.

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

Discussion on the SmallNetBuilder Forum: amtm

amtm 2.9 released

What's new in amtm 2.9

  • The update function u now checks for updated Entware packages in ep (thumbs up to @kernol) and DNSCrypt proxy update in dnscrypt installer di.
  • Available updates for Entware packages and DNSCrypt proxy are included when Diversion update notification DivUn is enabled.
    (no bug fixes)
  • Properly checks if DNS-over-TLS (DoT) is enabled in the router WebUI before attempting installation of dnscrypt installer di.
  • When Diversion is installed, amtm now correctly restarts pixelserv-tls when updated through ep.
  • Changed i function wording to say "show inactive scripts or tools" and "hide inactive scripts or tools" respectively.

This update includes these previously pushed updates with no version change (minor updates):

  • Theme selector t now displays all color variants in use.
  • Correctly detects DNSCrypt proxy version number in dnscrypt installer di when "-beta.*" string is removed.

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

Discussion on the SmallNetBuilder Forum: amtm

amtm 2.8 released

What's new in amtm 2.8

  • With renewed activity, dnscrypt installer di is again available to install through amtm. amtm makes sure the latest DNSCrypt proxy version is available to install.
  • ep now has an option to view a structured list of installed Scripts and Entware packages. Thanks @Martineau for the inspiration.
    (no bug fixes)
  • Added more options in the reboot scheduler rs. Thanks @Elmer for the suggestion.
  • Added option in disk check dc to exclude devices from being checked. Thanks @Butterfly Bones for the suggestion.

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

Discussion on the SmallNetBuilder Forum: amtm

Minor update for Diversion 4.1.4

What's new in this minor update for Diversion 4.1.4 (no version change)

  • Completely removed check "Wan: Use local caching DNS server as system resolver (default: No)" in Diversion.
    This check seems to trigger more controversy than solving problems.

How to update

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.1.4 released

What's new in Diversion 4.1.4

  • Now checks and sets to 'Yes' during installation: "Wan: Use local caching DNS server as system resolver (default: No)".
  • New option in b to use a LAN blocking IP address instead of the local pixelserv-tls or NULL IP 0.0.0.0. This is for advanced users only.
  • Correctly reverses IP in pointer record (ptr-record) added to Dnsmasq. Thanks dave14305 for reporting.
  • Checks for NPT date being synced before generating pixelserv-tls CA certificate.
  • Option in ep to re-generate pixelserv-tls CA certificate (ca.crt, ca.key). New CA certificate has a 10 year validity and creates an EKU Extended Key Usage valid certificate.
  • Expiry date is now shown in ep, 3 for the pixelserv-tls certificates.
  • Option in ep, 6, 3 to install @Jack Yaz pixelserv-tls v2.3.0 which is compatible with new required security settings enforced by Apple and soon other companies.

For iOS 13 and MacOS 10.15 users: Requirements for trusted certificates changed: https://support.apple.com/en-us/HT210176
To be ready, the following steps are required if pixelserv-tls v2.2.1 or older is installed on your router.

  1. Update Diversion to this latest version.
  2. Install Jack Yaz's pixelserv-tls v2.3.0 in ep, 6, 3
  3. Re-generate the pixelserv-tls CA certificate in ep, 3, 2 (all domain certificates will be purged during that step).
  4. Import the new pixelserv-tls CA certificate (ca.crt) into browsers and devices, replacing the previous certificate. Open the certificate link in a browser with your pixelserv-tls IP address, typically this is 192.168.1.2/ca.crt and import it.

You may update pixelserv-tls to v2.3.0 even if you have no Apple devices. The steps above are still required if you do so.
As of now, there is no concrete feedback from the original developer of pixelserv-tls that an update through the regular Entware channel is in the works. I have had contact through a third party with the developer, but here we are. For this reason, Jack Yaz has taken on that challenge so we all can be compliant with Apples demands.

How to update Diversion

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Minor update for Diversion 4.1.3

What's new in this minor update for Diversion 4.1.3 (no version change)

  • Fix for newly added domains not being immediately whitelisted when done through el for both local or hosted whitelist.
  • The hard-coded whitelist now includes all whitelisted domains from the default Diversion whitelist.

 

How to update

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

Minor update for Diversion 4.1.3

What's new in this minor update for Diversion 4.1.3 (no version change)

  • Reverting Stephen Blacks hosts list to default, without the blocked fake news and gambling domains. I realize this causes more grief than necessary. This change only takes effect when changing or re-selecting a pre-defined blocking list in b, followed by a manual update of the blocking list(s) and affects the Standard, Medium and Large pre-defined blocking lists in Diversion
  • Diversion update notification: Changed update URL for amtm to the Diversion server since amtm is now hosted here

How to update

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 2.7 released

What's new in amtm 2.7

  • Changed rs Reboot scheduler display, shorter week day names in UI when multiple days are selected
  • Added option to change rs Reboot scheduler settings
    (no bug fixes)
  • Added support for x3mRouting - Selective Routing by Xentrk.
  • Removes empty related /jffs/scripts files when uninstalling amtm, same as Diversion already does
  • Added link to wiki page in fd Format disk function error message when device is over 2TB

Starting with this version, amtm is now hosted here on the Diversion server. The transition is seamless, no action is required by users.
I have my reasons to move amtm away from GitHub and will not discuss this personal decision.
If you like, search the web to read about the owner and geographical restrictions imposed on it.
The Diversion website is and has always been hosted in Switzerland, by a Swiss Webhoster.
The new install command is posted on the amtm page.

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

Discussion on the SmallNetBuilder Forum: amtm

Diversion 4.1.3 released

What's new in Diversion 4.1.3

  • Adds 'diversion-adblocking-ip.address' as first entry in blocking list(s), identifies blocking IP as such for network scanners
  • Option to save essential Diversion files as local backup to /jffs in d, manually or periodically. This is helpful for reinstalling Diversion
  • Hosted lists in el now also support shared Dropbox links
  • Adding a commented 'do-not-check-swap' (without the quotes) anywhere to /jffs/scripts/post-mount will read indented swap code and not correct paths (Diversion 4.1.3 and amtm 2.6 and later)
  • Added /jffs start scripts check during startup
  • Added Diversion lock feature to prevent multiple sessions. Thanks @Adamm for inspiration
  • Saves client names to stats backup file when viewing client list in c, 2, 5
  • Requires the router to reboot after this update
  • More power to the iOS Shortcut for Diversion v1.3!

Side note: Despite this version number being 4.1.3, the Shortcuts version being 1.3, amtm on version 2.6 (twice 13) and all of them released on the 13th day of this month: Diversion appears to be compatible with Asuswrt-Merlin 384.13 (in alpha release).

How to update

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 2.6 released

What's new in amtm 2.6

  • Removed obsolete code
  • Rearranged code for my own benefit
    (no bug fixes)
  • Adding a commented 'do-not-check-swap' (without the quotes) anywhere to /jffs/scripts/post-mount will read indented swap code and not correct paths (Diversion 4.1.3 and amtm 2.6 and later)
  • Added feature requested by third party developer for visual differentiation of > or < version number display in u
  • Added option in ps to run pixelserv-tls helper script to use its CA to issue a certificate for the routers WebUI
  • Diversion update notification (DivUn, in c) will now also report updates for third party scripts (Diversion 4.1.3 and later)

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

Discussion on the SmallNetBuilder Forum: amtm

iOS Shortcut for Diversion 1.3 released

What's new in version 1.3

  • Adds blocking list update through Shortcuts
  • Adds hosted lists update and processing through Shortcuts
  • Adds Exit button to cancel operation
  • Rearranged menu
  • This version requires Diversion 4.1.3 installed

How to install iOS Shortcut on iOS devices

For instructions see the iOS Shortcut page.

To discuss, report errors or improvements visit SNBForums iOS Shortcut for Diversion.

Diversion 4.1.2 released

What's new in Diversion 4.1.2

  • Moved ash history function out of main file into ash-history.div
  • Added setting to remember last UI options view state ( o ) in d

Asuswrt-Merlin 384.12 release changes:

  • Added new website domains to firmware update notification script
  • Added asuswrt-merlin.net, fwupdate.asuswrt-merlin.net and sourceforge.net to hard coded whitelist

How to update to Diversion 4.1.2

Use u to update to this latest version.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 2.5 released

What's new in amtm 2.5

  • NO bug fixes (!)
  • Some code adjustments
    (no bug fixes)
     (no bug fixes)
    (no bug fixes)
  • Goodbye su: u and su are joined, u is the new su to check for script updates
  • Welcome j6: @Jack Yaz' uiScribe https://www.snbforums.com/threads/uiscribe-custom-system-log-page-for-scribed-logs.57040/
  • ew Entware menu has been renamed to ep (Entware packages) to align with the Diversion the menu

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

Discussion on the SmallNetBuilder Forum: amtm

amtm 2.4 released

What's new in amtm 2.4

  • Adds amtm to /jffs/configs/profile.add
  • Added proper device size calculation in fd for routers not having blockdev support (380.xx)
  • Better check for /jffs/scripts files
  • Option to create up to three partitions in fd. First or single partition is limited to ext* filesystems. Second and third partition can be formatted as ext*, FAT32, NTFS or left unformatted
  • Improved step by step guidance through fd formatting with helpful context and recommendation for settings
  • Summary is shown before formatting starts in fd with the option to exit out of it. This allows to do a "test run" on formatting to see what the options are.

Sidenote
My project "A better diversion.ch website and simpler to maintain for the author (me)" is coming along nicely but requires more time than I thought. Updates for my coding projects will resume as of now here on diversion.ch.

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

Discussion on the SmallNetBuilder Forum: amtm

For news: Follow me on Twitter

This website is being redesigned and will not be updated until I am done with it.

To see what's new for amtm and Diversion, follow me on Twitter, the handle is @DiversionBlock.

Update: My project "A better diversion.ch website and simpler to maintain for the author (me)" is coming along nicely but requires more time than I thought. Updates for my coding projects will resume as of now here on diversion.ch.

Diversion 4.1.1 released

What's new in Diversion 4.1.1

  • Bug fixes and various improvements
  • Renamed update-bf.div to update-bl.div (to reflect wording 'blocking list')
  • Added bu as option. Runs blocking list update in the background as opposed to b, 4
  • Greyed out option in el to auto-add www and non-www domain when hosted whitelist is in use
  • Additional checks for hosted lists in el
  • Basic Swap partition support added, supporting fstab or post-mount entry
  • Improved logic for regular swap file detection and (auto) management
  • Swap file/partition size is now shown in the o options screen

Screenshot shows expanded options o menu.

How to update to Diversion 4.1.1

Use u or d and select Update.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 2.3 released

What's new in amtm 2.3

  • Bug fixes and code improvements
  • Basic Swap partition support added, supporting fstab or post-mount entry
  • Improved logic for regular swap file detection and (auto) management
  • Disk check version 2.3: Added NTP timer (with timeout), disk check log now shows correct time stamp
  • Better disk check log format
  • Swap file/partition size is now shown

How to update to amtm 2.3
Use u to update amtm

Discussion on the SmallNetBuilder Forum: amtm

iOS Shortcut for Diversion 1.1 released

What's new in version 1.1

  • More options and simplified menu
  • This version requires Diversion 4.1.0 installed

How to install iOS Shortcut on iOS devices

For instructions and discussion, visit SNBForums iOS Shortcut for Diversion.

Diversion 4.1.0 released

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

Discussion on the SmallNetBuilder Forum: Diversion

amtm 2.2 released

What's new in amtm 2.2

  • Bug fixes
  • su (Check for script updates) now includes checking for amtm updates
  • j5 is now supported by amtm. You guessed right, this is uiDivStats by @Jack Yaz
  • Gentle theme change when Diversion 4.1.0 is installed.

How to update to amtm 2.2
Use u to update amtm

Discussion on the SmallNetBuilder Forum: amtm

amtm 2.1 released

What's new in amtm 2.1

  • Checks for jffs partition before installing amtm
  • fd format disk now has better way of device detection by using the same name the WebUI shows. Devices with no partition(s) are now also shown and can be formatted. Credit goes to @ColinTaylor.
  • fd now stops file serving services such as Samba and FTP during formatting. This also solves most, if not all of the "Filesystem(s) did not unmount" errors. Credit goes to @ColinTaylor for figuring that out!
  • su script updates / installed scripts: Unified code where possible to reuse code-block
  • ps pixelserv-tls beta install option removed due to @kvic suspending the service until further notice. Menu is still shown if supported beta version is installed, with the option to remove the beta and install the latest Entware release version.
  • Now supports these scripts by @Jack Yaz:
    YazFi
    connmon (new)
    ntpMerlin
    scMerlin (new)
    spdMerlin (new)

How to update to amtm 2.1
Use u to update amtm

Discussion on the SmallNetBuilder Forum: amtm

Diversion 4.0.9 released

What's new in Diversion 4.0.9

  • Diversion now uses md5sum for updates check u
  • Uses command 'service reboot' instead of 'reboot' to reboot the router
  • Blocking list update now checks with md5sum if hosts list needs downloading
  • md5sum check is also used for hosted whitelist, blacklist and wildcard-blacklist
  • Support for hosted whitelist, blacklist and wildcard-blacklist. Enable it separately for each list in el, Edit <list>.
    A hosted list must be hosted on an accessible web server and contain valid list entries, empty lists are ignored.
    The existing list is overwritten by the hosted list when enabled. The list(s) are re-downloaded weekly during the blocking list update.
    Hosted lists can also be manually re-downloaded and processed.

How to update to Diversion 4.0.9
To update to this latest version use u or d and select Update.

Discussion on the SmallNetBuilder Forum: Diversion

amtm 2.0 released

amtm 2.0 release

What's new in amtm 2.0

  • New cleaner UI, not installed scripts or tools are now hidden. Use i to show all
  • New menu order and naming, availability of scripts is dependent on firmware features
  • Disk check script can now also receive updates. Use su to check
  • Disk check and Format disk logs can now be deleted when viewed
  • Diversion now also supports md5sum update checks, amtm makes use of it when running su
  • Format disk now has a better device size detection
  • New Disk check script thanks to @ColinTaylor. It now uses a more reliable filesystem type detection by the router's firmware.
    This requires firmware version 384.11 or V39E1 (John's LTS fork) or higher to work.
    A fall-back to the previous disk check is built in for routers not supporting it.
    Enter dc to update the disk check script after updating amtm.
    For the full write up how the new check works, read more on the Asuswrt-Merlin wiki.

How to update to amtm 2.0
Use u to update amtm

Discussion on the SmallNetBuilder Forum: amtm

iOS Shortcut for Diversion

iOS Shortcuts for Diversion

iPhone, iPad and iPod users may now use a Diversion shortcut in the Shortcuts app.

For instructions and discussion, visit SNBForums iOS Shortcut for Diversion.

Diversion 4.0.8 released

What's new in Diversion 4.0.8

  • Fixed formatting in f '2. Unfiltered log extra highlighted' when log-queries=extra is enabled in ds
  • Use u for quick Diversion update check
  • Adds amtm to terminal history when installed
  • Reworked restart Dnsmasq check during install/update/upgrade
  • Adds pointer record (ptr-record) for pixelserv-tls IP to /etc/dnsmasq.conf
  • Added asuswrt.lostrealm.ca to hard coded whitelist

How to update to Diversion 4.0.8

To update to this latest version use d and select Update.


Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.0.7 released

What's new in Diversion 4.0.7

  • Reworked ash history sort function
  • Added option to invert filter in f as filter term
  • Added bin.entware.net, pkg.entware.net and pkg.entware-backports.tk (for MIPS alternate repository) to default whitelist
  • Option for MIPS based routers to use Entware backport repo maintained by @maurer. Set it in ep, 6. Manage Entware packages
  • Reworked shared whitelist update procedure when Skynet is installed
  • Added wording to import pixelserv-tls certificate after new install
  • Changed reboot procedure when required during install, inconsistencies and bugs fixed
  • Fix with better logic that will allow to continue Diversion install in case of:
      - Port 443 is in use by other process than AiCloud
      - Allow to install Diversion Standard even if port 80 is listening on 0.0.0.0
  • Added check for incompatible /jffs/configs/dnsmasq.conf.add entries
  • Use of /jffs/scripts/unmount to unmount Swap file, Diversion and Entware services when ejecting the USB device through the WebUI
  • Added domain count for white, black and wildcard blacklist in UI
  • In b, Find domain in hosts file(s) now escapes domain names for search results accuracy
  • Adjusted list of available pixelserv-tls switches (-o is deprecated)
  • Reworked Edit Lists el code. White, black and wildcard blacklisting should be 100% accurate now for primary and secondary blocking list (if sf and Alternate blocking list is enabled)
  • Fixes bug where multiple IPv6 duplicates are added to the blacklist. If you see IPv6 duplicates in the blacklist, run el, edit the blacklist and select 4. Sort and verify blacklist

How to update to Diversion 4.0.7

To update to this latest version use d and select Update.
Beta testers use the install command to update to this latest version.


Discussion on the SmallNetBuilder Forum: Diversion

Goodbye AB-Solution

AB-Solution 1.0 was released on February 15, 2016 and continually improved over the years until the final version 3.11.2, released on March 17. 2018.

On August 26, 2018 its successor Diversion 4.0 took over, with an new name and a fresh code base. May AB-Solution and its website rest in peace.

Diversion 4.0.6 released

What's new in Diversion 4.0.6

  • Correctly changes restriction to new IP when virtual IPs are changed and access restriction is enabled in Administration / System
  • Improved install routine, correctly saves Diversion config file when reboot is required after install
  • Eliminated glitch where certain domain names are incorrectly read in stats function
  • Eliminated bug where whitelist was multiple times escaped when more than one hosts file is used and/or fs is enabled. Manually updating the blocking file in b is advised after this update
  • New Beta feature: Alternate blocking file. Two active blocking files are now possible and can be enabled in b. Read what it does and how it works here

How to update to Diversion 4.0.6
To update to this latest version use d and select Update.
Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.0.5 released

Diversion 4.0.5

What's new in Diversion 4.0.5

  • Better sleep routine for Dnsmasq when initializing Diversion
  • sf Cosmetic correction of double forward slash // in file paths
  • Typo and minor code corrections
  • Improved swap file management
  • Changes due to renaming of Skynet "wifemode" to "fastswitch"
  • Changed to https for someonewhocares.org hosts file (only applies if re-selecting blocking file)
  • Added info text for SSL flag in c email settings when not configured
  • Eliminated glitch where certain domain names are incorrectly read.
    This mainly affects the whitelisted domains.
    Manually updating the blocking file in b is advised after this update.

Diversion 4.0.4 released

Diversion 4.0.4

What's new in Diversion 4.0.4

  • Fixes glitch that presented local client names as being blocked when following the dnsmasq.log in f
  • Timestamp added to f option 3 (Filtered by blocked domains)
  • Includes "Press Ctrl-C to exit" for all f options
  • Included checks in Re-install and Update routines for reserved pixelserv-tls IP address
  • Correctly sets blocking IP when changing the pixelserv-tls IP in ep
  • Checks for valid email.conf file when enabling Firmware update notification FWun in c
  • Correctly sets cron job when enabling Diversion update notification DivUn in c
  • Some wording corrections in UI and Syslog messages

How to update to Diversion 4.0.4
To update to this latest version use d and select Update.
Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.0.3 released

What's new in Diversion 4.0.3

  • Corrects logging or adblocking state when state is unknown
  • Added three follow dnsmasq.log f options when started from UI.
    In command-line mode (diversion f), only the standard option is available.
    • Unfiltered log (standard, same as before)
    • Unfiltered log extra highligted (new)
    • Filtered by blocked domains (new)
    • Filtered by term (new)
  • Addend option to enable auto-add www.domain.com and non-www domain.com to whitelist in el
  • Added option to enable ads counter auto-update au when starting the UI (configure in more options o)
  • Added option to also auto-switch Skynet wife mode when fs is enabled (in b, 1)
  • Added user agent string when testing for hosts list URL in b
  • Correctly returns to edited hostslist when fs is enabled
  • Corrects UI-Theme discrepancies

How to update to Diversion 4.0.3
To update to this latest version use d and select update.
Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.0.2 released

What's new in Diversion 4.0.2

  • Option to continue Diversion install anyway if pinging Level 3 (IP 209.244.0.3), Cloudfare (1.1.1.1) and Google (8.8.8.8) did not respond to ping
  • Corrects "bad number" issue in the Diversion UI
  • Corrects "No such file or directory" error when running update-bf.div after enabling fs for the first time
  • Some small code fixes/changes

This update includes hot fixes applied without version change since the v4.0.1 release:

  • Checks S80pixelserv-tls before restarting pixelserv-tls through the Diversion UI. If S80pixelserv-tls is not the Diversion optimized file, it is replaced with the local copy
    This change is effective on all actions that you can perform through the Diversion UI, including updating Entware packages
  • Blocking file types descriptor changed from github.com/StevenBlack/fakenews-gambling-porn-social to github.com/StevenBlack/fakenews-gambling-porn

 

How to update to Diversion 4.0.2
To update to this latest version use d and select update.
Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.0.1 released

What's new in Diversion 4.0.1

  • Porting AB-Solution to Diversion: Gentler handling of existing jffs/scripts files
  • Command-line options simplified (use 'diversion help' for new parameters)
  • Option added to turn off shell history
  • Checks in UI if pixelserv-tls is running
  • Firmware update notification, fix for non-Diversion update-notification script
  • Auto-backup function now works
  • Saving stats to local storage only no longer requires the email.conf file

Contributors:
@Martineau in function list_files(): Allow $ and spaces in file names
sf_function(): Inspiration for horizontal list if file-list is greater than 3

@bengalih in function edit_list(): Additional code for near matches in whitelist

How to update to Diversion 4.0.1
To update to this latest version use d and select update.
Discussion on the SmallNetBuilder Forum: Diversion

Diversion 4.0 released

AB-Solution is now Diversion.

This is the long awaited complete rewrite of AB-Solution, renamed to Diversion.

To install Diversion 4.0 or update AB-Solution 3.11.x installations to Diversion 4.0 see the Install section.
Discussion on the SmallNetBuilder Forum: Diversion thread