Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-03-13 | capsman-download-packages: fix parameter for $RmFileHEADstagingmain | 3 | -3/+3 | ||
The function can not handle ids, we have to pass a name instead. | |||||
2025-03-13 | check-routeros-update: fix condition for license check | 1 | -1/+1 | ||
Turns out that `next-renewal-at` is moved forward when renewal failed, so it never matches the criteria. Just start complaining three weeks before deadline. | |||||
2025-03-12 | netwatch-notify: check matching address type only | 1 | -8/+12 | ||
2025-03-12 | netwatch-notify: increase the timeout even more | 1 | -2/+2 | ||
This interacts with the number of addresses in the address-list. Having a lot of addresses there (for exemple from script 'fw-addr-lists' ๐) makes the 'find' take longer. We have to make sure that 'find' succeeds before the address times out. As this does not hurt... Let's just bump to 10 seconds to be safe. | |||||
2025-03-12 | netwatch-notify: increase timeout... | 1 | -2/+2 | ||
... as a timeout of one second expires immediately. ๐คจ | |||||
2025-03-11 | fw-addr-lists: raw.githubusercontent.com requires 'USERTrust RSA โต | 3 | -2/+43 | ||
Certification Authority' now | |||||
2025-03-11 | check-routeros-update: check perpetual license... | 1 | -0/+21 | ||
... as these have to be renewed and can expire. | |||||
2025-03-11 | Merge branch 'fw-addr-lists' into next | 1 | -38/+59 | ||
2025-03-11 | fw-addr-lists: get branch from calculated checksum | 1 | -3/+8 | ||
The addresses were spread very uneven before. Let's calculate a checksum, and take the first two characters of that. The addresses are now spread evenly on 256 branches (0x00 to 0xff). | |||||
2025-03-11 | fw-addr-lists: two characters for branch | 1 | -3/+3 | ||
Using one character for IPv4 is ok (1 to 9), but IPv6 global unicase (2000::/3) results in just two different characters (2 and 3). So let's use first two characters... | |||||
2025-03-11 | fw-addr-lists: put addresses into "branches"... | 1 | -28/+37 | ||
... effectively adding another layer and some complexity, but: The addresses are sorted inside the array, and sorting less addresses in a branch saves a lot of processing power. So this is a lot faster now... | |||||
2025-03-11 | fw-addr-lists: strip cidr for host addresses | 1 | -0/+6 | ||
This makes sure the addresses match later when we read them from address-list for renew. | |||||
2025-03-11 | fw-addr-lists: do not clean up | 1 | -2/+0 | ||
Cleanup is important on renew (so the script does not attempt to re-add), but we do not care here. | |||||
2025-03-06 | fw-addr-lists: put timeout into variable | 1 | -6/+8 | ||
2025-03-06 | DEBUG: add info on $LogPrintVerbose | 2 | -0/+15 | ||
2025-03-06 | fw-addr-lists: use $LogPrintVerbose ... | 1 | -6/+7 | ||
... to reduce debug output and speed up execution. | |||||
2025-03-06 | global-functions: introduce $LogPrintVerbose ... | 1 | -0/+3 | ||
... which is a declared function, but has no code, intentionally. It can be called as a no-op by default. If you want this output set the function to be the same as $LogPrint: :set LogPrintVerbose $LogPrint; | |||||
2025-03-06 | Merge branch 'checksums' into next | 1 | -3/+22 | ||
2025-03-06 | global-functions: $ScriptInstallUpdate: checksum only for same source | 1 | -1/+2 | ||
So ignore if script is fetched from different base or with different suffix. | |||||
2025-03-06 | global-functions: $ScriptInstallUpdate: simplify check | 1 | -2/+1 | ||
This one should suffice... | |||||
2025-03-06 | global-functions: $ScriptInstallUpdate: put checksum into variable | 1 | -2/+3 | ||
2025-03-06 | global-functions: $ScriptInstallUpdate: support checksums for CRLF scripts | 1 | -1/+2 | ||
2025-03-06 | global-functions: $ScriptInstallUpdate: get and compare checksums | 1 | -0/+13 | ||
The file 'checksums.json' is generated when deploying to my web server... This should speed up the update a lot as it reduces downloads to a minimum. ๐๐ | |||||
2025-03-05 | global-functions: $ScriptInstallUpdate: move code into block | 1 | -3/+7 | ||
2025-03-03 | ipv6-update: check for availability of both variables | 1 | -1/+1 | ||
2025-03-03 | ipv6-update: ignore if prefix is no longer valid | 1 | -0/+8 | ||
2025-02-27 | Merge branch 'quote-file-name' into nextrouteros-7.18-1 | 2 | -2/+2 | ||
This is required with RouterOS 7.18 now... Well, probably the change was introduced with one of the beta versions... | |||||
2025-02-27 | mod/notification-telegram: $GetTelegramChatId: give thead id... | 1 | -0/+3 | ||
... if message was sent to group's topic. | |||||
2025-02-27 | INITIAL-COMMANDS: quote the certificate file name | 1 | -1/+1 | ||
2025-02-27 | mod/notification-telegram: $GetTelegramChatId: use last message | 1 | -4/+7 | ||
2025-02-27 | README: quote the certificate file name | 1 | -1/+1 | ||
2025-02-27 | Merge branch 'check-certificates' into next | 1 | -10/+15 | ||
2025-02-26 | check-certificates: try PKCS#12 before PEM... | 1 | -1/+1 | ||
... as that is more likely to have a private key. Is that true? ๐คจ | |||||
2025-02-26 | check-certificates: simplify return from function... | 1 | -4/+2 | ||
... and also break earch on success. | |||||
2025-02-26 | check-certificates: ... and even more | 1 | -0/+3 | ||
2025-02-26 | check-certificates: add more debug output | 1 | -1/+3 | ||
2025-02-26 | check-certificates: drop dot from type... | 1 | -2/+2 | ||
... and add it in file name. | |||||
2025-02-26 | check-certificates: catch and ignore import error | 1 | -4/+6 | ||
Hmm... ๐คจ When was that runtime error introduced? I *think* it worked before. | |||||
2025-02-25 | mod/notification-telegram: introduce $GetTelegramChatIdchange-135 | 5 | -9/+52 | ||
2025-02-25 | telegram-chat: say hello when awaiting commands | 1 | -1/+2 | ||
2025-02-25 | global-functions: $DeviceInfo: add license level, re-order | 1 | -6/+9 | ||
2025-02-25 | Merge branch 'telegram-topics' into next | 6 | -16/+30 | ||
2025-02-25 | notify on support for Telegram group topicschange-134 | 2 | -1/+2 | ||
2025-02-25 | telegram-chat: support reply in group's topic | 1 | -4/+9 | ||
2025-02-25 | telegram-chat: make $IsReply a boolean... | 1 | -2/+3 | ||
... 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. | |||||
2025-02-25 | mod/notification-telegram: support sending to group's topic... | 3 | -2/+11 | ||
... when a group has enabled the "Topics" feature. | |||||
2025-02-24 | mod/notification-telegram: simplify the queue... | 1 | -9/+7 | ||
... and pass http-data as a complete sting. | |||||
2025-02-19 | global-functions: $WaitForFile: drop the warning on file handling breakage...routeros-7.18rc1-1 | 1 | -5/+1 | ||
... but keep the workaround for now - just to be sure. | |||||
2025-02-17 | global-functions: $ScriptInstallUpdate: also show commit info | 1 | -1/+2 | ||
2025-02-17 | global-functions: $DeviceInfo: also show commit info | 1 | -2/+4 | ||
2025-02-13 | global-functions: $RmFile: fix type safeguard | 1 | -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-13 | global-functions: $ScriptInstallUpdate: show commit id (if available) | 1 | -0/+6 | ||
2025-02-13 | global-functions: $DeviceInfo: show commit id (if available) | 1 | -0/+4 | ||
2025-02-12 | mod/scriptrunonce: always give proper return code | 1 | -0/+3 | ||
2025-02-12 | mod/scriptrunonce: resolve nested conditions | 1 | -11/+10 | ||
2025-02-12 | mod/scriptrunonce: use $FetchHuge | 1 | -5/+4 | ||
2025-02-12 | fw-addr-lists: add a collective list in default configurationchange-133 | 4 | -2/+8 | ||
2025-02-12 | global-functions: $WaitForFile: check that we can get propertiesrouteros-7.18beta2-3 | 1 | -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-12 | introduce DEBUG info | 1 | -0/+49 | ||
2025-02-11 | global-functions: $MkDir: add debug output | 1 | -0/+3 | ||
2025-02-11 | fw-addr-lists: these lists are deprecated and discontinued | 4 | -37/+3 | ||
Any alternatives around? | |||||
2025-02-10 | doc/log-forward: mention ntfy | 1 | -3/+3 | ||
2025-02-10 | doc/log-forward: add a hint on defaults | 1 | -0/+6 | ||
2025-02-10 | mod/notification-ntfy: use empty strings as default... | 1 | -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-10 | log-forward: make empty string a special meaning | 2 | -5/+10 | ||
2025-02-10 | Merge branch 'rmdir-rmfile' into nextrouteros-7.18beta2-2 | 9 | -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-10 | telegram-chat: use $RmDir | 1 | -1/+2 | ||
2025-02-10 | mod/ssh-keys-import: use $RmDir | 1 | -2/+3 | ||
2025-02-10 | check-certificates: use $RmFile | 1 | -1/+2 | ||
2025-02-10 | capsman-download-packages: use $RmFile | 3 | -3/+6 | ||
2025-02-10 | backup-upload: use $RmFile | 1 | -3/+4 | ||
2025-02-10 | backup-upload: use $RmDir | 1 | -1/+2 | ||
2025-02-10 | backup-cloud: use $RmDir | 1 | -1/+2 | ||
2025-02-10 | global-functions: $MkDir: use $RmDir | 1 | -1/+2 | ||
2025-02-10 | global-functions: $FetchHuge: use $RmDir | 1 | -2/+3 | ||
2025-02-10 | global-functions: $FetchHuge: use $RmFile | 1 | -1/+2 | ||
2025-02-10 | global-functions: $DownloadPackage: use $RmFile | 1 | -1/+2 | ||
2025-02-10 | global-functions: $CertificateDownload: use $RmFile | 1 | -2/+3 | ||
2025-02-10 | global-functions: $RmDir: fail on wrong type | 1 | -0/+5 | ||
2025-02-10 | global-functions: $RmFile: fail on wrong type | 1 | -0/+5 | ||
2025-02-07 | bump required RouterOS version for all scriptsrouteros-7.15-5 | 108 | -108/+108 | ||
2025-02-07 | global-functions: $RmDir: add debug output | 1 | -0/+3 | ||
2025-02-07 | global-functions: $RmFile: add debug output | 1 | -0/+3 | ||
2025-02-07 | global-functions: introduce $RmDir | 1 | -0/+21 | ||
2025-02-07 | global-functions: introduce $RmFile | 1 | -0/+21 | ||
2025-02-07 | global-functions: $MkDir: create directory directly...routeros-7.15-4 | 2 | -6/+4 | ||
... instead of file inside directory. This requires RouterOS 7.15, so bumping requirement. | |||||
2025-02-07 | packages-update: ignore available packagesrouteros-7.18beta2-1 | 1 | -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-06 | packages-update: disable random delay for backup | 1 | -0/+4 | ||
2025-02-06 | packages-update: move configuration variables up | 1 | -3/+3 | ||
2025-02-05 | check-health: split off plugins...change-132 | 9 | -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-05 | doc/netwatch-dns: warn on different certificate... | 1 | -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-05 | doc/netwatch-dns: switch exmample to cloudflare-dns.com | 1 | -2/+2 | ||
2025-02-05 | certs: dns.google switched to 'GTS Root R4' | 1 | -1/+1 | ||
Note that 8.8.8.8 is still at 'GTS Root R1'... | |||||
2025-02-04 | check-health: remove trailing whitespaces | 1 | -10/+10 | ||
2025-02-04 | check-health: remove extra line break | 1 | -1/+0 | ||
2025-02-03 | doc/check-health: highligh note on bad initial state | 1 | -2/+4 | ||
2025-02-03 | check-certificates: check to characters for star-dot | 1 | -1/+1 | ||
2025-01-31 | check-certificates: pass real and modified name into function | 1 | -9/+13 | ||
2025-01-31 | check-certificates: do not rename the wrong certificate | 1 | -2/+4 | ||
2025-01-31 | check-certificates: try with "star." for renewal with wildcards | 1 | -0/+4 | ||