Compare commits

..

81 commits

Author SHA1 Message Date
Christian Hesse
f0303997c0 hotspot-to-wpa: rework for RouterOS 7.24 compatibility 2026-07-29 23:14:42 +02:00
Christian Hesse
4663ee6d6d netwatch-dns: check with a HTTP/2 request
We need RouterOS 7.24 for this to catch runtime errors for bad
command parameters.

Actually this would work with RouterOS 7.23 on architectures that
support http-version=http2 ...
2026-07-29 23:14:42 +02:00
Christian Hesse
1ff4173be5 Merge branch 'dhcp-to-dns' into next 2026-07-29 23:14:42 +02:00
Christian Hesse
6a690ae9a2 bump required RouterOS version for all scripts 2026-07-29 23:14:42 +02:00
Christian Hesse
94a4a2e019 dhcp-to-dns: allow to ignore for specific lease 2026-07-29 23:14:42 +02:00
Christian Hesse
41a3b4f38b global-functions: $NetMask6: use shift operator...
... and drop the workaround. This requires RouterOS 7.22beta3.
2026-07-29 23:14:42 +02:00
Christian Hesse
2518f485d4 update list of contributors 2026-07-29 23:14:42 +02:00
Christian Hesse
11985e8a39 Merge branch 'break-in-loop' into next 2026-07-29 23:14:42 +02:00
Łukasz Witkowski
4d39f1350a dhcp-to-dns: allow to specify domain for CNAMEs...
... in network or lease.

Co-authored-by: Christian Hesse <mail@eworm.de>
2026-07-29 23:14:42 +02:00
Christian Hesse
f79a1d6f66 Merge branch 'continue-in-loop' into next 2026-07-29 23:14:42 +02:00
Christian Hesse
01d1560311 telegram-chat: fix indention 2026-07-29 23:14:42 +02:00
Łukasz Witkowski
b61d56f4ed dhcp-to-dns: set $LeaseInfo
Co-authored-by: Christian Hesse <mail@eworm.de>
2026-07-29 23:14:42 +02:00
Christian Hesse
53ee11cc65 Merge branch 'early-exit-with-exit' into next 2026-07-29 23:14:42 +02:00
Christian Hesse
96423ca654 dhcp-to-dns: fix indention 2026-07-29 23:14:42 +02:00
Christian Hesse
c016910f81 telegram-chat: use :break in loop 2026-07-29 23:14:42 +02:00
Łukasz Witkowski
edca2afb45 dhcp-to-dns: convert DNS names to lower case
Co-authored-by: Christian Hesse <mail@eworm.de>
2026-07-29 23:14:42 +02:00
Christian Hesse
713fc1f70f Merge branch 'compare-ids' into next 2026-07-29 23:14:42 +02:00
Christian Hesse
3c5c9944bd doc/mode-button: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
1d6a75c96b dhcp-to-dns: use another :continue in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
e26a330811 check-certificates: use :break in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
1782f8c978 dhcp-to-dns: support to ignore networks
Closes: https://github.com/eworm-de/routeros-scripts/issues/119
2026-07-29 23:14:42 +02:00
Christian Hesse
d5a498480e global-functions: deprecate $HexToNum 2026-07-29 23:14:42 +02:00
Christian Hesse
702002b89d global-functions: deprecate $ExitError 2026-07-29 23:14:42 +02:00
Christian Hesse
9604c3a24c dhcp-to-dns: use :continue in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
08f55ad5cc log-forward: fix indention 2026-07-29 23:14:42 +02:00
Christian Hesse
19409614c3 update-tunnelbroker: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
dde6a79a67 telegram-chat: use :continue in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
8098181d12 log-forward: use comparison for ids
This was introduced with RouterOS 7.22beta1.

Initializing $LogForwardLast with boolean value looks odd, but this is
required to match the very first message.
2026-07-29 23:14:42 +02:00
Christian Hesse
1f1fb691a9 update-gre-address: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
a9eea7b967 netwatch-dns: fix indention 2026-07-29 23:14:42 +02:00
Christian Hesse
fdd330b95a telegram-chat: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
b3829149a8 netwatch-dns: use :continue in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
cff6ecb327 sms-forward: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
66d280db10 netwatch-dns: fix indention 2026-07-29 23:14:42 +02:00
Christian Hesse
002b902f45 sms-action: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
3dcbd08257 netwatch-dns: use :continue in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
d1d6fde33b ppp-on-up: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
a91d7b7cf5 lobal-functions: $ScriptInstallUpdate: fix indention 2026-07-29 23:14:42 +02:00
Christian Hesse
708f8ce08e packages-update: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
ce19ab7b06 global-functions: $ScriptInstallUpdate: use :continue in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
8640c393a3 ospf-to-leds: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
1f83674ef3 global-functions: $CleanName: use :continue in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
42ae26c578 netwatch-notify: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
16f5e25bfd fw-addr-lists: fix indention 2026-07-29 23:14:42 +02:00
Christian Hesse
bf6d64969a netwatch-dns: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
a8859c2534 fw-addr-lists: use :continue in loop 2026-07-29 23:14:42 +02:00
Christian Hesse
62817ab7c1 mode-button-scheduler: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
ddf4479dd2 log-forward: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
c39be3732c ipv6-update: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
143f1fccab ipsec-to-dns: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
9ec01f5d3f hotspot-to-wpa-cleanup: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
edf257532e hotspot-to-wpa: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
9c7b176c6c gps-track: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
6b5aba634e fw-addr-lists: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
b7698e9bc6 firmware-upgrade-reboot: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
d944e9443b dhcpv6-client-lease: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
a969cd4d4d dhcpv4-server-lease: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
92d83001eb dhcp-to-dns: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
4fa20f6ee7 dhcp-lease-comment: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
28f1ffb1ae daily-psk: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
0dd6fbeb6f collect-wireless-mac: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
73cb5a6394 check-routeros-update: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
fadf17eb19 check-perpetual-license: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
98b449f33a check-lte-firmware-upgrade: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
2696c5cc47 check-health: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
915828145e check-certificates: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
d0a77f92f3 certificate-renew-issued: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
4cf4d0d81b capsman-rolling-upgrade: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
98effac34a capsman-download-packages: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
d33dcf9f8a backup-upload: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
f9534756d0 backup-partition: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
961719e016 backup-email: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
02056855da backup-cloud: early exit with :exit 2026-07-29 23:14:42 +02:00
Christian Hesse
1d4b7cd77d mode-button: set dont-require-permissions
Actually this is a fixup for the RouterOS 7.24 changes.
2026-07-29 23:12:36 +02:00
Christian Hesse
306842ed74 global-functions: $ScriptInstallUpdate: match in one regular expression 2026-07-29 23:12:36 +02:00
Christian Hesse
4fd2d89320 global-functions: $ScriptInstallUpdate: drop the check for matching policies...
... as this started to produce false positives.
2026-07-29 23:12:36 +02:00
Christian Hesse
1ebbb7f3a7 global-functions: $ScriptInstallUpdate: support setting dont-require-permissions 2026-07-29 23:12:36 +02:00
Christian Hesse
a8c6aa90b6 global-functions: $ScriptInstallUpdate: support setting policy 2026-07-29 23:12:36 +02:00
Christian Hesse
cc644351b6 fw-addr-lists: fix list without certificate 2026-07-29 23:12:36 +02:00
Christian Hesse
deee37d918 update list of contributors 2026-07-27 21:38:30 +02:00
Filipe Santos
b6398422d0 netwatch-dns: fix :toarray on unset doh-cert
Co-authored-by: Christian Hesse <mail@eworm.de>
2026-07-27 21:35:12 +02:00
3 changed files with 3 additions and 2 deletions

View file

@ -20,6 +20,7 @@ for details!
* [Anatoly Bubenkov](mailto:bubenkoff@gmail.com) (@bubenkoff)
* [Ben Harris](mailto:mail@bharr.is) (@bharrisau)
* [Daniel Ziegenberg](mailto:daniel@ziegenberg.at) (@ziegenberg)
* [Filipe Santos](mailto:git@not.sh) (horjulf)
* [Ignacio Serrano](mailto:ignic@ignic.com) (@ignic)
* [Ilya Kulakov](mailto:kulakov.ilya@gmail.com) (@Kentzo)
* [Leonardo David Monteiro](mailto:leo@cub3.xyz) (@leosfsm)

View file

@ -70,7 +70,7 @@
:local Data false;
:local TimeOut [ $EitherOr [ :totime ($List->"timeout") ] $FwAddrListTimeOut ];
:foreach Cert in=[ :toarray delimiter=":" ($List->"cert") ] do={
:foreach Cert in=[ :toarray delimiter=":" [ :tostr ($List->"cert") ] ] do={
:if ([ :len ($Cert) ] > 0) do={
:set CheckCertificate true;
:if ([ $CertificateAvailable $Cert "fetch" ] = false) do={

View file

@ -99,7 +99,7 @@
}
:foreach DohServer in=$DohServers do={
:foreach DohCert in=[ :toarray delimiter=":" ($DohServer->"doh-cert") ] do={
:foreach DohCert in=[ :toarray delimiter=":" [ :tostr ($DohServer->"doh-cert") ] ] do={
:if ([ :len $DohCert ] > 0) do={
:if ([ $CertificateAvailable $DohCert "fetch" ] = false || \
[ $CertificateAvailable $DohCert "dns" ] = false) do={