aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2025-02-17global-functions: $ScriptInstallUpdate: also show commit infoGravatar Christian Hesse1-1/+2
2025-02-17global-functions: $DeviceInfo: also show commit infoGravatar Christian Hesse1-2/+4
2025-02-13global-functions: $RmFile: fix type safeguardGravatar Christian Hesse1-2/+2
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
2025-02-13global-functions: $ScriptInstallUpdate: show commit id (if available)Gravatar Christian Hesse1-0/+6
2025-02-13global-functions: $DeviceInfo: show commit id (if available)Gravatar Christian Hesse1-0/+4
2025-02-12mod/scriptrunonce: always give proper return codeGravatar Christian Hesse1-0/+3
2025-02-12mod/scriptrunonce: resolve nested conditionsGravatar Christian Hesse1-11/+10
2025-02-12mod/scriptrunonce: use $FetchHugeGravatar Christian Hesse1-5/+4
2025-02-12fw-addr-lists: add a collective list in default configurationchange-133Gravatar Christian Hesse4-2/+8
2025-02-12global-functions: $WaitForFile: check that we can get propertiesrouteros-7.18beta2-3Gravatar Christian Hesse1-1/+15
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. 🤞
2025-02-12introduce DEBUG infoGravatar Christian Hesse1-0/+49
2025-02-11global-functions: $MkDir: add debug outputGravatar Christian Hesse1-0/+3
2025-02-11fw-addr-lists: these lists are deprecated and discontinuedGravatar Christian Hesse4-37/+3
Any alternatives around?
2025-02-10doc/log-forward: mention ntfyGravatar Christian Hesse1-3/+3
2025-02-10doc/log-forward: add a hint on defaultsGravatar Christian Hesse1-0/+6
2025-02-10mod/notification-ntfy: use empty strings as default...Gravatar Christian Hesse1-3/+3
... which should be fine now that the credentials are not passed with fetch's properties, but as properly formatted authentication header.
2025-02-10log-forward: make empty string a special meaningGravatar Christian Hesse2-5/+10
2025-02-10Merge branch 'rmdir-rmfile' into nextrouteros-7.18beta2-2Gravatar Christian Hesse9-19/+91
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-10telegram-chat: use $RmDirGravatar Christian Hesse1-1/+2
2025-02-10mod/ssh-keys-import: use $RmDirGravatar Christian Hesse1-2/+3
2025-02-10check-certificates: use $RmFileGravatar Christian Hesse1-1/+2
2025-02-10capsman-download-packages: use $RmFileGravatar Christian Hesse3-3/+6
2025-02-10backup-upload: use $RmFileGravatar Christian Hesse1-3/+4
2025-02-10backup-upload: use $RmDirGravatar Christian Hesse1-1/+2
2025-02-10backup-cloud: use $RmDirGravatar Christian Hesse1-1/+2
2025-02-10global-functions: $MkDir: use $RmDirGravatar Christian Hesse1-1/+2
2025-02-10global-functions: $FetchHuge: use $RmDirGravatar Christian Hesse1-2/+3
2025-02-10global-functions: $FetchHuge: use $RmFileGravatar Christian Hesse1-1/+2
2025-02-10global-functions: $DownloadPackage: use $RmFileGravatar Christian Hesse1-1/+2
2025-02-10global-functions: $CertificateDownload: use $RmFileGravatar Christian Hesse1-2/+3
2025-02-10global-functions: $RmDir: fail on wrong typeGravatar Christian Hesse1-0/+5
2025-02-10global-functions: $RmFile: fail on wrong typeGravatar Christian Hesse1-0/+5
2025-02-07bump required RouterOS version for all scriptsrouteros-7.15-5Gravatar Christian Hesse108-108/+108
2025-02-07global-functions: $RmDir: add debug outputGravatar Christian Hesse1-0/+3
2025-02-07global-functions: $RmFile: add debug outputGravatar Christian Hesse1-0/+3
2025-02-07global-functions: introduce $RmDirGravatar Christian Hesse1-0/+21
2025-02-07global-functions: introduce $RmFileGravatar Christian Hesse1-0/+21
2025-02-07global-functions: $MkDir: create directory directly...routeros-7.15-4Gravatar Christian Hesse2-6/+4
... instead of file inside directory. This requires RouterOS 7.15, so bumping requirement.
2025-02-07packages-update: ignore available packagesrouteros-7.18beta2-1Gravatar Christian Hesse1-1/+1
This was introduced with RouterOS 7.18beta2 to list and install available packages. We do not want to install all of them. 😝
2025-02-06packages-update: disable random delay for backupGravatar Christian Hesse1-0/+4
2025-02-06packages-update: move configuration variables upGravatar Christian Hesse1-3/+3
2025-02-05check-health: split off plugins...change-132Gravatar Christian Hesse9-100/+239
... 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-05doc/netwatch-dns: warn on different certificate...Gravatar Christian Hesse1-0/+4
... 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-05doc/netwatch-dns: switch exmample to cloudflare-dns.comGravatar Christian Hesse1-2/+2
2025-02-05certs: dns.google switched to 'GTS Root R4'Gravatar Christian Hesse1-1/+1
Note that 8.8.8.8 is still at 'GTS Root R1'...
2025-02-04check-health: remove trailing whitespacesGravatar Christian Hesse1-10/+10
2025-02-04check-health: remove extra line breakGravatar Christian Hesse1-1/+0
2025-02-03doc/check-health: highligh note on bad initial stateGravatar Christian Hesse1-2/+4
2025-02-03check-certificates: check to characters for star-dotGravatar Christian Hesse1-1/+1
2025-01-31check-certificates: pass real and modified name into functionGravatar Christian Hesse1-9/+13
2025-01-31check-certificates: do not rename the wrong certificateGravatar Christian Hesse1-2/+4
2025-01-31check-certificates: try with "star." for renewal with wildcardsGravatar Christian Hesse1-0/+4
2025-01-30update list of contributorsGravatar Christian Hesse1-0/+1
2025-01-30certs: support checking ipv4 or ipv6 onlyGravatar Christian Hesse1-0/+8
Just run for IPv4 only: make NOIPV6=1 ... or for IPv6 only: make NOIPV4=1
2025-01-30certs: split checks for dual, ipv4 & ipv6...Gravatar Christian Hesse1-14/+34
... and check both if available.
2025-01-30certs: fix curl false positives...Gravatar Miquel Bonastre1-1/+1
... 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-30global-functions: $ScriptInstallUpdate: resolve more nested conditionsGravatar Christian Hesse1-10/+16
Just like the previous one.
2025-01-30global-functions: $ScriptInstallUpdate: resolve nested conditions...Gravatar Christian Hesse1-42/+49
... and check one after another in a do-block. This uses `:error` as poor man's continue. 🤪
2025-01-30Merge branch 'device-mode' into nextrouteros-7.17-1Gravatar Christian Hesse25-10/+53
2025-01-30update-tunnelbroker: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30unattended-lte-firmware-upgrade: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30telegram-chat: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30packages-update: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30netwatch-dns: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30mod/scriptrunonce: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30mod/notification-telegram: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30mod/notification-ntfy: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30mod/notification-matrix: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30mod/notification-email: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30mode-button: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30ipsec-to-dns: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30hotspot-to-wpa-cleanup: add dependencies on device-modeGravatar Christian Hesse3-0/+3
2025-01-30hotspot-to-wpa: add dependencies on device-modeGravatar Christian Hesse3-0/+3
2025-01-30gps-track: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30check-routeros-update: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30check-certificates: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30backup-upload: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30backup-partition: add dependencies on device-modeGravatar Christian Hesse1-0/+1
2025-01-30global-functions: $ScriptInstallUpdate: support checking for device-mode ↵Gravatar Christian Hesse1-10/+24
features
2025-01-29README: give hint on device modeGravatar Christian Hesse1-0/+6
2025-01-29Merge branch 'rsc-eworm-de' into nextGravatar Christian Hesse77-155/+155
2025-01-29update-tunnelbroker: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29update-gre-address: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29unattended-lte-firmware-upgrade: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29telegram-chat: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29super-mario-theme: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29sms-forward: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29sms-action: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29ppp-on-up: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29packages-update: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29ospf-to-leds: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29news-and-changes: use short url rsc.eworm.deGravatar Christian Hesse1-1/+1
2025-01-29netwatch-notify: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29netwatch-dns: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29mod/ssh-keys-import: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29mod/scriptrunonce: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29mod/notification-telegram: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29mod/notification-ntfy: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29mod/notification-matrix: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2
2025-01-29mod/notification-email: use short url rsc.eworm.deGravatar Christian Hesse1-2/+2