Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-02-11 | firmware-upgrade-reboot: add a delay before reboot | Christian Hesse | 1 | -0/+5 | |
Looks like my timing was too good... Upgrade and reboot happened too fast, so device reported: system;error;critical router was rebooted without proper shutdown Let's try something smart... Delay the reboot by the amount of uptime, and hope all devices - slow and powerful - are happy. (cherry picked from commit 3f8e835233d8d9ac6f31572a1a115eb73c46ff92) | |||||
2022-02-10 | global-functions: $MkDir: do not act without directory | Christian Hesse | 1 | -0/+4 | |
(cherry picked from commit 7b48b25c271111570d27708ceac437e24f05e6fe) | |||||
2022-02-10 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
Thanks a lot and please enjoy firmware-upgrade-reboot! 😊 (cherry picked from commit a50d9d30e3fbf6b4236f99cb40df656206492f8f) | |||||
2022-02-10 | introduce firmware-upgrade-rebootchange-77-v6 | Christian Hesse | 9 | -3/+75 | |
(cherry picked from commit 3c358980cb416c61419a0aaa384ab1db1dab8d29) | |||||
2022-02-10 | netwatch-dns: flush cache on configuration change | Christian Hesse | 1 | -0/+4 | |
(cherry picked from commit a47f5723cc4cdd287d36aaffd7619c17494f9345) | |||||
2022-02-10 | netwatch-notify: nest conditions | Christian Hesse | 1 | -15/+17 | |
The logic here was right, but RouterOS runs the checks simultaneously. This caused delays even if no resolving was needed. Nesting the checks fixes this. (cherry picked from commit 0b46c508dc8f76955dd528900882b54c07b62ef3) | |||||
2022-02-10 | netwatch-notify: allow to suppress notification on host downchange-76-v6 | Christian Hesse | 6 | -10/+23 | |
(cherry picked from commit c6e581d4f90c9bea0adf405685aa634e264d1f3b) | |||||
2022-02-10 | doc/netwatch-notify: add sections | Christian Hesse | 1 | -0/+8 | |
(cherry picked from commit 42c203291a7db814be00f40caddb6980632358fa) | |||||
2022-02-10 | doc/packages-update: link backup-cloud | Christian Hesse | 1 | -0/+1 | |
(cherry picked from commit dd19aea3628471ce54fefa30913879322f20e63a) | |||||
2022-01-30 | packages-update: use correct syntax | Christian Hesse | 1 | -3/+3 | |
(cherry picked from commit 27a81bcbca52d513c5b9c10578474a1863bd08af) | |||||
2022-01-30 | check-routeros-update: use correct syntax | Christian Hesse | 1 | -1/+1 | |
(cherry picked from commit dfe995be270f1ee9621454e7feada84c33168db0) | |||||
2022-01-20 | global-functions: $ScriptInstallUpdate: quote names in log output | Christian Hesse | 1 | -9/+9 | |
(cherry picked from commit 5e32105e7ea4bd357f9826d1ca24ca6e2c455bdc) | |||||
2022-01-20 | global-functions: $ScriptInstallUpdate: give final url in debug output | Christian Hesse | 1 | -7/+6 | |
(cherry picked from commit b4a5d824a268fae9f06ccf61fff4f67c760773ed) | |||||
2022-01-17 | global-functions: $DownloadPackage: handle special case with name | Christian Hesse | 1 | -0/+4 | |
For RouterOS 6.x bundled package version and architecture are swapped. Closes: #21 (cherry picked from commit 1e6931c8e34d5035cb07baa98b57eccbcd4278ab) | |||||
2022-01-17 | global-functions: $DownloadPackage: give url in debug output | Christian Hesse | 1 | -3/+3 | |
(cherry picked from commit 51cd11c80380eac0bfde4649cb30747c198881b7) | |||||
2022-01-14 | global: send notification on 'routeros-v6'change-75-v6 | Christian Hesse | 4 | -3/+4 | |
This is mainly to keep the version in 'routeros-v6' and 'main' in sync... | |||||
2022-01-14 | global-config: add $ScriptUpdatesUrlSuffix in overlay for RouterOS v6 | Christian Hesse | 1 | -0/+3 | |
2022-01-14 | README: install correct global-config-overlay for RouterOS v6branch-routeros-v6 | Christian Hesse | 3 | -3/+15 | |
2022-01-14 | INITIAL-COMMANDS: silence the certificate download | Christian Hesse | 1 | -1/+1 | |
2022-01-07 | hotspot-to-wpa: support settings from templatechange-74 | Christian Hesse | 6 | -8/+56 | |
2022-01-06 | Merge branch 'backup' into next | Christian Hesse | 21 | -433/+444 | |
2022-01-06 | Migrate configuration and send notification on renameschange-73 | Christian Hesse | 4 | -3/+5 | |
2022-01-06 | rename script upload-backup -> backup-upload | Christian Hesse | 9 | -181/+184 | |
2022-01-06 | rename script email-backup -> backup-email | Christian Hesse | 9 | -139/+142 | |
2022-01-06 | rename script cloud-backup -> backup-cloud | Christian Hesse | 9 | -116/+119 | |
2022-01-03 | introduce netwatch-dnschange-72 | Christian Hesse | 8 | -3/+166 | |
2022-01-03 | netwatch-notify: give netwatch some time to settle | Christian Hesse | 1 | -0/+4 | |
2022-01-03 | netwatch-notify: initialize after lock | Christian Hesse | 1 | -2/+2 | |
2022-01-03 | netwatch-notify: better match notify-entries | Christian Hesse | 1 | -77/+80 | |
2022-01-03 | add AVIF logo | Christian Hesse | 1 | -0/+0 | |
2022-01-03 | doc/accesslist-duplicates: convert screenshot to AVIF | Christian Hesse | 3 | -1/+1 | |
2022-01-03 | README: convert screenshots to AVIF | Christian Hesse | 23 | -11/+11 | |
2022-01-03 | README: convert Telegram group qr code to AVIF | Christian Hesse | 3 | -1/+1 | |
2022-01-01 | update copyright for 2022 | Christian Hesse | 62 | -62/+62 | |
2021-12-30 | README: add Telegram icon in qr code | Christian Hesse | 1 | -0/+0 | |
2021-12-30 | README: add a qr code to join Telegram group | Christian Hesse | 2 | -0/+3 | |
2021-12-20 | global-functions: $RequiredRouterOS: fix warning | Christian Hesse | 1 | -5/+4 | |
Passing a boolean does not work... Handle as string. | |||||
2021-12-17 | log-forward: fix forwarding first message | Christian Hesse | 1 | -1/+1 | |
Pulling the power cable results in log message on next boot: dec/16 18:28:28 system,error,critical router rebooted without proper shutdown, probably power outage This was not forwarded as it had the numeric id 0, which is not greater than the zero we initialized with. Now initialized with -1 when no log has been forwarded to fix this. | |||||
2021-12-16 | INITIAL-COMMANDS: adopt changes, no need to run global-config-overlay | Christian Hesse | 1 | -2/+2 | |
2021-12-16 | doc/ssh-keys-import: number keys, do not overwrite on same comment | Christian Hesse | 1 | -1/+1 | |
2021-12-16 | doc/ssh-keys-import: handle RSA keys only | Christian Hesse | 1 | -1/+1 | |
Sadly RouterOS does not (yet) support ed25519 keys... | |||||
2021-12-16 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
2021-12-15 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
2021-12-14 | global-functions: $DownloadPackage: make directory first | Christian Hesse | 1 | -0/+6 | |
The fetch command creates the directory itself, however using $MkDir gives better error message when creating directory fails. | |||||
2021-12-14 | global-functions: $MkDir: log error | Christian Hesse | 1 | -1/+3 | |
2021-12-14 | global-functions: $NotificationFunctions->"email": do not declare unused ↵ | Christian Hesse | 1 | -1/+0 | |
function | |||||
2021-12-13 | global-functions: $DeviceInfo: show license level if available | Christian Hesse | 1 | -0/+3 | |
This now shows license level for CHR. The property is named different for Routerboards. As these have the license bundled to hardware anyway we do not show it there. | |||||
2021-12-13 | README: changes for RouterOS v6change-71 | Christian Hesse | 5 | -3/+16 | |
2021-12-10 | global-functions: $ScriptLock: simplify cleanup code | Christian Hesse | 1 | -5/+2 | |
2021-12-09 | global-functions: $ScriptLock: remove ticket in a loop | Christian Hesse | 1 | -1/+2 | |
This was not required with RouterOS v6, but for any reason removing a ticket may fail with RouterOS v7 in very rare cases. So remove in a loop... | |||||
2021-12-09 | global-functions: $ScriptLock: cleanup in dedicated function | Christian Hesse | 1 | -4/+13 | |
2021-12-09 | mod/ipcalc: introduce $IPCalcReturn | Christian Hesse | 1 | -9/+20 | |
2021-12-09 | mod/inspectvar: truncate value if too long | Christian Hesse | 1 | -1/+3 | |
2021-12-09 | mod/inspectvar: introduce $InspectVarReturn | Christian Hesse | 1 | -8/+20 | |
2021-12-09 | global-functions: $ScriptLock: initialize earlier | Christian Hesse | 1 | -4/+3 | |
2021-12-09 | global-functions: $ScriptLock: initialize empty array on cleanup | Christian Hesse | 1 | -2/+2 | |
2021-12-07 | upload-backup: drop warning on RouterOS v7... | Christian Hesse | 1 | -6/+0 | |
... now that we have it in global-functions. | |||||
2021-12-07 | email-backup: drop warning on RouterOS v7... | Christian Hesse | 1 | -6/+0 | |
... now that we have it in global-functions. | |||||
2021-12-07 | global-functions: give a hint on RouterOS v7 | Christian Hesse | 1 | -0/+6 | |
2021-12-07 | global-config: load overlay automatically | Christian Hesse | 4 | -6/+14 | |
2021-12-07 | check-routeros-update: lock against multiple invocation | Christian Hesse | 1 | -0/+3 | |
2021-12-07 | README: changes for RouterOS v7change-70 | Christian Hesse | 5 | -4/+22 | |
2021-12-02 | doc/netwatch-notify: add missing empty line | Christian Hesse | 1 | -0/+1 | |
2021-11-22 | global-functions: $DeviceInfo: add current firmware | Christian Hesse | 1 | -0/+2 | |
(I would like to show a note if the upgrade is pending... But did not find a way to get that information. Is there?) | |||||
2021-11-19 | accesslist-duplicates: read more than a single digit | Christian Hesse | 3 | -6/+12 | |
With RouterOS 6.x a print always starts with numeric id zero, then counts up. This is no longer true with RouterOS 7.x... Thus we have to handle two or more digits in input. | |||||
2021-11-18 | README: no capitals here... | Christian Hesse | 1 | -1/+1 | |
2021-11-16 | check-health: support hard lower limit for voltagechange-69 | Christian Hesse | 6 | -4/+19 | |
... to detect slow decrease of voltage, for example with UPS. | |||||
2021-11-16 | check-health: indicate voltage increase or decrease | Christian Hesse | 3 | -2/+6 | |
2021-11-16 | reintroduce global-waitchange-68 | Christian Hesse | 9 | -6/+65 | |
2021-11-16 | global-functions: drop deprecated function $LogPrintExit | Christian Hesse | 1 | -9/+0 | |
... which has been replaced by $LogPrintExit2 some time ago. | |||||
2021-11-15 | shorten modules directory name (global-functions.d -> mod)change-67 | Christian Hesse | 14 | -23/+25 | |
2021-11-15 | bridge-port-to-default -> global-functions.d/bridge-port-tochange-66 | Christian Hesse | 10 | -107/+79 | |
2021-11-12 | add global-functions.d/bridge-port-vlanchange-65 | Christian Hesse | 8 | -3/+159 | |
2021-11-11 | doc: move notification images to script-specific directories | Christian Hesse | 27 | -16/+16 | |
2021-11-03 | hotspot-to-wpa: drop support for tx limits | Christian Hesse | 1 | -11/+2 | |
... if you need to limit bandwidth use queues instead. | |||||
2021-10-01 | global-functions: $NotificationFunctions->"email": check for valid settings | Christian Hesse | 1 | -1/+2 | |
No need to queue mails if 'address' and 'from' are not specified... | |||||
2021-10-01 | global-functions: $DeviceInfo: do not fail on non-RouterBoard with ROS 7.x | Christian Hesse | 1 | -1/+4 | |
2021-09-28 | global-functions.d/notification-telegram: fix calculation on cut off | Christian Hesse | 1 | -2/+3 | |
2021-09-22 | doc/accesslist-duplicates: use real screenshot | Christian Hesse | 2 | -9/+2 | |
2021-09-21 | README: add a note about date and time | Christian Hesse | 1 | -0/+4 | |
2021-09-21 | README: use real screenshots... | Christian Hesse | 12 | -27/+41 | |
... and make sure copy-and-paste with code does not fail. Also end all commands with a semicolon for Github copy button. | |||||
2021-09-21 | hotspot-to-wpa-cleanup: match dhcp server name | Christian Hesse | 1 | -3/+4 | |
... as we do not want the hotspot's lease to become static. | |||||
2021-09-21 | global-functions.d/inspectvar: add $InspectVar...change-64 | Christian Hesse | 5 | -3/+44 | |
to inspect variables. This is useful for variables with (nested) arrays, for example inspecting $NetwatchNotify (from netwatch-notify): [admin@Mikrotik] > $InspectVar $NetwatchNotify -type-> array -key-> quad-one -type-> array -key-> count -type-> num -value-> 0 -key-> notified -type-> bool -value-> false -key-> parent -type-> nothing -key-> resolve-failed -type-> nothing -key-> since -type-> nothing -key-> example.com -type-> array -key-> count -type-> num -value-> 0 -key-> notified -type-> bool -value-> false -key-> parent -type-> str -value-> quad-one -key-> resolve-failed -type-> nothing -key-> since -type-> nothing | |||||
2021-09-21 | global-functions: notify about move of $IPCalc and $ScriptRunOnce to moduleschange-63 | Christian Hesse | 4 | -3/+4 | |
Just install with... $ScriptInstallUpdate global-functions.d/ipcalc ... and/or... $ScriptInstallUpdate global-functions.d/scriptrunonce ... and use the functions as before. | |||||
2021-09-21 | global-functions: move $ScriptRunOnce to optional module | Christian Hesse | 3 | -41/+48 | |
2021-09-21 | global-functions: move $IPCalc to optional module | Christian Hesse | 2 | -30/+35 | |
2021-09-21 | upload-backup: warn on missing sensitive information with ROS 7.x | Christian Hesse | 1 | -0/+6 | |
2021-09-21 | email-backup: warn on missing sensitive information with ROS 7.x | Christian Hesse | 1 | -0/+6 | |
2021-09-21 | certs: drop old chain GTS CA 1O1 / GlobalSign | Christian Hesse | 1 | -186/+0 | |
2021-09-20 | certs: add new chain GTS CA 1C3 / GTS Root R1 | Christian Hesse | 1 | -0/+242 | |
This is used by Google DNS (8.8.8.8). $CertificateAvailable "GTS CA 1C3" /ip dns set use-doh-server=https://8.8.8.8/dns-query verify-doh-cert=yes | |||||
2021-09-20 | certs: drop old intermediate cert DigiCert ECC Secure Server CA | Christian Hesse | 1 | -166/+0 | |
2021-09-20 | certs: add new intermediate cert DigiCert TLS Hybrid ECC SHA384 2020 CA1 | Christian Hesse | 1 | -0/+174 | |
This is used by Cloudflare DNS (1.1.1.1) and Quard9 (9.9.9.9). $CertificateAvailable "DigiCert TLS Hybrid ECC SHA384 2020 CA1" /ip dns set use-doh-server=https://1.1.1.1/dns-query verify-doh-cert=yes $CertificateAvailable "DigiCert TLS Hybrid ECC SHA384 2020 CA1" /ip dns set use-doh-server=https://9.9.9.9/dns-query verify-doh-cert=yes | |||||
2021-09-08 | global-functions*: syntax for ROS 7.xrouteros-7.1rc3 | Christian Hesse | 3 | -8/+8 | |
Strings with escape sequence have to be enclosed in parentheses. Looks like RouterOS 7.x is stricter here... | |||||
2021-09-02 | global-functions: $CertificateAvailable: drop version check | Christian Hesse | 1 | -5/+0 | |
2021-09-01 | global-functions: $RequiredRouterOS: allow to use without warning | Christian Hesse | 1 | -6/+9 | |
2021-08-31 | global-functions: $ScriptLock: handle array by index | Christian Hesse | 1 | -17/+50 | |
This should mitigate race conditions while rewriting the array. | |||||
2021-08-31 | global-functions: $ScriptLock: do not store but calculate job count | Christian Hesse | 1 | -7/+10 | |
This should mitigate some more race conditions. | |||||
2021-08-30 | lease-script: move debug output up | Christian Hesse | 1 | -3/+3 | |
2021-08-27 | check-health: use $ScriptLock | Christian Hesse | 1 | -0/+3 | |
2021-08-27 | netwatch-notify: use $ScriptLock | Christian Hesse | 1 | -0/+3 | |