Commit graph

2070 commits

Author SHA1 Message Date
Christian Hesse
75c41501c2 mod/notification-ntfy: rename scheduler 2023-11-14 22:35:23 +01:00
Christian Hesse
5c2454be8b mod/notification-matrix: rename scheduler 2023-11-14 22:35:06 +01:00
Christian Hesse
a5e2282d0f mod/notification-email: rename scheduler 2023-11-14 22:34:45 +01:00
Christian Hesse
f7c72b6ed9 packages-update: rename scheduler 2023-11-14 22:27:15 +01:00
Christian Hesse
4f04fa73fc mode-button: rename scheduler 2023-11-14 22:26:22 +01:00
Christian Hesse
0d530294f5 capsman-rolling-upgrade: update template comment 2023-11-14 17:34:26 +01:00
Christian Hesse
18360f92b3 capsman-download-packages: update template comment 2023-11-14 17:33:46 +01:00
Christian Hesse
690953e4c5 doc/collect-wireless-mac: fix copy-and-paste error 2023-11-14 15:13:12 +01:00
Christian Hesse
64bae1fd1b doc/capsman-download-packages: hint on cleanup 2023-11-14 14:10:02 +01:00
Christian Hesse
dcca53e449 hotspot-to-wpa: drop dead code 2023-11-14 10:41:01 +01:00
Christian Hesse
e36ac19c8b global-functions: drop $Read
... which is no longer required now that RouterOS 7.12beta1
provides /terminal/ask.
2023-11-09 15:42:07 +01:00
Christian Hesse
ebce360a4e doc/accesslist-duplicates: reference stable version 2023-11-09 15:42:07 +01:00
Christian Hesse
5b047223d1 accesslist-duplicates: use /terminal/ask
This was introduced in RouterOS 7.12beta1.
2023-11-09 15:42:07 +01:00
Christian Hesse
2d7efd8d6c mod/notification-matrix: introduce $SetupMatrix{Authenticate,JoinRoom} for setup
Well, now that we have a JSON parser... Let's improve the user
experience a bit.
2023-11-09 15:34:10 +01:00
Christian Hesse
59f8f30389 doc/mod/notification-telegram: end all commands with a semicolon 2023-11-09 15:34:10 +01:00
Christian Hesse
255fc531ad doc/mod/notification-ntfy: end all commands with a semicolon 2023-11-09 15:34:10 +01:00
Christian Hesse
2acc0aba7e doc/mod/notification-matrix: end all commands with a semicolon 2023-11-09 15:34:10 +01:00
Christian Hesse
0f3746c894 doc/mod/notification-email: end all commands with a semicolon 2023-11-09 15:34:10 +01:00
Christian Hesse
3cc41495bc doc/mod/ssh-keys-import: reference stable version 2023-11-09 15:34:10 +01:00
Christian Hesse
98d7eee454 mod/ssh-keys-import: continue import after intermediate failure 2023-11-09 15:34:10 +01:00
Christian Hesse
b22dfbfc94 mod/ssh-keys-import: do not import twice 2023-11-09 15:34:10 +01:00
Christian Hesse
042ff1cfda mod/ssh-keys-import: drop the version check for ed25519 keys...
... now that we require RouterOS 7.12beta1 anyway.
2023-11-09 15:18:09 +01:00
Christian Hesse
1265caca60 mod/ssh-keys-import: calculate fingerprint...
... and store it in key-owner, which is descriptive only.

This requires RouterOS 7.12beta1 for the 'transform' property
for ':convert' command.
2023-11-09 15:08:36 +01:00
Christian Hesse
c3045f3723 mod/ssh-keys-import: parse key into array 2023-11-07 14:31:59 +01:00
Christian Hesse
79f3002a38 README: print name with proplist for certificate verification 2023-11-07 14:31:59 +01:00
Christian Hesse
c2649ae832 README: reference stable version 2023-11-07 13:41:59 +01:00
Christian Hesse
fe2641ae0f global-functions: $ParseDate: drop code for old format...
... and increase required RouterOS.

We should probably wait some time before merging this: Even current
versions have some hidden places with old format:

[admin@MikroTik] > /system/resource/print
                     [...]
                  version: 7.10.2 (stable)
               build-time: Jul/12/2023 09:45:11
                     [...]

(Though this is written with capital letter and fails anyway...)

Something similar goes for `/ip/neighbor`, where format depends on
remote devices. Does anybody need to parse this?
2023-11-07 13:41:59 +01:00
Christian Hesse
4321d8fa54 netwatch-notify: match on word boundary 2023-10-27 22:55:40 +02:00
Christian Hesse
f60c72dc78 netwatch-dns: match on word boundary 2023-10-27 22:55:15 +02:00
Christian Hesse
a407332ea1 dhcp-to-dns: prepare string 'mac in server' 2023-10-27 22:46:47 +02:00
Christian Hesse
a769ed072b dhcp-to-dns: prepare full names for A and CNAME records 2023-10-27 22:34:52 +02:00
Christian Hesse
576364f44a dhcp-to-dns: info on mac address bound multiple time 2023-10-27 14:13:58 +02:00
Christian Hesse
c34599fe46 dhcp-to-dns: warn on duplicate names 2023-10-27 14:13:58 +02:00
Christian Hesse
3474b9a15c dhcp-to-dns: allow multiple records for one mac address
Now that we can have differnt name suffixes via networks it makes sense
to allow multiple records for one mac address.

Also update the wording for messages...
2023-10-27 14:13:58 +02:00
Christian Hesse
72b4851255 global-functions: introduce $LogPrintOnce
This does work just like $LogPrintExit2, except it acts just *once* for
each message, until device is rebooted.
2023-10-27 08:42:32 +02:00
Christian Hesse
dce779250c README: explain sensitive property 2023-10-26 22:15:10 +02:00
Christian Hesse
8f75c17e0b global: switch eworm.de to new certificate chain (E1 / ISRG Root X2)
old chain: R3 / ISRG Root X1
new chain: E1 / ISRG Root X2

No user interaction or migration is required for existing installations
as we install 'E1' and 'ISRG Root X2' for some time already.
2023-10-26 22:15:05 +02:00
Christian Hesse
61834297d7 global-functions: $ParseJson: prevent infinite loop...
... which could happen on corrupted or truncated input.
2023-10-25 08:57:39 +02:00
Christian Hesse
ff35f0c87f check-health: reverse logic for RAM (free -> utilization)...
... to bring it in sync with CPU utilization.

Also make the output more verbose, at least for the warning.

---- ✂️ ----
🗃️📈️ Health warning: RAM utilization

The RAM utilization on MikroTik is at 81%!

total:          64 MiB
used:           52 MiB
free:           11 MiB
---- ✂️ ----
🗃️📉️ Health recovery: RAM utilization

The RAM utilization on MikroTik decreased to 65%.
---- ✂️ ----
2023-10-24 17:03:12 +02:00
Christian Hesse
d4e5194a65 fw-addr-lists: rework the retry logic
... with increasing delay.
2023-10-19 21:17:03 +02:00
Christian Hesse
1f6040178f telegram-chat: rework the retry logic
... with increasing delay.
2023-10-19 21:13:04 +02:00
Christian Hesse
92b4af7b90 log-forward: keep the warning in subject for higher severity 2023-10-19 12:36:19 +02:00
Christian Hesse
b81f3850ae telegram-chat: log when sending notice 2023-10-19 09:19:34 +02:00
Christian Hesse
4c365c131d telegram-chat: drop extra conversion 2023-10-19 08:42:29 +02:00
Christian Hesse
9138c17f8c global-functions: $ParseJson: return array as ... array 😜
No need to assemble the string here, just to split it again later.
2023-10-19 08:42:29 +02:00
Christian Hesse
fffe0a3b50 telegram-chat: retry on fetch failure...
... and exit with a warning.
2023-10-17 21:37:13 +02:00
Christian Hesse
ab44377fb6 accesslist-duplicates: remove extra check
Why did we have that? Possibly for performance? Well, should not be a
problem now.
2023-10-17 14:05:03 +02:00
Christian Hesse
00e8766ce3 accesslist-duplicates: use another named array 2023-10-17 14:05:03 +02:00
Christian Hesse
8bfbc9dd7e accesslist-duplicates: use named array 2023-10-17 14:05:03 +02:00
Christian Hesse
0e83d2e317 daily-psk: use named array 2023-10-17 14:05:03 +02:00