Compare commits

..

71 commits

Author SHA1 Message Date
Christian Hesse
341fda939b dhcp-to-dns: support to ignore networks
Closes: https://github.com/eworm-de/routeros-scripts/issues/119
2026-05-06 16:15:17 +02:00
Christian Hesse
c99896fc6d bump required RouterOS version for all scripts 2026-05-06 16:15:17 +02:00
Christian Hesse
43e5ef3382 global-functions: $NetMask6: use shift operator...
... and drop the workaround. This requires RouterOS 7.22beta3.
2026-05-06 16:15:17 +02:00
Christian Hesse
97be64dada Merge branch 'break-in-loop' into next 2026-05-06 16:15:17 +02:00
Christian Hesse
b85b97f56a Merge branch 'continue-in-loop' into next 2026-05-06 16:15:17 +02:00
Christian Hesse
dfb6fb5a8e telegram-chat: fix indention 2026-05-06 16:15:17 +02:00
Christian Hesse
74e0fd9a3c Merge branch 'early-exit-with-exit' into next 2026-05-06 16:15:17 +02:00
Christian Hesse
1670a5fbbe dhcp-to-dns: fix indention 2026-05-06 16:15:17 +02:00
Christian Hesse
93d332a022 telegram-chat: use :break in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
f8cca4691d Merge branch 'compare-ids' into next 2026-05-06 16:15:17 +02:00
Christian Hesse
a6febf32e6 global-functions: deprecate $ExitError 2026-05-06 16:15:17 +02:00
Christian Hesse
a8e08951cc dhcp-to-dns: use another :continue in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
5b15902166 check-certificates: use :break in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
45e359d56c Merge branch 'drop-builtin-trust-anchors' into next 2026-05-06 16:15:17 +02:00
Christian Hesse
9e02056635 global-functions: deprecate $HexToNum 2026-05-06 16:15:17 +02:00
Christian Hesse
bef8225ec3 update-tunnelbroker: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
89ece0dafe dhcp-to-dns: use :continue in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
dcb672fc49 mod/notification-email: get property by name
This works now that we require RouterOS 7.21 anyway.
2026-05-06 16:15:17 +02:00
Christian Hesse
5bd93aed8f INITIAL-COMMANDS: drop the old builtin-trust-anchors 2026-05-06 16:15:17 +02:00
Christian Hesse
c8b9a5963c log-forward: fix indention 2026-05-06 16:15:17 +02:00
Christian Hesse
8ae5f5d51f update-gre-address: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
9b1876b43c telegram-chat: use :continue in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
f9463ca841 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-05-06 16:15:17 +02:00
Christian Hesse
7d1c7e55ed global-functions: $CertificateDownload: drop the old builtin-trust-anchors 2026-05-06 16:15:17 +02:00
Christian Hesse
c33c58f155 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-05-06 16:15:17 +02:00
Christian Hesse
f8b13dc69a telegram-chat: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
67add4cefb netwatch-dns: fix indention 2026-05-06 16:15:17 +02:00
Christian Hesse
3aaba1f408 netwatch-dns: check with eworm.de and eworm.net
This should prevent against DENIC outages...

https://blog.denic.de/en/denic-reports-resolved-dnssec-disruption-affecting-de-domains/
2026-05-06 16:15:17 +02:00
Christian Hesse
5bd2776839 global-functions: $CertificateAvailable: drop the old builtin-trust-anchors 2026-05-06 16:15:17 +02:00
Christian Hesse
ca823d0f68 sms-forward: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
d6b22588ed netwatch-dns: use :continue in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
0ef11bf11d global-functions: $IsDNSResolving: check with :retry 2026-05-06 16:15:17 +02:00
Christian Hesse
2c7f88bf99 README: drop the old builtin-trust-anchors 2026-05-06 16:15:17 +02:00
Christian Hesse
5acf0dc05f sms-action: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
ee430846b3 netwatch-dns: fix indention 2026-05-06 16:15:17 +02:00
Christian Hesse
40564249fb ppp-on-up: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
ff0ac82044 netwatch-dns: use :continue in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
bb7fd34222 packages-update: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
05158ef643 global-functions: $ScriptInstallUpdate: fix indention 2026-05-06 16:15:17 +02:00
Christian Hesse
e68d98c610 ospf-to-leds: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
a2fc8f5372 global-functions: $ScriptInstallUpdate: use :continue in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
5f22ca32ba netwatch-notify: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
d3d9734ba5 fw-addr-lists: fix indention 2026-05-06 16:15:17 +02:00
Christian Hesse
9cce9846c8 netwatch-dns: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
cd0d01f20b fw-addr-lists: use :continue in loop 2026-05-06 16:15:17 +02:00
Christian Hesse
2b87ad48f6 log-forward: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
03a223f7a9 ipv6-update: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
a947b7438a ipsec-to-dns: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
6a52bb453d hotspot-to-wpa-cleanup: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
0fd4e19b56 hotspot-to-wpa: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
8840f63c9f gps-track: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
ff5c8cb41f fw-addr-lists: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
1cbba20511 firmware-upgrade-reboot: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
bcbabb5422 dhcpv6-client-lease: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
d9ee83d96d dhcpv4-server-lease: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
9d2fda067d dhcp-to-dns: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
6417691a32 dhcp-lease-comment: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
8b475cf593 daily-psk: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
4bbdc4b4ff collect-wireless-mac: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
a3b672c08c check-routeros-update: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
d2a80b4750 check-perpetual-license: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
86b5f1783a check-lte-firmware-upgrade: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
3b88947ad2 check-health: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
0942ea7a20 check-certificates: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
a1ecadbb94 certificate-renew-issued: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
8fba559e3b capsman-rolling-upgrade: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
013d34b9da capsman-download-packages: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
2437f0581d backup-upload: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
3539c5fa13 backup-partition: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
9a7e663aa6 backup-email: early exit with :exit 2026-05-06 16:15:17 +02:00
Christian Hesse
9d811572e9 backup-cloud: early exit with :exit 2026-05-06 16:15:17 +02:00

View file

@ -786,11 +786,12 @@
:retry {
:set I ($I ^ 1);
:resolve ("low-ttl.eworm." . ({ "de"; "net" }->$I));
:return true;
} delay=50ms max=6;
} on-error={ }
} on-error={
:return false;
}
:return false;
:return true;
}
# check if system is is fully connected (default route reachable, DNS resolving, time sync)