Age | Commit message (Expand) | Author | Files | Lines |
2020-03-27 | add doc/capsman-download-packages.md | Christian Hesse | 2 | -0/+52 |
2020-03-27 | add doc/bridge-port.md | Christian Hesse | 3 | -0/+86 |
2020-03-27 | add doc/accesslist-duplicates.md | Christian Hesse | 4 | -0/+52 |
2020-03-27 | drop doc/template.md | Christian Hesse | 1 | -46/+0 |
2020-03-26 | start news items with capital letter | Christian Hesse | 1 | -14/+14 |
2020-03-26 | README: unify markup | Christian Hesse | 1 | -2/+4 |
2020-03-24 | check-health: add fancy unicode symbols | Christian Hesse | 1 | -4/+4 |
2020-03-24 | check-routeros-update: add fancy unicode symbol | Christian Hesse | 1 | -1/+1 |
2020-03-24 | netwatch-notify: add fancy unicode symbols•••https://www.compart.com/de/unicode/block/U+2700
| Christian Hesse | 1 | -2/+2 |
2020-03-24 | netwatch-notify: report the number of checks a host was down | Christian Hesse | 1 | -1/+3 |
2020-03-23 | completely replace script-updates with $ScriptInstallUpdatechange-14 | Christian Hesse | 7 | -145/+142 |
2020-03-20 | check-certificates: exclude certificates issued by SCEP | Christian Hesse | 1 | -2/+2 |
2020-03-20 | move template to sub directory | Christian Hesse | 1 | -3/+2 |
2020-03-20 | convert initial commands from script to page•••This is not intended for installation...
| Christian Hesse | 3 | -24/+32 |
2020-03-20 | add certificate 'DigiCert ECC Secure Server CA'•••This is used by DNS over HTTPS services:
https://cloudflare-dns.com/dns-query
https://dns9.quad9.net/dns-query (secured)
https://dns10.quad9.net/dns-query (unsecured)
https://github.com/curl/curl/wiki/DNS-over-HTTPS
| Christian Hesse | 1 | -0/+44 |
2020-03-20 | certificate-renew-issued: log action | Christian Hesse | 1 | -0/+5 |
2020-03-20 | certificate-renew-issued: support auto-export with given passphrases | Christian Hesse | 2 | -0/+14 |
2020-03-20 | global-functions: introduce $MkDir•••This is a dirty hack... RouterOS does not support creating directories,
so we mis-use http server and fetch tool.
| Christian Hesse | 1 | -0/+18 |
2020-03-12 | add script 'global-wait'•••Run this in schedulers that fire on startup without interval. Schedulers
should look something like this:
/ system scheduler {
add name=global-scripts on-event="/ system script { run global-config; run global-config-overlay; run global-functions; }" start-time=startup;
add name=bridge-port-to-default on-event="/ system script { run global-wait; run bridge-port-to-default; }" start-time=startup;
}
| Christian Hesse | 3 | -2/+17 |
2020-03-09 | check-health: add encoded degree sign | Christian Hesse | 1 | -2/+2 |
2020-03-09 | hotspot-to-wpa: unbreak options | Christian Hesse | 1 | -1/+1 |
2020-03-09 | global-functions: $DeviceInfo: more indention | Christian Hesse | 1 | -5/+5 |
2020-03-05 | script-updates: also consider scripts with empty source for update | Christian Hesse | 1 | -1/+1 |
2020-03-05 | netwatch-notify: add logging | Christian Hesse | 1 | -0/+4 |
2020-03-05 | netwatch-notify: fix handling of array•••Looks like handling of more-dimensional arrays is a bit tricky in
RouterOS... Without this *all* values with the same key name are
updated, independent of intermediate name.
| Christian Hesse | 1 | -8/+10 |
2020-03-05 | global-functions: $SendEMail: invert condition | Christian Hesse | 1 | -11/+13 |
2020-03-05 | global-functions: $SendTelegram: invert condition | Christian Hesse | 1 | -10/+12 |
2020-03-05 | global-functions: $SendTelegram: allow to override chatid•••This allows to send Telegram messages to different contact or group.
Use something like this:
/system scheduler add name=netwatch-notify interval=1m start-time=startup \
on-event=":global TelegramChatIdOverride \"-1234\"; / system script run netwatch-notify; :set TelegramChatIdOverride;"
| Christian Hesse | 1 | -2/+8 |
2020-03-05 | rotate-ntp: use $LogPrintExit | Christian Hesse | 1 | -2/+4 |
2020-03-05 | bridge-port-to-default: use $LogPrintExit for debug | Christian Hesse | 1 | -1/+1 |
2020-03-05 | always use severity 'warning', not just 'warn' | Christian Hesse | 4 | -5/+5 |
2020-03-05 | hotspot-to-wpa: use $LogPrintExit and add more logging | Christian Hesse | 1 | -1/+6 |
2020-03-05 | check-routeros-update: use $LogPrintExit | Christian Hesse | 1 | -5/+4 |
2020-03-05 | check-certificates: use $LogPrintExit for debug | Christian Hesse | 1 | -5/+5 |
2020-03-05 | script-updates: use $LogPrintExit for debug | Christian Hesse | 1 | -4/+4 |
2020-03-05 | dhcp-to-dns: fix value in message | Christian Hesse | 1 | -1/+1 |
2020-03-05 | dhcp-to-dns: use $LogPrintExit | Christian Hesse | 1 | -7/+8 |
2020-03-05 | dhcp-lease-comment: use $LogPrintExit | Christian Hesse | 3 | -3/+9 |
2020-03-05 | daily-psk: use $LogPrintExit | Christian Hesse | 3 | -8/+11 |
2020-03-05 | collect-wireless-mac: use $LogPrintExit | Christian Hesse | 3 | -12/+15 |
2020-03-05 | netwatch-notify: properly initialize default values | Christian Hesse | 1 | -1/+1 |
2020-03-05 | global-functions: $LogPrintExit: add debugging option | Christian Hesse | 1 | -7/+12 |
2020-03-04 | netwatch-notify: use another level of array | Christian Hesse | 1 | -6/+11 |
2020-03-04 | add script netwatch-notify | Christian Hesse | 1 | -0/+34 |
2020-03-03 | bridge-port-to-default: use $ParseKeyValueStore...•••... and unbreak last commit removing delay (69352c90).
This requires a change in configuration syntax. Change this...
comment="default:br-local, alt:br-guest"
to...
comment="default=br-local, alt=br-guest"
change-13 | Christian Hesse | 5 | -7/+8 |
2020-03-03 | bridge-port-to-default: use $LogPrintExit | Christian Hesse | 1 | -3/+5 |
2020-02-28 | global-functions: sort alphabetically | Christian Hesse | 17 | -313/+312 |
2020-02-27 | global-functions: $ScriptLock: use $LogPrintExit | Christian Hesse | 1 | -2/+3 |
2020-02-26 | global-functions: merge $LogAnd{Error,Put} to $LogPrintExit ...•••... and fix logging.
Logging with severity from variable (:log $severity ...) is not
possible, this is considered a syntax error. Also the 'workaround' with
parsing code failed with missing message in log.
The reliable code is a lot longer, so merge the two functions to save a
lot of duplicate code.
| Christian Hesse | 13 | -56/+56 |
2020-02-26 | packages-update: use $LogAndError | Christian Hesse | 1 | -6/+3 |
2020-02-26 | check-certificates: use $LogAndPut | Christian Hesse | 1 | -2/+3 |
2020-02-26 | check-certificates: use $LogAndError | Christian Hesse | 1 | -2/+1 |
2020-02-26 | script-updates: use $LogAndPut | Christian Hesse | 1 | -6/+7 |
2020-02-26 | global-functions: introduce $LogAndPut | Christian Hesse | 1 | -0/+10 |
2020-02-26 | global-functions: $LogAndError: add severity | Christian Hesse | 12 | -15/+16 |
2020-02-26 | hotspot-to-wpa: automatically add missing access-list entry | Christian Hesse | 1 | -4/+4 |
2020-02-26 | upload-backup: use $LogAndError | Christian Hesse | 1 | -2/+2 |
2020-02-26 | update-tunnelbroker: use $LogAndError | Christian Hesse | 1 | -2/+2 |
2020-02-26 | email-backup: use $LogAndError | Christian Hesse | 1 | -2/+2 |
2020-02-26 | ipv6-update: use $LogAndError | Christian Hesse | 1 | -2/+2 |
2020-02-26 | check-certificates: use $LogAndError | Christian Hesse | 1 | -2/+2 |
2020-02-26 | lease-script: use $LogAndError | Christian Hesse | 1 | -2/+3 |
2020-02-26 | sms-action: use $LogAndError | Christian Hesse | 1 | -2/+3 |
2020-02-26 | ppp-on-up: use $LogAndError | Christian Hesse | 1 | -2/+3 |
2020-02-26 | check-routeros-update: use $LogAndError | Christian Hesse | 1 | -4/+3 |
2020-02-26 | packages-update: use $LogAndError | Christian Hesse | 1 | -2/+2 |
2020-02-26 | sms-forward: use $LogAndError | Christian Hesse | 1 | -2/+2 |
2020-02-24 | global-functions: introduce $LogAndError | Christian Hesse | 1 | -0/+9 |
2020-02-24 | bridge-port-to-default: drop delay•••Now that we expect the scheduler to have a delay and script-updates
warning about it...
| Christian Hesse | 1 | -7/+0 |
2020-02-24 | script-updates: warn on scheduler at startup with no interval | Christian Hesse | 1 | -0/+7 |
2020-02-24 | drop script 'daily-psk-schedule'•••We have some useful functions that can replace the functionality. Just
add a schedule like this:
add name=daily-psk-startup on-event=":delay 1s; :global WaitTimeSync; \$WaitTimeSync; / system script run daily-psk.local;" start-time=startup
| Christian Hesse | 1 | -28/+0 |
2020-02-24 | global-functions: $WaitTimeSync: rotate ntp servers minutely•••Signed-off-by: Christian Hesse <mail@eworm.de>
| Christian Hesse | 1 | -0/+4 |
2020-02-24 | global-functions: introduce $WaitTimeSync | Christian Hesse | 1 | -0/+10 |
2020-02-24 | check-certificates: check for synced time | Christian Hesse | 1 | -0/+6 |
2020-02-24 | daily-psk-schedule: use $TimeIsSync | Christian Hesse | 1 | -5/+3 |
2020-02-24 | global-functions: introduce $TimeIsSync | Christian Hesse | 1 | -0/+16 |
2020-02-24 | daily-psk-schedule: use $MailServerIsUp | Christian Hesse | 1 | -1/+3 |
2020-02-24 | sms-forward: use $MailServerIsUp | Christian Hesse | 1 | -1/+2 |
2020-02-24 | global-functions: introduce $MailServerIsUp | Christian Hesse | 1 | -0/+22 |
2020-02-06 | check-certificates: rename all certificates by their common names | Christian Hesse | 1 | -0/+5 |
2020-02-06 | global-functions: introduce and use $CertificateNameByCN | Christian Hesse | 1 | -2/+13 |
2020-02-05 | script-updates: prefix variable name with dollar | Christian Hesse | 1 | -1/+1 |
2020-02-04 | global-config: drop $ScriptUpdatesConfigChangesIgnore•••Comment or remove $GlobalConfigVersion in global-config-overlay
to disable change notifications.
change-12 | Christian Hesse | 5 | -8/+6 |
2020-02-03 | global-functions: $CharacterReplace: do not limit string length•••I've tried something like this to update a device:
/ system script set source=[ $CharacterReplace [ get global-config-overlay source ] "GlobalConfigVersion 10" "GlobalConfigVersion 11" ] global-config-overlay;
This broke with global-config-overlay longer than 999 characters. So makes
sure there is no limit for string length.
| Christian Hesse | 1 | -2/+1 |
2020-02-03 | global-config-overlay: add footer•••... to guard against truncation by accident.
| Christian Hesse | 1 | -0/+2 |
2020-02-02 | global-functions: $CertificateAvailable: simplify loop | Christian Hesse | 1 | -4/+4 |
2020-01-29 | README: update instructions to use $ScriptInstallUpdatechange-11 | Christian Hesse | 5 | -10/+13 |
2020-01-29 | script-updates: only handle scripts with magic pattern•••This is supposed to prevent overwriting foreign scripts. New scripts are
expected to be installed with function $ScriptInstallUpdate!
| Christian Hesse | 1 | -1/+1 |
2020-01-29 | global-functions: add $ScriptInstallUpdate•••Just call without parameters to update scripts:
[admin@MikroTik] > $InstallAndUpdate
Add comma separated list of scripts to install and update:
[admin@MikroTik] > $InstallAndUpdate cloud-backup[,upload-backup][,...]
| Christian Hesse | 1 | -0/+14 |
2020-01-29 | global-functions: $CertificateAvailable: check whole chain•••The root certificate is a self-signed certificate. Check for the issue
certificate until we find the self-signed one.
| Christian Hesse | 1 | -0/+12 |
2020-01-29 | global-functions: $CertificateAvailable: warn about crl download to flash•••Downloading certificate crls to flash can fill up all available space.
So warn about it!
| Christian Hesse | 1 | -0/+6 |
2020-01-28 | update-tunnelbroker: replace deprecated keep-result=no with output=none | Christian Hesse | 1 | -1/+1 |
2020-01-28 | gps-track: replace deprecated keep-result=no with output=none | Christian Hesse | 1 | -1/+1 |
2020-01-28 | global-functions: replace deprecated keep-result=no with output=none | Christian Hesse | 1 | -1/+1 |
2020-01-24 | check-health: never divide, always multiply•••With RouterOS we have integral numbers only. This prevent from having
friction that is cut off.
| Christian Hesse | 1 | -2/+2 |
2020-01-24 | check-health: always calculate on the lower voltage value•••This makes sure an alert is triggered in both directions. Before we could have:
24.0V to 21.8V -> OK
21.8V to 24.0V -> Alert!
| Christian Hesse | 1 | -1/+1 |
2020-01-17 | collect-wireless-mac: automatically add missing access-list entry | Christian Hesse | 3 | -12/+12 |
2020-01-16 | check-routeros-update: do not act if reboot is scheduled | Christian Hesse | 1 | -0/+4 |
2020-01-06 | mode-button-scheduler: give proper message if no action defined | Christian Hesse | 1 | -9/+13 |
2020-01-06 | global-functions: $CertificateDownload: properly name new certificates | Christian Hesse | 1 | -0/+5 |