Age | Commit message (Expand) | Author | Files | Lines |
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 |
2020-01-06 | collect-wireless-mac: use dynamic & bound mac address only | Christian Hesse | 3 | -3/+3 |
2020-01-06 | dhcp-lease-comment: act on bound leases only | Christian Hesse | 3 | -3/+3 |
2020-01-06 | dhcp-to-dns: act on bound leases only | Christian Hesse | 1 | -4/+4 |
2020-01-03 | global-functions: do not encode dash, dot, slash and underscore | Christian Hesse | 1 | -4/+3 |
2020-01-03 | global-functions: $Certificate*: add quoting around CN | Christian Hesse | 1 | -2/+2 |
2020-01-03 | global-functions: split $CertificateAvailable to $CertificateDownload•••This allows to force download even if certificate is available. We need
this for a clean update path with Let's Encrypt.
| Christian Hesse | 1 | -17/+28 |
2020-01-01 | update copyright for 2020 | Christian Hesse | 55 | -55/+55 |
2019-12-20 | packages-update: improve wording | Christian Hesse | 1 | -1/+1 |
2019-12-10 | global-functions: define first, set later | Christian Hesse | 1 | -16/+34 |
2019-12-05 | global-functions: $DownloadPackage: retry on error | Christian Hesse | 1 | -12/+17 |
2019-12-05 | packages-update: lock against multiple invocation | Christian Hesse | 1 | -0/+3 |
2019-12-05 | capsman-rolling-upgrade: lock against multiple invocation | Christian Hesse | 1 | -0/+4 |
2019-12-05 | capsman-download-packages: lock against multiple invocation | Christian Hesse | 1 | -1/+4 |
2019-12-04 | packages-update: skip the interactive part of non-terminal | Christian Hesse | 1 | -14/+17 |
2019-12-03 | check-routeros-update: use $ScriptFromTerminal | Christian Hesse | 1 | -1/+2 |
2019-12-03 | global-functions: introduce $ScriptFromTerminal•••Checking whether or not started from terminal is tricky... We have to find
the job for the script, find its top most parent and get its type.
| Christian Hesse | 1 | -0/+18 |
2019-12-03 | ipv6-update: calculate address with bitwise operator•••Support for bitwise operator was added in RouterOS 6.46beta38.
routeros-6.46beta38 | Christian Hesse | 1 | -8/+5 |
2019-12-03 | hotspot-to-wpa: get limits from place-before-entry | Christian Hesse | 1 | -2/+11 |
2019-11-28 | global-functions: $DeviceInfo: append revision to model | Christian Hesse | 1 | -1/+5 |
2019-11-25 | collect-wireless-mac: add the dns name | Christian Hesse | 3 | -0/+18 |
2019-11-25 | collect-wireless-mac: lease without address should be impossible...•••... we need the check for empty hostname, though.
| Christian Hesse | 3 | -15/+6 |
2019-11-25 | collect-wireless-mac: move code into condition | Christian Hesse | 3 | -18/+18 |
2019-11-21 | {email,upload}-backup: update wording | Christian Hesse | 2 | -2/+3 |
2019-11-14 | dhcp-to-dns: act on hostname only if available | Christian Hesse | 1 | -1/+3 |
2019-11-12 | dhcp-to-dns: set the temporary variable unconditionally | Christian Hesse | 1 | -4/+1 |
2019-11-12 | dhcp-to-dns: handle duplicate mac-address and host-name•••* several leases for one mac address (changed client id, different net):
-> take address from last lease
Most likely this is the same devices which booted different OS or
changed to different network.
* several leases for one host name:
-> take address from first lease
We see either different devices with same name or one device with
several network interfaces. Keep the first name to mitigate stealing
dns name.
| Christian Hesse | 1 | -3/+8 |
2019-11-11 | check-certificates: make renew notification silent | Christian Hesse | 1 | -1/+1 |
2019-11-05 | README: fix typo and wording | Christian Hesse | 2 | -2/+2 |
2019-10-28 | global-functions: add architecture in device info | Christian Hesse | 1 | -2/+3 |
2019-10-22 | check-health: decrease default threshold for voltage | Christian Hesse | 1 | -1/+1 |
2019-10-18 | check-health: work with battery property•••Seen on wAP R... No idea what this is.
| Christian Hesse | 1 | -1/+1 |
2019-10-14 | add script 'hotspot-to-wpa' | Christian Hesse | 1 | -0/+20 |
2019-10-14 | check-health: make threshold for voltage configurablechange-10 | Christian Hesse | 5 | -7/+11 |
2019-09-13 | update list of contributors / donors•••Thanks for the Mikrotik coffee mug!
| Christian Hesse | 1 | -0/+1 |