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