Commit graph

165 commits

Author SHA1 Message Date
Christian Hesse
b65f3512d0 README: add scheduler with start-time=startup 2025-11-20 14:03:00 +01:00
Christian Hesse
2feaaf36b2 README: highlight the long way for first time users with hint 2025-11-20 11:26:59 +01:00
Christian Hesse
30743c0e87 README: mention broken installation for initial commands 2025-11-20 11:26:59 +01:00
Christian Hesse
725eb834f4 README: link the long way in detail 2025-11-20 11:26:59 +01:00
Christian Hesse
b285f2c5d2 global-functions: add and fix global scheduler automatically...
... and also adjust README and INITIAL-COMMANDS.
2025-11-20 11:26:59 +01:00
Christian Hesse
05f0838119 README: install from rsc.eworm.de 2025-11-20 11:26:59 +01:00
Christian Hesse
cbb282746f README: add a sub-section for code hosting 2025-11-20 09:48:35 +01:00
Christian Hesse
a2250a00e6 README: add the upstream url verbatim 2025-11-19 16:19:59 +01:00
Christian Hesse
c6cc8b9a51 README: move the QR code 2025-11-19 16:19:59 +01:00
Christian Hesse
1a1399d302 README: support new builtin-trust-store...
... which was introduced with RouterOS 7.21beta7.
2025-11-19 16:19:59 +01:00
Christian Hesse
d100cac9ed README: add a line break before command 2025-11-13 12:03:37 +01:00
Christian Hesse
c88953e44d README: fix typo
We had it there since 39d1027d697c09ec709a1b847a185ccff3b00540... 😜
2025-11-07 22:11:25 +01:00
Christian Hesse
d59c4aee26 README: add a paragraph and link to jump 2025-05-28 14:16:57 +02:00
Christian Hesse
3d3b270748 README: give a hint on builtin certificate store
I guess this should become the default any time in future...
2025-05-28 14:07:57 +02:00
Leonardo David Monteiro
0717ebfbd5 introduce mod/notification-gotify...
... for sending notifications via Gotify (https://gotify.net).

Closes: https://github.com/eworm-de/routeros-scripts/pull/92

Co-authored-by: Christian Hesse <mail@eworm.de>
2025-05-03 22:11:22 +02:00
Christian Hesse
fe64918118 README: add disclaimer on external links 2025-04-29 10:53:26 +02:00
Christian Hesse
405c329f39 README: mark all external links 2025-04-24 23:24:25 +02:00
Christian Hesse
b78df91b23 README: and another hint on RouterOS version 2025-04-17 22:22:05 +02:00
Christian Hesse
2cc47f56b9 README: give the script names 2025-04-02 11:32:24 +02:00
Christian Hesse
3c30276e23 check-routeros-update: split off check-perpetual-license...
... and also add documentation, screenshot, etc.
2025-04-01 17:39:50 +02:00
Christian Hesse
b11be59b08 README: quote the certificate file name 2025-02-27 10:52:52 +01:00
Christian Hesse
0fb5fd0323 global-functions: $MkDir: create directory directly...
... instead of file inside directory. This requires RouterOS 7.15, so
bumping requirement.
2025-02-07 17:44:32 +01:00
Christian Hesse
106a9bddef README: give hint on device mode 2025-01-29 22:20:41 +01:00
Christian Hesse
342d459436 README: match the certificate file name from Let's Encrypt website...
... so import from manually downloaded and transferred file works
out of the box as well.
2024-08-19 15:06:32 +02:00
Christian Hesse
c28574b8f4 README: make the QR code a link 2024-08-19 10:35:37 +02:00
Christian Hesse
22d93d0708 README: drop command to remove certificate file...
... as this is done automatically with RouterOS 7.15rc1 and later.

Not bumping the required RouterOS version (badge) here... Worst thing
that can happen is a stale certificate file left on storage.
2024-07-25 09:11:26 +02:00
Christian Hesse
0101b56bff README: use :tocrlf to convert global-config-overlay 2024-07-16 13:50:22 +02:00
Christian Hesse
d1693a241b certs: E1 / E5 -> ISRG Root X2
In the beginning of Let's Encrypt their root certificate ISRG Root X1
was not widely trusted, at least some older and/or mobile platforms were
missing that certificate in their root certificate store.
At that time Let's Encrypt was using an alternative chain of trust,
where a certificate was cross-signed with DST Root CA X3.

To make sure a valid chain of trust is available under all circumstances
a set of all certificates had to be supplied: both root vertificates
ISRG Root X1 & DST Root CA X3, and an intermediate certificate.
This was still true after DST Root CA X3 expired, as it could still be
used as a root anchor and was shipped by Let's Encrypt when requested. 🤪

This time is finally over, and we have a clean chain for trust ending in
ISRG Root X1 (or ISRG Root X2).
Well, actually it is the other way round... Let's Encrypt signs with
different tantamount intermediate certificates. There is not only E5, but
also E6 - and we can not know beforehand which one is used on renew.

So let's jetzt drop the intermediate certificates now, and rely on root
certificates only. We are perfectly fine with this these days.

Follow-up commits will do the same for *all* certificates.

The certificate is downloaded with:

    curl -d '["ISRG Root X2"]' https://mkcert.org/generate/ | grep -v '^$' > certs/ISRG-Root-X2.pem
2024-06-21 15:55:45 +02:00
Christian Hesse
76dd069fa6 Let's Encrypt changed their intermediate certificates
https://letsencrypt.org/2024/03/19/new-intermediate-certificates
https://letsencrypt.org/certificates/

But let's keep the old ones around for now, as some sites are still
using the old intermediate.
2024-06-19 09:29:23 +02:00
Christian Hesse
b0e4449e4f README: show fingerprints in output
This is not scrictly necessary, as we filter by fingerprint already...
But it gives better overview and feeling.
2024-04-19 13:17:09 +02:00
Christian Hesse
de8da38a0c README: remove left over certificate file
But use find as RouterOS 7.15rc1 removes it automatically.
2024-04-19 13:17:09 +02:00
Christian Hesse
5323052290 global-functions: introduce $FetchHuge 2024-04-06 00:43:39 +02:00
netravnen
1d8347d8ea README: add start-time & change interval in scheduler example
Set the interval to once a day, Instead of every 1 hour.

Add start-time to start-up. Thereby introducing randomization based on when
the user last rebooted there device. As the interval is counted based on last
boot time.
2024-04-04 21:13:37 +02:00
Christian Hesse
2cf4f333d4 README: add QR code with (shortened) upstream url 2024-03-15 11:26:44 +01:00
Christian Hesse
a7cb3e520a global-config: support loading snippets
This adds support for loading snippets, which need a name starting with
"global-config-overlay.d/". This allows to split off configuration if
desired.
2024-03-12 20:36:21 +01:00
Christian Hesse
ccd7e6d1ed README: note on required hardware and limitations by storage 2024-01-30 00:02:08 +01:00
Christian Hesse
693b203457 README: make required software a paragraph 2024-01-30 00:02:08 +01:00
Christian Hesse
a1abfedccd global-functions: $RandomDelay: always scale to ms...
... to randomize in friction of unit.

This requires :tonsec from RouterOS 7.12.
2024-01-30 00:02:08 +01:00
Christian Hesse
306269f919 doc/hotspot-to-wpa: reference as WPA only...
... as this works with WPA3 as well. 😜
2024-01-18 10:05:29 +01:00
Christian Hesse
60bd9d1abc README: set script owner on initial creation 2024-01-16 22:00:13 +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
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
5932586ee4 introduce mod/notification-ntfy...
... for sending notifications via Ntfy (https://ntfy.sh/).

TODO: use proper formatting once supported in Android app:
https://github.com/binwiederhier/ntfy/issues/889
2023-10-17 14:05:03 +02:00
Christian Hesse
3ed124a013 README: reference stable version 2023-06-28 11:29:02 +02:00
Christian Hesse
5db9a71802 global-functions: $MkDir: drop old code with smb workaround...
... and increase required RouterOS.
2023-06-28 11:29:02 +02:00
Christian Hesse
4e411728e6 README: link the RouterOS button to changelog 2023-06-27 17:27:13 +02:00
Christian Hesse
e19e33d0a8 introduce fw-addr-lists 2023-06-13 20:26:55 +02:00