aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2019-07-24email-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24check-routeros-update: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24upload-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24cloud-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24email-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24check-routeros-update: get values into arrayGravatar Christian Hesse1-21/+19
2019-07-24packages-update: allow to downgrade on change of update channelGravatar Christian Hesse1-0/+9
2019-07-24packages-update: break if latest version is unknownGravatar Christian Hesse1-0/+5
2019-07-24packages-update: get values into arrayGravatar Christian Hesse1-5/+4
2019-07-19global-functions: $DownloadPackage: fix downloading for CHR / x86_64Gravatar Christian Hesse1-0/+3
2019-07-19packages-update: run email-backup and/or upload-backupGravatar Christian Hesse1-2/+2
2019-07-19add script 'upload-backup'change-6Gravatar Christian Hesse4-2/+84
2019-07-19global-config: move config for email-backup•••Signed-off-by: Christian Hesse <mail@eworm.de> Gravatar Christian Hesse1-4/+5
2019-07-18email-backup: no more than one dot in file name•••Looks like some providers do not allow more than one dot in attachment's file name to mitigate something like `holiday.png.exe`. Let's just replace dots with underscores. Fixes #2 Reported-by: @Kampfwurst Gravatar Christian Hesse1-1/+3
2019-07-18capsman-download-packages: do not require extra permission•••The idea was to run capsman-download-packages from netwatch when upgrade.mikrotik.com is up. Instead run it from scheduler at startup, but add a delay: / system scheduler add name=capsman-download-packages \ on-event=":delay 2m; capsman-download-packages" start-time=startup Gravatar Christian Hesse1-2/+0
2019-07-18daily-psk-schedule: better matchingGravatar Christian Hesse1-1/+1
2019-07-18update-tunnelbroker: use $ParseKeyValueStoreGravatar Christian Hesse1-6/+4
2019-07-18check-certificates: use $ParseKeyValueStoreGravatar Christian Hesse1-11/+3
2019-07-18ipv6-update: use $ParseKeyValueStoreGravatar Christian Hesse1-7/+7
2019-07-17global-functions: add $ParseKeyValueStoreGravatar Christian Hesse1-0/+16
2019-07-16global-functions: $CharacterReplace: use same condition in loopGravatar Christian Hesse1-1/+1
2019-07-16global-functions: append system note in e-mail signatureGravatar Christian Hesse1-1/+6
2019-07-10update-gre-address: handle missing dynamic addressGravatar Christian Hesse1-2/+4
2019-07-09gps-track: remove workaroundrouteros-6.45rc42Gravatar Christian Hesse1-7/+0
2019-07-08capsman-rolling-upgrade: log with info, give identityGravatar Christian Hesse1-2/+3
2019-07-05lease-script: give hint about mis-usageGravatar Christian Hesse1-0/+8
2019-07-05sms-action: give hint about mis-usageGravatar Christian Hesse1-0/+5
2019-07-05ppp-on-up: give hint about mis-usageGravatar Christian Hesse1-1/+6
2019-07-05ipv6-update: give hint about mis-usageGravatar Christian Hesse1-0/+5
2019-07-01update-gre-address: get values into arraysGravatar Christian Hesse1-10/+7
2019-07-01update-gre-address: update for latest routeros•••With RouterOS 6.45 "remote-peers" was renamed to "active-peers": *) ipsec - renamed "remote-peers" to "active-peers"; routeros-6.45Gravatar Christian Hesse1-3/+3
2019-07-01check-routeros-update: link a changelog that opens in browser•••The old link was delivered with MIME type 'application/octet-stream', browsers wanted to download it as file. Gravatar Christian Hesse1-1/+1
2019-06-26bridge-port-to-default: handle special value 'dhcp-client'...•••... which disables the bridge port, but enables a dhcp client. Gravatar Christian Hesse1-5/+17
2019-06-25bridge-port-to-default: get bridge port values into arrayGravatar Christian Hesse1-8/+7
2019-06-25gps-track: fix the condition for workaround•••A null byte is always matched in regexp... Gravatar Christian Hesse1-2/+2
2019-06-24add script 'certificate-renew-issued'Gravatar Christian Hesse1-0/+14
2019-06-14backup: split off cloud-backup•••Currently backup to MikroTik cloud is pretty unreliable and script can not catch errors at runtime. Looks like this does not change any time soon (Ticket#2019052022003204). So let's just split off the cloud backup to make sure email backup works as expected. change-5Gravatar Christian Hesse5-44/+61
2019-06-13daily-psk: add hint about device specific rule•••I tricked myself several times... If a more device specific (or just earlier matching) rule exists the daily PSK is not applied! Gravatar Christian Hesse3-0/+3
2019-06-12mode-button-scheduler: beep for confirmation•••But be silent if silent-boot is enabled. Gravatar Christian Hesse1-1/+10
2019-05-24daily-psk.capsman: pick only first configurationGravatar Christian Hesse2-2/+2
2019-05-23check-lte-firmware-upgrade: drop literal 'notification'Gravatar Christian Hesse1-2/+2
2019-05-23check-routeros-update: drop literal 'notification'Gravatar Christian Hesse1-4/+4
2019-05-21check-certificates: get certificate values into arrayGravatar Christian Hesse1-43/+28
2019-05-09gps-track: make workaround conditional•••This is fixed in 6.45rc42. Gravatar Christian Hesse1-2/+7
2019-05-09email-backup: make sure to act on first cloud backupGravatar Christian Hesse1-2/+2
2019-05-02check-certificates: do not try to renew locally issued certificatesGravatar Christian Hesse1-1/+1
2019-05-02check-certificates: give issuer info on locally issued certificates•••Certificates issued locally do not have an 'issuer' property, but a 'ca' one. Looks like either of both is filled, so just concatenate. Gravatar Christian Hesse1-1/+2
2019-04-30global-functions: $CertificateAvailable: fetch by CommonName•••Now that we have a proper $UrlEncode function... Fetch certificates by CommonName. Also remove the PEM after import. Gravatar Christian Hesse7-11/+15
2019-04-30global-functions: add $WaitForFile, wait for file on fetch•••The fetch command is asynchronous, the file is not guaranteed to be available when command terminates. I opened an issue at Mikrotik support (Ticket#2019041722004999), their answer: > You should perform a check in a loop. > :delay until file exist > > That can happen also with any configuration not just files. So add a function to wait for a file with given name. I have not seen this with other configuration, though. Gravatar Christian Hesse5-4/+35
2019-04-16daily-psk-schedule: try to rotate ntp after five minutes uptimeGravatar Christian Hesse1-0/+3
2019-04-11check-certificates: make sure fingerprint is a string•••This makes sure the condition below works for certificate templates, which do not have a fingerprint. Gravatar Christian Hesse1-1/+1
2019-04-11check-certificates: do not send notification for templatesGravatar Christian Hesse1-1/+1
2019-04-11check-certificates: always return a string in $GetIssuerCNGravatar Christian Hesse1-0/+1
2019-04-10check-certificates: add url encoding for certificate downloadGravatar Christian Hesse1-4/+6
2019-04-10check-certificates: try to fetch PEM and P12 fileGravatar Christian Hesse1-4/+10
2019-04-10check-certificates: use full path...•••... to make sure syntax does not break if package is not installed. Gravatar Christian Hesse1-3/+3
2019-04-10check-certificates: just change certificates, no loopGravatar Christian Hesse1-12/+4
2019-04-09drop deprecated mode= for fetchGravatar Christian Hesse7-8/+8
2019-04-05sms-forward: group messages for same senderGravatar Christian Hesse1-15/+26
2019-04-05global-config: change duplicate word from daily pskGravatar Christian Hesse1-1/+1
2019-04-04ipv6-update: fix with prefix containing section(s) of zerosGravatar Christian Hesse1-3/+6
2019-04-03daily-psk: use the template systemGravatar Christian Hesse3-2/+8
2019-04-03always write warnings and errors to logGravatar Christian Hesse10-12/+25
2019-04-03script-updates: clear variable after useGravatar Christian Hesse1-0/+1
2019-04-03script-updates: send global-config changes notification just onceGravatar Christian Hesse2-2/+7
2019-04-02script-updates: add option to ignore global-config changeschange-4Gravatar Christian Hesse4-3/+6
2019-04-01check-certificates: support multiple passphraseschange-3Gravatar Christian Hesse4-4/+10
2019-04-01script-updates: add changelog for global configurationchange-2change-1Gravatar Christian Hesse2-1/+30
2019-04-01README: add hint on features for specific scriptsGravatar Christian Hesse1-0/+3
2019-04-01README: drop hint on old branch•••Now that release channel 'long-term' is at 6.43.x... Gravatar Christian Hesse1-3/+0
2019-03-29check-routeros-update: link to changelog in notificationGravatar Christian Hesse1-1/+2
2019-03-28check-certificates: show remaining timeGravatar Christian Hesse1-8/+16
2019-03-28global-functions: prevent infinite loopGravatar Christian Hesse1-2/+4
2019-03-25check-certificates: update certificates for ipsec identitiesGravatar Christian Hesse1-1/+12
2019-03-20global-functions: encode all non-alphanumeric charactersGravatar Christian Hesse1-2/+5
2019-03-16accesslist-duplicates: Read index from terminal inkeyGravatar Christian Hesse3-9/+9
2019-03-12link the presentation from MUM Europe 2019 in ViennaGravatar Christian Hesse1-0/+7
2019-03-06daily-psk: prepare for caps-man•••Signed-off-by: Christian Hesse <mail@eworm.de> Gravatar Michael Gisbers4-7/+190
2019-03-06daily-psk: encode ssid and pass in url•••Signed-off-by: Christian Hesse <mail@eworm.de> Gravatar Michael Gisbers1-1/+3
2019-03-06check-certificates: split loop for certificate renew and warning•••This allows to have differnt time values. Gravatar Christian Hesse1-20/+27
2019-02-28global-functions: remove extra check in $DownloadPackage•••Should be fixed in RouterOS 6.44rc1 with changelog: *) fetch - improved file downloading to slow memory; routeros-6.44rc1Gravatar Christian Hesse1-7/+0
2019-02-22check-routeros-update: default in capital letter•••Also use square brackets as RouterOS does. Gravatar Christian Hesse1-1/+1
2019-02-21collect-wireless-mac: use $ScriptLockGravatar Christian Hesse3-0/+9
2019-02-21global-functions: add $ScriptLockGravatar Christian Hesse1-0/+10
2019-02-21check-routeros-update: allow interactive update from terminalGravatar Christian Hesse1-6/+19
2019-02-21global-functions: drop $Read, use :return directlyGravatar Christian Hesse4-14/+3
2019-02-19check-routeros-update: give board name and modelGravatar Christian Hesse1-1/+3
2019-02-19check-routeros-update: use new script 'packages-update'Gravatar Christian Hesse1-4/+5
2019-02-19add script 'packages-update'Gravatar Christian Hesse1-0/+29
2019-02-19check-routeros-update: run installation without-pagingGravatar Christian Hesse1-1/+1
2019-02-14capsman-download-packages: split off capsman-rolling-upgradeGravatar Christian Hesse2-8/+25
2019-02-14global-functions: detect failed package downloadsGravatar Christian Hesse1-1/+9
2019-02-13capsman-download-packages: use $CleanFilePathGravatar Christian Hesse1-4/+2
2019-02-13global-functions: introduce and use $CleanFilePathGravatar Christian Hesse1-4/+21
2019-02-13global-functions: remove file on failed downloadGravatar Christian Hesse1-3/+9
2019-02-11gps-track: replace http-content-type with http-header-field•••This changed in 6.44beta75. routeros-6.44beta75-3Gravatar Christian Hesse1-1/+1
2019-02-11unattended-lte-firmware-upgrade: remove workaround•••This is fixed in 6.44beta75. routeros-6.44beta75-2Gravatar Christian Hesse1-2/+0
2019-02-11check-lte-firmware-upgrade: remove workaround•••This is fixed in 6.44beta75. routeros-6.44beta75-1Gravatar Christian Hesse1-2/+0
2019-02-11unattended-lte-firmware-upgrade: add missing colonGravatar Christian Hesse1-1/+1
2019-02-11global-functions: add missing colonGravatar Christian Hesse1-1/+1