aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-02-10introduce firmware-upgrade-rebootchange-77Gravatar Christian Hesse9-3/+75
2022-02-10netwatch-dns: flush cache on configuration changeGravatar Christian Hesse1-0/+4
2022-02-10netwatch-notify: nest conditionsGravatar Christian Hesse1-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.
2022-02-10netwatch-notify: allow to suppress notification on host downchange-76Gravatar Christian Hesse6-10/+23
2022-02-08doc/netwatch-notify: add sectionsGravatar Christian Hesse1-0/+8
2022-02-08doc/packages-update: link backup-cloudGravatar Christian Hesse1-0/+1
2022-01-30packages-update: use correct syntaxGravatar Christian Hesse1-3/+3
2022-01-30check-routeros-update: use correct syntaxGravatar Christian Hesse1-1/+1
2022-01-20global-functions: $ScriptInstallUpdate: quote names in log outputGravatar Christian Hesse1-9/+9
2022-01-20global-functions: $ScriptInstallUpdate: give final url in debug outputGravatar Christian Hesse1-7/+6
2022-01-17global-functions: $DownloadPackage: handle special case with nameGravatar Christian Hesse1-0/+4
For RouterOS 6.x bundled package version and architecture are swapped. Closes: #21
2022-01-17global-functions: $DownloadPackage: give url in debug outputGravatar Christian Hesse1-3/+3
2022-01-14Merge branch 'routeros-v7' into nextGravatar Christian Hesse11-82/+83
2022-01-14global: notify about merging 'routeros-v7' into 'main'change-75Gravatar Christian Hesse4-4/+10
2022-01-14doc/capsman-download-packages: only bundle is available nowrouteros-7.x-4Gravatar Christian Hesse1-5/+3
2022-01-14check-health: adopt new data structure for ROS 7.xrouteros-7.x-3Gravatar Christian Hesse1-39/+49
The PSU state has an empty string for type... Thus matching on name.
2022-01-14rotate-ntp: syntax for ROS 7.xrouteros-7.x-2Gravatar Christian Hesse1-1/+1
The property name changed in RouterOS v7...
2022-01-14ospf-to-leds: get state from count of neighborsrouteros-7.x-1Gravatar Christian Hesse1-4/+10
The state property is gone in RouterOS v7...
2022-01-14backup-upload: export with show-sensitiverouteros-7.1rc1-3Gravatar Christian Hesse1-1/+1
This is available (and required) with RouterOS 7.1rc1.
2022-01-14backup-email: export with show-sensitiverouteros-7.1rc1-2Gravatar Christian Hesse1-1/+1
This is available (and required) with RouterOS 7.1rc1.
2022-01-14README: drop hint on branch 'routeros-v7'Gravatar Christian Hesse2-22/+4
2022-01-14global-functions: bump the required version for RouterOS 7.xGravatar Christian Hesse1-5/+4
... but keep a warning when running RouterOS v6.
2022-01-14README: install correct global-config-overlay for RouterOS v6branch-routeros-v6Gravatar Christian Hesse3-3/+15
2022-01-14INITIAL-COMMANDS: silence the certificate downloadGravatar Christian Hesse1-1/+1
2022-01-07hotspot-to-wpa: support settings from templatechange-74Gravatar Christian Hesse6-8/+56
2022-01-06Merge branch 'backup' into nextGravatar Christian Hesse21-433/+444
2022-01-06Migrate configuration and send notification on renameschange-73Gravatar Christian Hesse4-3/+5
2022-01-06rename script upload-backup -> backup-uploadGravatar Christian Hesse9-181/+184
2022-01-06rename script email-backup -> backup-emailGravatar Christian Hesse9-139/+142
2022-01-06rename script cloud-backup -> backup-cloudGravatar Christian Hesse9-116/+119
2022-01-03introduce netwatch-dnschange-72Gravatar Christian Hesse8-3/+166
2022-01-03netwatch-notify: give netwatch some time to settleGravatar Christian Hesse1-0/+4
2022-01-03netwatch-notify: initialize after lockGravatar Christian Hesse1-2/+2
2022-01-03netwatch-notify: better match notify-entriesGravatar Christian Hesse1-77/+80
2022-01-03add AVIF logoGravatar Christian Hesse1-0/+0
2022-01-03doc/accesslist-duplicates: convert screenshot to AVIFGravatar Christian Hesse3-1/+1
2022-01-03README: convert screenshots to AVIFGravatar Christian Hesse23-11/+11
2022-01-03README: convert Telegram group qr code to AVIFGravatar Christian Hesse3-1/+1
2022-01-01update copyright for 2022Gravatar Christian Hesse62-62/+62
2021-12-30README: add Telegram icon in qr codeGravatar Christian Hesse1-0/+0
2021-12-30README: add a qr code to join Telegram groupGravatar Christian Hesse2-0/+3
2021-12-20global-functions: $RequiredRouterOS: fix warningGravatar Christian Hesse1-5/+4
Passing a boolean does not work... Handle as string.
2021-12-17log-forward: fix forwarding first messageGravatar Christian Hesse1-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-16INITIAL-COMMANDS: adopt changes, no need to run global-config-overlayGravatar Christian Hesse1-2/+2
2021-12-16doc/ssh-keys-import: number keys, do not overwrite on same commentGravatar Christian Hesse1-1/+1
2021-12-16doc/ssh-keys-import: handle RSA keys onlyGravatar Christian Hesse1-1/+1
Sadly RouterOS does not (yet) support ed25519 keys...
2021-12-16update list of contributorsGravatar Christian Hesse1-0/+1
2021-12-15update list of contributorsGravatar Christian Hesse1-0/+1
2021-12-14global-functions: $DownloadPackage: make directory firstGravatar Christian Hesse1-0/+6
The fetch command creates the directory itself, however using $MkDir gives better error message when creating directory fails.
2021-12-14global-functions: $MkDir: log errorGravatar Christian Hesse1-1/+3
2021-12-14global-functions: $NotificationFunctions->"email": do not declare unused ↵Gravatar Christian Hesse1-1/+0
function
2021-12-13global-functions: $DeviceInfo: show license level if availableGravatar Christian Hesse1-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-13README: changes for RouterOS v6change-71Gravatar Christian Hesse5-3/+16
2021-12-10global-functions: $ScriptLock: simplify cleanup codeGravatar Christian Hesse1-5/+2
2021-12-09global-functions: $ScriptLock: remove ticket in a loopGravatar Christian Hesse1-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-09global-functions: $ScriptLock: cleanup in dedicated functionGravatar Christian Hesse1-4/+13
2021-12-09mod/ipcalc: introduce $IPCalcReturnGravatar Christian Hesse1-9/+20
2021-12-09mod/inspectvar: truncate value if too longGravatar Christian Hesse1-1/+3
2021-12-09mod/inspectvar: introduce $InspectVarReturnGravatar Christian Hesse1-8/+20
2021-12-09global-functions: $ScriptLock: initialize earlierGravatar Christian Hesse1-4/+3
2021-12-09global-functions: $ScriptLock: initialize empty array on cleanupGravatar Christian Hesse1-2/+2
2021-12-07upload-backup: drop warning on RouterOS v7...Gravatar Christian Hesse1-6/+0
... now that we have it in global-functions.
2021-12-07email-backup: drop warning on RouterOS v7...Gravatar Christian Hesse1-6/+0
... now that we have it in global-functions.
2021-12-07global-functions: give a hint on RouterOS v7Gravatar Christian Hesse1-0/+6
2021-12-07global-config: load overlay automaticallyGravatar Christian Hesse4-6/+14
2021-12-07check-routeros-update: lock against multiple invocationGravatar Christian Hesse1-0/+3
2021-12-07README: changes for RouterOS v7change-70Gravatar Christian Hesse5-4/+22
2021-12-02doc/netwatch-notify: add missing empty lineGravatar Christian Hesse1-0/+1
2021-11-22global-functions: $DeviceInfo: add current firmwareGravatar Christian Hesse1-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-19accesslist-duplicates: read more than a single digitGravatar Christian Hesse3-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-18README: no capitals here...Gravatar Christian Hesse1-1/+1
2021-11-16check-health: support hard lower limit for voltagechange-69Gravatar Christian Hesse6-4/+19
... to detect slow decrease of voltage, for example with UPS.
2021-11-16check-health: indicate voltage increase or decreaseGravatar Christian Hesse3-2/+6
2021-11-16reintroduce global-waitchange-68Gravatar Christian Hesse9-6/+65
2021-11-16global-functions: drop deprecated function $LogPrintExitGravatar Christian Hesse1-9/+0
... which has been replaced by $LogPrintExit2 some time ago.
2021-11-15shorten modules directory name (global-functions.d -> mod)change-67Gravatar Christian Hesse14-23/+25
2021-11-15bridge-port-to-default -> global-functions.d/bridge-port-tochange-66Gravatar Christian Hesse10-107/+79
2021-11-12add global-functions.d/bridge-port-vlanchange-65Gravatar Christian Hesse8-3/+159
2021-11-11doc: move notification images to script-specific directoriesGravatar Christian Hesse27-16/+16
2021-11-03hotspot-to-wpa: drop support for tx limitsGravatar Christian Hesse1-11/+2
... if you need to limit bandwidth use queues instead.
2021-10-01global-functions: $NotificationFunctions->"email": check for valid settingsGravatar Christian Hesse1-1/+2
No need to queue mails if 'address' and 'from' are not specified...
2021-10-01global-functions: $DeviceInfo: do not fail on non-RouterBoard with ROS 7.xGravatar Christian Hesse1-1/+4
2021-09-28global-functions.d/notification-telegram: fix calculation on cut offGravatar Christian Hesse1-2/+3
2021-09-22doc/accesslist-duplicates: use real screenshotGravatar Christian Hesse2-9/+2
2021-09-21README: add a note about date and timeGravatar Christian Hesse1-0/+4
2021-09-21README: use real screenshots...Gravatar Christian Hesse12-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-21hotspot-to-wpa-cleanup: match dhcp server nameGravatar Christian Hesse1-3/+4
... as we do not want the hotspot's lease to become static.
2021-09-21global-functions.d/inspectvar: add $InspectVar...change-64Gravatar Christian Hesse5-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-21global-functions: notify about move of $IPCalc and $ScriptRunOnce to moduleschange-63Gravatar Christian Hesse4-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-21global-functions: move $ScriptRunOnce to optional moduleGravatar Christian Hesse3-41/+48
2021-09-21global-functions: move $IPCalc to optional moduleGravatar Christian Hesse2-30/+35
2021-09-21upload-backup: warn on missing sensitive information with ROS 7.xGravatar Christian Hesse1-0/+6
2021-09-21email-backup: warn on missing sensitive information with ROS 7.xGravatar Christian Hesse1-0/+6
2021-09-21certs: drop old chain GTS CA 1O1 / GlobalSignGravatar Christian Hesse1-186/+0
2021-09-20certs: add new chain GTS CA 1C3 / GTS Root R1Gravatar Christian Hesse1-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-20certs: drop old intermediate cert DigiCert ECC Secure Server CAGravatar Christian Hesse1-166/+0
2021-09-20certs: add new intermediate cert DigiCert TLS Hybrid ECC SHA384 2020 CA1Gravatar Christian Hesse1-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-08global-functions*: syntax for ROS 7.xrouteros-7.1rc3Gravatar Christian Hesse3-8/+8
Strings with escape sequence have to be enclosed in parentheses. Looks like RouterOS 7.x is stricter here...
2021-09-02global-functions: $CertificateAvailable: drop version checkGravatar Christian Hesse1-5/+0
2021-09-01global-functions: $RequiredRouterOS: allow to use without warningGravatar Christian Hesse1-6/+9