Christian Hesse
4d0b4a1ff4
fw-addr-lists: these lists are deprecated and discontinued
...
Any alternatives around?
2025-02-11 14:30:14 +01:00
Christian Hesse
8af67af462
doc/log-forward: mention ntfy
2025-02-10 15:31:20 +01:00
Christian Hesse
da280586b5
doc/log-forward: add a hint on defaults
2025-02-10 15:31:20 +01:00
Christian Hesse
2e42f7963c
mod/notification-ntfy: use empty strings as default...
...
... which should be fine now that the credentials are not passed with
fetch's properties, but as properly formatted authentication header.
2025-02-10 15:23:50 +01:00
Christian Hesse
fc3beac83b
log-forward: make empty string a special meaning
2025-02-10 15:23:50 +01:00
Christian Hesse
fefe11d1e8
Merge branch 'rmdir-rmfile' into next
...
RouterOS 7.18beta2 comes with some severe issues in file handling,
probably racy conditions. Let's move file (and directory) removal to
functions, so errors can be caught and ignored 🤪 from a central place.
2025-02-10 15:23:50 +01:00
Christian Hesse
b156fc43cf
telegram-chat: use $RmDir
2025-02-10 15:23:50 +01:00
Christian Hesse
0fea300fea
mod/ssh-keys-import: use $RmDir
2025-02-10 15:23:50 +01:00
Christian Hesse
6570a84904
check-certificates: use $RmFile
2025-02-10 15:23:50 +01:00
Christian Hesse
63db96bdcc
capsman-download-packages: use $RmFile
2025-02-10 15:23:50 +01:00
Christian Hesse
88ff031368
backup-upload: use $RmFile
2025-02-10 15:23:50 +01:00
Christian Hesse
81ba47a07d
backup-upload: use $RmDir
2025-02-10 15:23:50 +01:00
Christian Hesse
d748b69142
backup-cloud: use $RmDir
2025-02-10 15:23:50 +01:00
Christian Hesse
f5f00b70e3
global-functions: $MkDir: use $RmDir
2025-02-10 15:23:50 +01:00
Christian Hesse
4760515add
global-functions: $FetchHuge: use $RmDir
2025-02-10 15:23:50 +01:00
Christian Hesse
d19b90df08
global-functions: $FetchHuge: use $RmFile
2025-02-10 15:23:50 +01:00
Christian Hesse
ea8ec6b580
global-functions: $DownloadPackage: use $RmFile
2025-02-10 15:23:50 +01:00
Christian Hesse
dbdf295244
global-functions: $CertificateDownload: use $RmFile
2025-02-10 15:23:50 +01:00
Christian Hesse
82020ddd73
global-functions: $RmDir: fail on wrong type
2025-02-10 15:23:50 +01:00
Christian Hesse
a8e5b5226b
global-functions: $RmFile: fail on wrong type
2025-02-10 15:23:50 +01:00
Christian Hesse
4bfb591fa0
bump required RouterOS version for all scripts
2025-02-07 17:44:41 +01:00
Christian Hesse
49d9fb1ffd
global-functions: $RmDir: add debug output
2025-02-07 17:44:41 +01:00
Christian Hesse
7233dea5bb
global-functions: $RmFile: add debug output
2025-02-07 17:44:41 +01:00
Christian Hesse
727495d9c4
global-functions: introduce $RmDir
2025-02-07 17:44:41 +01:00
Christian Hesse
4542c2b19e
global-functions: introduce $RmFile
2025-02-07 17:44:41 +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
dbdc3e4718
packages-update: ignore available packages
...
This was introduced with RouterOS 7.18beta2 to list and install available
packages. We do not want to install all of them. 😝
2025-02-07 17:16:37 +01:00
Christian Hesse
dafd95d44a
packages-update: disable random delay for backup
2025-02-06 21:26:39 +01:00
Christian Hesse
7b660d0952
packages-update: move configuration variables up
2025-02-06 21:24:20 +01:00
Christian Hesse
23d38927bc
check-health: split off plugins...
...
... from 'check-health', so the script works on all devices to monitor
CPU and RAM. The supported plugins for sensors in hardware are installed
automatically.
2025-02-05 14:39:59 +01:00
Christian Hesse
84ba3a463a
doc/netwatch-dns: warn on different certificate...
...
... based on indicated server name.
Currently this is true for 8.8.8.8 (GTS Root R1) and dns.google (GTS Root R4).
2025-02-05 10:00:26 +01:00
Christian Hesse
27c92b4382
doc/netwatch-dns: switch exmample to cloudflare-dns.com
2025-02-05 10:00:26 +01:00
Christian Hesse
6501c98c82
certs: dns.google switched to 'GTS Root R4'
...
Note that 8.8.8.8 is still at 'GTS Root R1'...
2025-02-05 10:00:26 +01:00
Christian Hesse
bfe5f20920
check-health: remove trailing whitespaces
2025-02-04 22:20:18 +01:00
Christian Hesse
3024b246b5
check-health: remove extra line break
2025-02-04 12:03:24 +01:00
Christian Hesse
61f3c26199
doc/check-health: highligh note on bad initial state
2025-02-03 14:36:25 +01:00
Christian Hesse
3ad7ccd3d6
check-certificates: check to characters for star-dot
2025-02-03 10:05:35 +01:00
Christian Hesse
eabe3f6e95
check-certificates: pass real and modified name into function
2025-01-31 21:40:51 +01:00
Christian Hesse
75e5ddec52
check-certificates: do not rename the wrong certificate
2025-01-31 13:09:22 +01:00
Christian Hesse
44d0c852f1
check-certificates: try with "star." for renewal with wildcards
2025-01-31 12:14:05 +01:00
Christian Hesse
0eb91b6bfa
update list of contributors
2025-01-30 22:50:07 +01:00
Christian Hesse
87fb70534f
certs: support checking ipv4 or ipv6 only
...
Just run for IPv4 only:
make NOIPV6=1
... or for IPv6 only:
make NOIPV4=1
2025-01-30 22:50:07 +01:00
Christian Hesse
fcb5347e33
certs: split checks for dual, ipv4 & ipv6...
...
... and check both if available.
2025-01-30 22:50:07 +01:00
Miquel Bonastre
aa294b4c67
certs: fix curl false positives...
...
... when default capath contains system certs
If curl has a default capath (debian 12 capath=/etc/ssl/certs)
it will add those certs and return ok to any valid https url,
defeating the intended use of the cacert option in the Makefile
that validates sites and certs.
To avoid that, adding option "--capath /dev/null" overrides
the default value, if any.
Closes: https://github.com/eworm-de/routeros-scripts/pull/88
2025-01-30 22:49:02 +01:00
Christian Hesse
414c83ef81
global-functions: $ScriptInstallUpdate: resolve more nested conditions
...
Just like the previous one.
2025-01-30 09:00:02 +01:00
Christian Hesse
8b19e74736
global-functions: $ScriptInstallUpdate: resolve nested conditions...
...
... and check one after another in a do-block. This uses `:error` as
poor man's continue. 🤪
2025-01-30 09:00:02 +01:00
Christian Hesse
3c8ec5169f
Merge branch 'device-mode' into next
2025-01-30 09:00:02 +01:00
Christian Hesse
d921af9a6b
update-tunnelbroker: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
9421566352
unattended-lte-firmware-upgrade: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
ef48b8d39e
telegram-chat: add dependencies on device-mode
2025-01-30 09:00:02 +01:00