Commit graph

3475 commits

Author SHA1 Message Date
Christian Hesse
e10b5f6f23 lease-script: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
dde2251920 ipv6-update: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
897e4ebb63 ipsec-to-dns: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
a53d248b50 hotspot-to-wpa-cleanup: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
e22907854d hotspot-to-wpa: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
8984978091 gps-track: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
6313d4b613 fw-addr-lists: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
cb9f0dc6a7 firmware-upgrade-reboot: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
e731b41669 dhcp-to-dns: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
2666a78b9a dhcp-lease-comment: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
01d67c02aa daily-psk: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
1a3a178a2d collect-wireless-mac: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
1c5b909112 check-routeros-update: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
a5398a6582 check-perpetual-license: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
89ac8bb726 check-lte-firmware-upgrade: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
770a3edfa0 check-health: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
1220ea2b8d check-certificates: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
f28d80d61f certificate-renew-issued: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
f134205a8f capsman-rolling-upgrade: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
3a26f6461f capsman-download-packages: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
f2a47e73b7 backup-upload: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
6f5c29f93c backup-partition: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
d3bc51023e backup-email: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
f79ded5a37 backup-cloud: early exit with :exit 2026-03-19 14:38:43 +01:00
Christian Hesse
982beb9660 Merge branch 'compare-ids' into next 2026-03-19 14:38:43 +01:00
Christian Hesse
7cdfc34f46 Merge branch 'drop-builtin-trust-anchors' into next 2026-03-19 14:38:43 +01:00
Christian Hesse
9031875b35 global-functions: deprecate $HexToNum 2026-03-19 14:38:43 +01:00
Christian Hesse
89b6fe9fd4 mod/notification-email: use errors from command...
... instead of reading status from properties. This was introduced in
RouterOS 7.21beta2 (and we bump to 7.21 instead).
2026-03-19 14:38:43 +01:00
Christian Hesse
aa35d983ed INITIAL-COMMANDS: drop the old builtin-trust-anchors 2026-03-19 14:38:43 +01:00
Christian Hesse
26be488b66 log-forward: fix indention 2026-03-19 14:38:43 +01:00
Christian Hesse
e7fb78bf02 mod/ssh-keys-import: drop old property
The property name changed in RouterOS 7.21beta2, so bump required
version to 7.21.
2026-03-19 14:38:43 +01:00
Christian Hesse
cafae19330 global-functions: $CertificateAvailable: drop the old builtin-trust-anchors 2026-03-19 14:38:43 +01:00
Christian Hesse
381b4ac263 log-forward: use comparison for ids
This was introduced with RouterOS 7.22beta1.

Initializing $LogForwardLast with boolean value looks odd, but this is
reuqired to match the very first message.
2026-03-19 14:38:43 +01:00
Christian Hesse
8682e237c3 contrib/html: strip question mark from anchor 2026-03-19 14:38:43 +01:00
Christian Hesse
6af2c82c3e README: drop the old builtin-trust-anchors 2026-03-19 14:38:43 +01:00
Christian Hesse
65febff022 contrib/html: break the line 2026-03-19 14:38:43 +01:00
Christian Hesse
65f101eb48 doc/dhcp-to-dns: add a note on reverse lookup
https://github.com/eworm-de/routeros-scripts/discussions/94
https://github.com/eworm-de/routeros-scripts/issues/104
https://github.com/eworm-de/routeros-scripts/issues/120

... and possibly more.
2026-03-19 11:39:31 +01:00
Christian Hesse
6d5274c5b1 check-certificates: change order of conditions...
... to better match both loops.
2026-03-19 09:51:57 +01:00
Christian Hesse
87f7495534 check-certificates: try renew with common-name or subject-alt-name only
One of these is required to assemble the url.
2026-03-19 09:51:57 +01:00
Christian Hesse
428478e690 dhcp-to-dns: remove unused variable 2026-03-16 11:19:25 +01:00
Christian Hesse
460508c931 Merge branch 'check-certificates' into next 2026-03-12 11:35:41 +01:00
Christian Hesse
6aebf5720d check-certificates: give the name used for fetch 2026-03-12 11:35:41 +01:00
Christian Hesse
22c3f70dab check-certificates: match status code in error message
The message used to be:

    Fetch failed with status 404

... but changed recently:

    failure: Status 404, NOT FOUND

The new string is in RouterOS 7.22, and changed in what ever
beta or rc release. Let's just match the status code and hope
for the best.
2026-03-12 11:35:41 +01:00
Christian Hesse
0d5ee6cf23 check-certificates: skip common-name if not available 2026-03-12 11:35:41 +01:00
Christian Hesse
491189ece4 doc/check-certificates: create example certificate with SAN 2026-03-12 11:05:24 +01:00
Christian Hesse
538071631d global-functions: $ScriptInstallUpdate: warn when script exists...
... but is requested to be added.
2026-03-12 10:56:21 +01:00
Christian Hesse
76ae9686cf fw-addr-lists: raw.githubusercontent.com requires 'ISRG Root X1' now 2026-03-12 10:56:21 +01:00
Christian Hesse
fa16e79746 mod/notification-email: suppress another racy condition 2026-03-10 13:13:03 +01:00
Christian Hesse
2567c332de mod/notification-email: always use :find for scheduler
This is still racy... Try to improve.
2026-03-10 13:13:03 +01:00
Christian Hesse
51ec9dafb9 check-certificates: decrease the defaults for renewal and warning
https://letsencrypt.org/2025/12/02/from-90-to-45.html
2026-03-10 13:13:03 +01:00