aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2020-07-14notify about hooks in netwatch-notifychange-20Gravatar Christian Hesse4-3/+4
2020-07-14notify about options in script commentschange-19Gravatar Christian Hesse4-3/+4
2020-07-14notify about $IPCalcchange-18Gravatar Christian Hesse4-3/+4
2020-07-14notify about early-errorschange-17Gravatar Christian Hesse4-3/+4
2020-07-14capsman-download-packages: wait to be fully connectedGravatar Christian Hesse2-3/+7
2020-07-14global-functions: $MailServerIsUp: do immediate checkGravatar Christian Hesse1-1/+9
2020-07-14sms-forward: wait to be fully connectedGravatar Christian Hesse1-1/+3
2020-07-14global-functions: $DNSIsResolving: try a domain that is unlikely to be cachedGravatar Christian Hesse1-1/+3
2020-07-07packages-update: add error handling, also run cloud-backupGravatar Christian Hesse1-2/+6
2020-07-07packages-update: do not install downgrade without confirmationGravatar Christian Hesse1-9/+24
2020-07-07doc/check-routeros-update: patch updatesGravatar Christian Hesse1-0/+4
2020-07-07check-routeros-update: send just one notificationGravatar Christian Hesse1-0/+5
2020-07-07check-routeros-update: log and print on available downgradeGravatar Christian Hesse1-0/+2
2020-07-07check-routeros-update: install update only, notification on downgradeGravatar Christian Hesse1-5/+14
2020-07-07check-routeros-update: support installing patch updates automaticallyGravatar Christian Hesse2-0/+16
2020-07-07global-functions: add $VersionToNumGravatar Christian Hesse1-0/+30
2020-07-06early-errors: exclude certificate messages•••This is most likely SCEP requests before network is up... Gravatar Christian Hesse1-1/+2
2020-07-06doc/netwatch-notify: document hooksGravatar Christian Hesse1-0/+6
2020-07-06netwatch-notify: add up hook for consistency•••Also this works around the permission/policy limitations in netwatch scripts. Gravatar Christian Hesse1-0/+4
2020-07-03netwatch-notify: add support for down hook•••Adding up-hook does not make sense... Just use netwatch's up-script for that. Gravatar Christian Hesse1-1/+6
2020-07-03mode-button-scheduler: drop useless variableGravatar Christian Hesse1-2/+1
2020-07-03dhcp-to-dns: allow to configure 'dhcp' prefix in zoneGravatar Christian Hesse2-4/+7
2020-07-02global-functions: $ScriptInstallUpdate: get base url and suffix from comment•••Just set 'base-url=https://example.com/...' and/or 'url-suffix=\h=branch' in comment to overwrite settings from global configuration. Gravatar Christian Hesse1-2/+6
2020-07-02global-functions: $ScriptInstallUpdate: support ignore from comment•••Just add 'ignore' in comment... Gravatar Christian Hesse1-0/+3
2020-07-02global-functions: $ParseKeyValueStore: allow equals sign in valueGravatar Christian Hesse1-4/+2
2020-07-02global-functions: $ParseKeyValueStore: key without value for boolean trueGravatar Christian Hesse1-2/+6
2020-06-30global-functions: do not initialize $Sent* variables•••The scripts work without initialization, removing this makes sure the value is not overwritten on global functions reload. Gravatar Christian Hesse1-3/+0
2020-06-30global-functions: $GetRandomNumber: limit at 2^32-1Gravatar Christian Hesse1-1/+1
2020-06-29global-functions: $GetRandomNumber: return 32bit number without limitGravatar Christian Hesse1-1/+4
2020-06-23global-functions: add $IPCalc•••[admin@MikroTik] > $IPCalc 192.168.88.188/20 Address: 192.168.88.188 Netmask: 255.255.240.0 Network: 192.168.80.0/20 HostMin: 192.168.80.1 HostMax: 192.168.95.254 Broadcast: 192.168.95.255 Gravatar Christian Hesse1-0/+17
2020-06-19explicitly name the license•••Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. https://www.gnu.org/licenses/#GPL https://www.gnu.org/licenses/gpl.html https://www.gnu.org/licenses/gpl.md Gravatar Christian Hesse57-1/+745
2020-06-18global-functions: $GetRandomNumber: use $GetRandomSha256Gravatar Christian Hesse1-6/+12
2020-06-18global-functions: rename $GetRandom -> $GetRandomNumberGravatar Christian Hesse1-4/+4
2020-06-18global-functions: add $GetRandomSha256Gravatar Christian Hesse1-0/+12
2020-06-10add certificate 'GTS CA 1O1'•••This is used by DNS over HTTPS services: https://dns.google/dns-query Gravatar Christian Hesse1-0/+47
2020-06-02dhcp-to-dns: add a marker for new recordsGravatar Christian Hesse2-1/+11
2020-05-27daily-psk: wait to be fully connectedGravatar Christian Hesse4-4/+10
2020-05-27early-errors: wait to be fully connectedGravatar Christian Hesse2-1/+4
2020-05-26doc/early-errors: use $WaitFullyConnectedGravatar Christian Hesse1-1/+1
2020-05-26doc/daily-psk: use $WaitFullyConnectedGravatar Christian Hesse1-1/+1
2020-05-26global-functions: add $WaitFullyConnectedGravatar Christian Hesse1-0/+12
2020-05-26global-functions: add $WaitDNSResolvingGravatar Christian Hesse1-0/+10
2020-05-26global-functions: add $DNSIsResolvingGravatar Christian Hesse1-0/+11
2020-05-26packages-update: accept lower and upper case charactersGravatar Christian Hesse1-2/+2
2020-05-26check-routeros-update: accept lower and upper case charactersGravatar Christian Hesse1-1/+1
2020-05-17global-functions: $WaitTimeSync: replace comment with debug outputGravatar Christian Hesse1-1/+2
2020-05-17global-functions: $DownloadPackage: replace comment with debug outputGravatar Christian Hesse1-1/+1
2020-05-17doc/sms-forward: add a hint on receiving smsGravatar Christian Hesse1-1/+4
2020-05-17sms-forward: warn and exit if receiving is not enabledGravatar Christian Hesse1-0/+4
2020-05-15global-functions: $MailServerIsUp: handle resolve errorsGravatar Christian Hesse1-1/+6
2020-05-15global-functions: $MailServerIsUp: remove duplicate defineGravatar Christian Hesse1-1/+0
2020-05-15global-functions: $MailServerIsUp: use prepared valueGravatar Christian Hesse1-1/+1
2020-05-15global-functions: $WaitTimeSync: run rotate-ntp less frequentlyGravatar Christian Hesse1-1/+1
2020-05-15rotate-ntp: log resolve errorsGravatar Christian Hesse1-2/+9
2020-05-13global-functions: $WaitTimeSync: failing rotate-ntp is not fatal•••Resolving ntp servers fais if internet connectivity is not established. So this is not fatal, we want to catch error and fall through, then continue. Gravatar Christian Hesse1-1/+5
2020-05-11doc/gps-track: add hint on coordinate formatGravatar Christian Hesse1-0/+3
2020-05-04README: warn about deprecated commands in presentationGravatar Christian Hesse1-0/+3
2020-05-04README: expect recent RouterOS•••RouterOS 6.43 can be considered obsolete these days. Gravatar Christian Hesse1-6/+3
2020-05-04global-functions: $ScriptInstallUpdate: log when reloading codeGravatar Christian Hesse1-0/+2
2020-05-04global-functions: $DownloadPackage: support downloading bundleGravatar Christian Hesse1-1/+1
2020-04-28doc/early-errors: also install global-waitGravatar Christian Hesse1-2/+2
2020-04-28doc/bridge-port: add command to install global-waitGravatar Christian Hesse1-0/+1
2020-04-24early-errors: ... and exclude dns messages•••Using DoH (DNS over HTTPS) results in a number of error messages before network becomes available: dns;error DoH server connection error: Network is unreachable Exclude these. Gravatar Christian Hesse1-1/+1
2020-04-24early-errors: ... but exclude e-mail messages•••Most likely these are just error and critical messages failed sending anyway. Gravatar Christian Hesse1-1/+1
2020-04-24early-errors: also include critical messagesGravatar Christian Hesse1-1/+1
2020-04-24early-errors: get errors into arrayGravatar Christian Hesse1-2/+3
2020-04-24doc/mode-button: the reset button can do the same•••... starting with RouterOS 6.47beta60. routeros-6.47beta60Gravatar Christian Hesse1-2/+8
2020-04-24INITIAL-COMMANDS: use function to rename certificatesGravatar Christian Hesse1-6/+4
2020-04-24check-certificates: exclude issued certificates on SCEP serverGravatar Christian Hesse1-16/+20
2020-04-24check-certificates: always use parenthesisGravatar Christian Hesse1-2/+2
2020-04-24check-certificates: add missing blankGravatar Christian Hesse1-1/+1
2020-04-24global-functions: $CertificateNameByCN: replace apostropheGravatar Christian Hesse1-1/+2
2020-04-22global-functions: add $WaitDefaultRouteReachableGravatar Christian Hesse1-0/+10
2020-04-22global-functions: add $DefaultRouteIsReachableGravatar Christian Hesse1-0/+9
2020-04-22global-functions: $TimeIsSync: unbreak with bundled ntp clientGravatar Christian Hesse1-3/+10
2020-04-19add script 'early-erros'Gravatar Christian Hesse3-0/+65
2020-04-07check-routeros-update: update notification wordingGravatar Christian Hesse1-1/+2
2020-04-07check-lte-firmware-upgrade: give current and available versionGravatar Christian Hesse1-1/+3
2020-04-07doc/capsman-rolling-upgrade: explain what happensGravatar Christian Hesse1-1/+4
2020-04-07doc/capsman-download-packages: document how to download packagesGravatar Christian Hesse1-1/+10
2020-04-07global-functions: $DownloadPackage: do not re-downloadGravatar Christian Hesse1-0/+5
2020-04-06capsman-download-packages: create package pathGravatar Christian Hesse1-0/+8
2020-04-03mode-button-event: use $LogPrintExitGravatar Christian Hesse1-2/+4
2020-04-03upload-backup: use $LogPrintExitGravatar Christian Hesse1-2/+2
2020-04-03cloud-backup: use $LogPrintExitGravatar Christian Hesse1-1/+2
2020-04-03check-health: use $LogPrintExitGravatar Christian Hesse1-1/+2
2020-04-03capsman-rolling-upgrade: use $LogPrintExitGravatar Christian Hesse1-2/+3
2020-04-03mode-button-scheduler: use $LogPrintExitGravatar Christian Hesse1-2/+4
2020-04-03packages-update: use $LogPrintExitGravatar Christian Hesse1-2/+2
2020-04-03sms-forward: use $LogPrintExitGravatar Christian Hesse1-1/+1
2020-04-03check-lte-firmware-upgrade: use $LogPrintExitGravatar Christian Hesse1-4/+5
2020-04-03update-gre-address: use $LogPrintExitGravatar Christian Hesse1-1/+3
2020-04-03gps-track: use $LogPrintExitGravatar Christian Hesse1-3/+5
2020-04-03global-functions: $SendTelegram: use $LogPrintExitGravatar Christian Hesse1-1/+1
2020-04-03global-functions: $SendEMail: use $LogPrintExitGravatar Christian Hesse1-1/+3
2020-04-03global-functions: $ScriptFromTerminal: use $LogPrintExitGravatar Christian Hesse1-1/+4
2020-04-03global-functions: $MailServerIsUp: use $LogPrintExitGravatar Christian Hesse1-1/+3
2020-04-03global-functions: $CertificateDownload: use $LogPrintExitGravatar Christian Hesse1-3/+4
2020-04-03global-functions: $CertificateAvailable: use $LogPrintExitGravatar Christian Hesse1-3/+6
2020-04-03global-functions: $SendTelegram: check status of certificate downloadGravatar Christian Hesse1-2/+5