aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-12-09mod/notification-ntfy: $SendNtfy: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
2024-12-09mod/notification-ntfy: $FlushNtfyQueue: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
2024-12-09mod/notification-matrix: $SendMatrix: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
2024-12-09mod/notification-matrix: $FlushMatrixQueue: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
2024-12-09mod/notification-email: $SendEMail: use $ExitError to indicate unintentional ↵Gravatar Christian Hesse1-2/+4
error
2024-12-09mod/notification-email: $FlushEmailQueue: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
2024-12-09mod/ipcalc: $IPCalc: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
2024-12-09mod/inspectvar: $InspectVar: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
2024-12-09mod/bridge-port-vlan: $BridgePortVlan: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
2024-12-09mod/bridge-port-to: $BridgePortTo: use $ExitError to indicate unintentional ↵Gravatar Christian Hesse1-2/+4
error
2024-12-09mode-button: $ModeButtonScheduler: use $ExitError to indicate unintentional ↵Gravatar Christian Hesse1-2/+4
error
2024-12-09global-functions: $SendNotification: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
2024-12-09global-functions: $ScriptInstallUpdate: use $ExitError to indicate ↵Gravatar Christian Hesse1-2/+4
unintentional error
2024-12-09global-functions: $ExitError: give matching message for functionsGravatar Christian Hesse1-3/+5
2024-12-09mode-button: $ModeButtonScheduler: explicitly name the variableGravatar Christian Hesse1-4/+8
2024-12-09check-routeros-update: pass script name to local functionGravatar Christian Hesse1-6/+8
2024-12-09Merge branch 'exit-error' into nextGravatar Christian Hesse57-57/+359
2024-12-09global-functions: $FetchHuge: passing boolean to function is still broken... ↵Gravatar Christian Hesse1-4/+4
🤨
2024-12-09update-tunnelbroker: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
2024-12-09update-gre-address: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09telegram-chat: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+8
2024-12-09sms-forward: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
2024-12-09sms-action: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09ppp-on-up: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09packages-update: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+13
2024-12-09ospf-to-leds: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09netwatch-notify: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09netwatch-dns: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+8
2024-12-09mode-button: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+4
2024-12-09log-forward: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+6
2024-12-09lease-script: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
2024-12-09ipv6-update: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
2024-12-09ipsec-to-dns: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09hotspot-to-wpa: use $ExitError to indicate unintentional errorGravatar Christian Hesse3-3/+21
2024-12-09hotspot-to-wpa-cleanup: use $ExitError to indicate unintentional errorGravatar Christian Hesse3-3/+15
2024-12-09gps-track: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09fw-addr-lists: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09firmware-upgrade-reboot: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
2024-12-09dhcp-to-dns: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09dhcp-lease-comment: use $ExitError to indicate unintentional errorGravatar Christian Hesse4-4/+20
2024-12-09daily-psk.capsman: use $ExitError to indicate unintentional errorGravatar Christian Hesse4-4/+20
2024-12-09collect-wireless-mac: use $ExitError to indicate unintentional errorGravatar Christian Hesse4-4/+20
2024-12-09check-routeros-update: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+25
2024-12-09check-lte-firmware-upgrade: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09check-health: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+6
2024-12-09check-certificates: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09certificate-renew-issued: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
2024-12-09capsman-rolling-upgrade: use $ExitError to indicate unintentional errorGravatar Christian Hesse3-3/+15
2024-12-09capsman-download-packages: use $ExitError to indicate unintentional errorGravatar Christian Hesse3-3/+21
2024-12-09backup-upload: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
2024-12-09backup-partition: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+11
2024-12-09accesslist-duplicates: use $ExitError to indicate unintentional errorGravatar Christian Hesse4-4/+16
2024-12-09backup-email: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+9
2024-12-09backup-cloud: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+6
2024-12-09global-functions: $ExitError: give script name in messageGravatar Christian Hesse1-1/+1
2024-12-09global-functions: introduce $ExitError...Gravatar Christian Hesse1-0/+13
... as a simple macro to print error message on unintentional error.
2024-11-27netwatch-dns: explicitly expect type=A...routeros-7.16-7Gravatar Christian Hesse2-3/+3
... which is provided since 7.16beta7 (but require next stable release 7.16 as that is available meanwhile).
2024-11-27dhcp-to-dns: explicitly expect type=A...routeros-7.16-6Gravatar Christian Hesse2-5/+5
... which is provided since 7.16beta7 (but require next stable release 7.16 as that is available meanwhile). I had this on my wishlist for a long time, and opened an issue in March 2023 about it (SUP-111312). Back then I changed the code to support both, see commit 779b3b8872b23b784c331d7a454c86439046f5d3.
2024-11-27mod/ssh-keys-import: require RouterOS 7.16routeros-7.16-5Gravatar Christian Hesse2-2/+2
Actually the requirement bumped with the change in commits: * 9c945b1a3283bb352707c69630c579cf82484dcb mod/ssh-keys-import: $SSHKeysImportFile: simplify looping lines * 1f526b356121749991fee69cee5a6c728855c8f2 mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`
2024-11-27fw-addr-lists: require RouterOS 7.16routeros-7.16-4Gravatar Christian Hesse2-2/+2
Actually the requirement bumped with the change in commit: * 084c246ef0cab329fe981732089277fa8398800b fw-addr-lists: simplify looping lines
2024-11-22fw-addr-lists: spamhaus.org returned to 'GTS Root R4'Gravatar Christian Hesse2-3/+3
2024-11-15mode-button: do not act on disabled LEDGravatar Christian Hesse1-1/+2
2024-11-15mode-button: catch runtime errors in executed codeGravatar Christian Hesse1-1/+5
2024-11-15mode-button: fix the caller parameter to $LogPrintGravatar Christian Hesse1-3/+3
This is inside a function, so use just $0 here.
2024-11-14packages-update: drop check for device-mode downgrade...routeros-7.17beta5-1Gravatar Christian Hesse1-6/+0
... as things have been revised and this specific setting was removed.
2024-11-13hotspot-to-wpa-cleanup: revert display of timeout value...Gravatar Christian Hesse3-3/+3
... as the timeout is a time value, and showing "4w00:00:00" (with lots of zeros) is not any better. 😜 This reverts commit f1533b8962bc67d17e9f6b5666ae51ee4d1e1ff4.
2024-11-13hotspot-to-wpa-cleanup: prepare real timeout value in variable...Gravatar Christian Hesse3-6/+6
... to make sure it is not re-calculated for every single lease.
2024-11-12hotspot-to-wpa-cleanup: clean up daily onlyGravatar Christian Hesse3-3/+6
2024-11-12hotspot-to-wpa-cleanup: use the timeout in message...Gravatar Christian Hesse3-3/+3
... not the actual value.
2024-11-12check-routeros-update: always exit early if up to date...Gravatar Christian Hesse1-2/+4
... and just make the output and log dependent on terminal.
2024-11-12check-routeros-update: make invalid version string a warningGravatar Christian Hesse1-1/+1
2024-11-12check-routeros-update: add specific message for empty version stringGravatar Christian Hesse1-0/+5
2024-11-12check-routeros-update: replace hard-coded versionGravatar Christian Hesse1-1/+1
2024-11-08mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`routeros-7.16-3Gravatar Christian Hesse1-2/+1
2024-11-08mod/ssh-keys-import: $SSHKeysImportFile: let `:deserialize` split the fieldsGravatar Christian Hesse1-6/+3
2024-11-08mod/ssh-keys-import: $SSHKeysImportFile: simplify looping linesrouteros-7.16-2Gravatar Christian Hesse1-5/+4
2024-11-06fw-addr-lists: simplify looping linesrouteros-7.16-1Gravatar Christian Hesse1-4/+3
With `:deserialize` the **record** separator is always a new line. The property `delimiter=` is a **field** reparator, so you can parse a lines into an array. We do not want (or need) that, so use new line as field separator. This will result in an array with just one element, and we use that. Also convert the data to line feed explicitly, just to be sure.
2024-11-02doc/netwatch-dns: link to 'certificate name from browser'Gravatar Christian Hesse2-2/+4
2024-11-02doc/fw-addr-lists: link to 'certificate name from browser'Gravatar Christian Hesse2-3/+8
2024-11-02doc/mod/notification-ntfy: link to 'certificate name from browser'Gravatar Christian Hesse2-0/+6
2024-11-02doc/mod/notification-matrix: link to 'certificate name from browser'Gravatar Christian Hesse2-0/+8
2024-11-02introduce CERTIFICATES, guide to find root certificateGravatar Christian Hesse5-0/+74
2024-10-30global-functions: $CertificateAvailable: fail without CommonNameGravatar Christian Hesse1-0/+5
2024-10-29certs: check cert for matrix.orgGravatar Christian Hesse1-0/+1
2024-10-29doc/mod/notification-matrix: better document certificate importGravatar Christian Hesse1-0/+7
2024-10-25ipv6-update: create a dynamic address-list entry onlyGravatar Christian Hesse2-6/+10
This should make sure that the script runs once after reboot, even if the prefix does not change. An existing static entry needs to be removed to make this work! https://github.com/eworm-de/routeros-scripts/issues/85
2024-10-23ipv6-update: ignore if address was acquiredGravatar Christian Hesse1-0/+6
https://github.com/eworm-de/routeros-scripts/issues/85
2024-10-23fw-addr-lists: spamhaus.org requires 'ISRG Root X1' nowGravatar Christian Hesse2-3/+3
2024-10-23packages-update: check for explicit state...routeros-7.17beta4-2Gravatar Christian Hesse1-3/+1
... as all device-mode properties are given since RouterOS 7.14beta4. Let's assume we do not have to care about RouterOS 7.14beta2 any more... As older versions will not match the check we can now merge right away.
2024-10-22backup-partition: drop warning on lock in device-moderouteros-7.17beta4-1Gravatar Christian Hesse1-8/+0
... as switching partitions is possible again in RouterOS 7.17beta4.
2024-10-10doc/netwatch-notify: fix typo(s)Gravatar Christian Hesse1-3/+3
2024-10-10doc/netwatch-notify: give an extra example for resolving AAAA recordsGravatar Christian Hesse1-1/+6
2024-10-10doc/netwatch-notify: always give a host...Gravatar Christian Hesse1-2/+2
... as that is a required property. Any ip address is fine, it is changed anyway.
2024-10-09backup-partition: log the warning just onceGravatar Christian Hesse1-1/+2
2024-10-02update list of contributorsGravatar Christian Hesse1-0/+1
2024-10-01update list of contributorsGravatar Christian Hesse1-0/+1
2024-10-01mod/notification-ntfy: fix ntfy overridesGravatar Ignacio Serrano1-2/+2
2024-09-30log-forward: get last message from log...Gravatar Christian Hesse1-2/+3
... not only from matched massages.
2024-09-30packages-update: give warning on lock in device-moderouteros-7.17beta2-2Gravatar Christian Hesse1-0/+8
RouterOS 7.17beta2 introduced some extra security measures, including some to prevent downgrade attacks for the installation. Detect early and exit with message and error. https://help.mikrotik.com/docs/display/ROS/Device-mode
2024-09-30backup-partition: give warning on lock in device-moderouteros-7.17beta2-1Gravatar Christian Hesse1-0/+7
RouterOS 7.17beta2 introduced some extra security measures, including some to prevent downgrade attacks for the installation. Thus switching partitions (which can hold quite old installations) is denied by device-mode now by default. Warn about that... https://help.mikrotik.com/docs/display/ROS/Device-mode