Age | Commit message (Expand) | Author | Files | Lines |
3 hours | ipv6-update: check for availability of both variablesHEADstagingnextmain | Christian Hesse | 1 | -1/+1 |
3 hours | ipv6-update: ignore if prefix is no longer valid | Christian Hesse | 1 | -0/+8 |
4 days | Merge branch 'quote-file-name' into next•••This is required with RouterOS 7.18 now...
Well, probably the change was introduced with one of the
beta versions...
routeros-7.18-1 | Christian Hesse | 2 | -2/+2 |
4 days | mod/notification-telegram: $GetTelegramChatId: give thead id...•••... if message was sent to group's topic.
| Christian Hesse | 1 | -0/+3 |
4 days | INITIAL-COMMANDS: quote the certificate file name | Christian Hesse | 1 | -1/+1 |
4 days | mod/notification-telegram: $GetTelegramChatId: use last message | Christian Hesse | 1 | -4/+7 |
4 days | README: quote the certificate file name | Christian Hesse | 1 | -1/+1 |
4 days | Merge branch 'check-certificates' into next | Christian Hesse | 1 | -10/+15 |
5 days | check-certificates: try PKCS#12 before PEM...•••... as that is more likely to have a private key.
Is that true? 🤨
| Christian Hesse | 1 | -1/+1 |
5 days | check-certificates: simplify return from function...•••... and also break earch on success.
| Christian Hesse | 1 | -4/+2 |
5 days | check-certificates: ... and even more | Christian Hesse | 1 | -0/+3 |
5 days | check-certificates: add more debug output | Christian Hesse | 1 | -1/+3 |
5 days | check-certificates: drop dot from type...•••... and add it in file name.
| Christian Hesse | 1 | -2/+2 |
5 days | check-certificates: catch and ignore import error•••Hmm... 🤨 When was that runtime error introduced? I *think* it
worked before.
| Christian Hesse | 1 | -4/+6 |
6 days | mod/notification-telegram: introduce $GetTelegramChatIdchange-135 | Christian Hesse | 5 | -9/+52 |
6 days | telegram-chat: say hello when awaiting commands | Christian Hesse | 1 | -1/+2 |
6 days | global-functions: $DeviceInfo: add license level, re-order | Christian Hesse | 1 | -6/+9 |
6 days | Merge branch 'telegram-topics' into next | Christian Hesse | 6 | -16/+30 |
6 days | notify on support for Telegram group topicschange-134 | Christian Hesse | 2 | -1/+2 |
6 days | telegram-chat: support reply in group's topic | Christian Hesse | 1 | -4/+9 |
6 days | telegram-chat: make $IsReply a boolean...•••... and check for correct data type.
We need this for a group with topic feature enabled, as that variable is
set there, but is is an array.
| Christian Hesse | 1 | -2/+3 |
6 days | mod/notification-telegram: support sending to group's topic...•••... when a group has enabled the "Topics" feature.
| Christian Hesse | 3 | -2/+11 |
7 days | mod/notification-telegram: simplify the queue...•••... and pass http-data as a complete sting.
| Christian Hesse | 1 | -9/+7 |
12 days | global-functions: $WaitForFile: drop the warning on file handling breakage...•••... but keep the workaround for now - just to be sure.
routeros-7.18rc1-1 | Christian Hesse | 1 | -5/+1 |
14 days | global-functions: $ScriptInstallUpdate: also show commit info | Christian Hesse | 1 | -1/+2 |
14 days | global-functions: $DeviceInfo: also show commit info | Christian Hesse | 1 | -2/+4 |
2025-02-13 | global-functions: $RmFile: fix type safeguard•••Ups... 🫣
The type is not just literal 'file' - but what ever type the file is,
like 'backup', 'package', 'script', '.conf file', ...
So let's match those types we do *not* want to remove.
Fixes: https://github.com/eworm-de/routeros-scripts/issues/90
| Christian Hesse | 1 | -2/+2 |
2025-02-13 | global-functions: $ScriptInstallUpdate: show commit id (if available) | Christian Hesse | 1 | -0/+6 |
2025-02-13 | global-functions: $DeviceInfo: show commit id (if available) | Christian Hesse | 1 | -0/+4 |
2025-02-12 | mod/scriptrunonce: always give proper return code | Christian Hesse | 1 | -0/+3 |
2025-02-12 | mod/scriptrunonce: resolve nested conditions | Christian Hesse | 1 | -11/+10 |
2025-02-12 | mod/scriptrunonce: use $FetchHuge | Christian Hesse | 1 | -5/+4 |
2025-02-12 | fw-addr-lists: add a collective list in default configurationchange-133 | Christian Hesse | 4 | -2/+8 |
2025-02-12 | global-functions: $WaitForFile: check that we can get properties•••Looks like RouterOS 7.18beta2 brings more breakage. Having a file
available in listing is just the first step now. We also need to make
sure that the file properties are accessible... 🤪
I have seen this taking several tens of seconds at least... 🤪🤪 So
let's just try until we have properties available, or the file vanishes.
Reported as SUP-179200. 🤞
routeros-7.18beta2-3 | Christian Hesse | 1 | -1/+15 |
2025-02-12 | introduce DEBUG info | Christian Hesse | 1 | -0/+49 |
2025-02-11 | global-functions: $MkDir: add debug output | Christian Hesse | 1 | -0/+3 |
2025-02-11 | fw-addr-lists: these lists are deprecated and discontinued•••Any alternatives around?
| Christian Hesse | 4 | -37/+3 |
2025-02-10 | doc/log-forward: mention ntfy | Christian Hesse | 1 | -3/+3 |
2025-02-10 | doc/log-forward: add a hint on defaults | Christian Hesse | 1 | -0/+6 |
2025-02-10 | 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.
| Christian Hesse | 1 | -3/+3 |
2025-02-10 | log-forward: make empty string a special meaning | Christian Hesse | 2 | -5/+10 |
2025-02-10 | 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.
routeros-7.18beta2-2 | Christian Hesse | 9 | -19/+91 |
2025-02-10 | telegram-chat: use $RmDir | Christian Hesse | 1 | -1/+2 |
2025-02-10 | mod/ssh-keys-import: use $RmDir | Christian Hesse | 1 | -2/+3 |
2025-02-10 | check-certificates: use $RmFile | Christian Hesse | 1 | -1/+2 |
2025-02-10 | capsman-download-packages: use $RmFile | Christian Hesse | 3 | -3/+6 |
2025-02-10 | backup-upload: use $RmFile | Christian Hesse | 1 | -3/+4 |
2025-02-10 | backup-upload: use $RmDir | Christian Hesse | 1 | -1/+2 |
2025-02-10 | backup-cloud: use $RmDir | Christian Hesse | 1 | -1/+2 |
2025-02-10 | global-functions: $MkDir: use $RmDir | Christian Hesse | 1 | -1/+2 |
2025-02-10 | global-functions: $FetchHuge: use $RmDir | Christian Hesse | 1 | -2/+3 |
2025-02-10 | global-functions: $FetchHuge: use $RmFile | Christian Hesse | 1 | -1/+2 |
2025-02-10 | global-functions: $DownloadPackage: use $RmFile | Christian Hesse | 1 | -1/+2 |
2025-02-10 | global-functions: $CertificateDownload: use $RmFile | Christian Hesse | 1 | -2/+3 |
2025-02-10 | global-functions: $RmDir: fail on wrong type | Christian Hesse | 1 | -0/+5 |
2025-02-10 | global-functions: $RmFile: fail on wrong type | Christian Hesse | 1 | -0/+5 |
2025-02-07 | bump required RouterOS version for all scriptsrouteros-7.15-5 | Christian Hesse | 108 | -108/+108 |
2025-02-07 | global-functions: $RmDir: add debug output | Christian Hesse | 1 | -0/+3 |
2025-02-07 | global-functions: $RmFile: add debug output | Christian Hesse | 1 | -0/+3 |
2025-02-07 | global-functions: introduce $RmDir | Christian Hesse | 1 | -0/+21 |
2025-02-07 | global-functions: introduce $RmFile | Christian Hesse | 1 | -0/+21 |
2025-02-07 | global-functions: $MkDir: create directory directly...•••... instead of file inside directory. This requires RouterOS 7.15, so
bumping requirement.
routeros-7.15-4 | Christian Hesse | 2 | -6/+4 |
2025-02-07 | 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. 😝
routeros-7.18beta2-1 | Christian Hesse | 1 | -1/+1 |
2025-02-06 | packages-update: disable random delay for backup | Christian Hesse | 1 | -0/+4 |
2025-02-06 | packages-update: move configuration variables up | Christian Hesse | 1 | -3/+3 |
2025-02-05 | 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.
change-132 | Christian Hesse | 9 | -100/+239 |
2025-02-05 | 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).
| Christian Hesse | 1 | -0/+4 |
2025-02-05 | doc/netwatch-dns: switch exmample to cloudflare-dns.com | Christian Hesse | 1 | -2/+2 |
2025-02-05 | certs: dns.google switched to 'GTS Root R4'•••Note that 8.8.8.8 is still at 'GTS Root R1'...
| Christian Hesse | 1 | -1/+1 |
2025-02-04 | check-health: remove trailing whitespaces | Christian Hesse | 1 | -10/+10 |
2025-02-04 | check-health: remove extra line break | Christian Hesse | 1 | -1/+0 |
2025-02-03 | doc/check-health: highligh note on bad initial state | Christian Hesse | 1 | -2/+4 |
2025-02-03 | check-certificates: check to characters for star-dot | Christian Hesse | 1 | -1/+1 |
2025-01-31 | check-certificates: pass real and modified name into function | Christian Hesse | 1 | -9/+13 |
2025-01-31 | check-certificates: do not rename the wrong certificate | Christian Hesse | 1 | -2/+4 |
2025-01-31 | check-certificates: try with "star." for renewal with wildcards | Christian Hesse | 1 | -0/+4 |
2025-01-30 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2025-01-30 | certs: support checking ipv4 or ipv6 only•••Just run for IPv4 only:
make NOIPV6=1
... or for IPv6 only:
make NOIPV4=1
| Christian Hesse | 1 | -0/+8 |
2025-01-30 | certs: split checks for dual, ipv4 & ipv6...•••... and check both if available.
| Christian Hesse | 1 | -14/+34 |
2025-01-30 | 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
| Miquel Bonastre | 1 | -1/+1 |
2025-01-30 | global-functions: $ScriptInstallUpdate: resolve more nested conditions•••Just like the previous one.
| Christian Hesse | 1 | -10/+16 |
2025-01-30 | global-functions: $ScriptInstallUpdate: resolve nested conditions...•••... and check one after another in a do-block. This uses `:error` as
poor man's continue. 🤪
| Christian Hesse | 1 | -42/+49 |
2025-01-30 | Merge branch 'device-mode' into nextrouteros-7.17-1 | Christian Hesse | 25 | -10/+53 |
2025-01-30 | update-tunnelbroker: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | unattended-lte-firmware-upgrade: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | telegram-chat: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | packages-update: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | netwatch-dns: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | mod/scriptrunonce: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | mod/notification-telegram: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | mod/notification-ntfy: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | mod/notification-matrix: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | mod/notification-email: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | mode-button: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | ipsec-to-dns: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | hotspot-to-wpa-cleanup: add dependencies on device-mode | Christian Hesse | 3 | -0/+3 |
2025-01-30 | hotspot-to-wpa: add dependencies on device-mode | Christian Hesse | 3 | -0/+3 |
2025-01-30 | gps-track: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | check-routeros-update: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |
2025-01-30 | check-certificates: add dependencies on device-mode | Christian Hesse | 1 | -0/+1 |