Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-23 | check-lte-firmware-upgrade: drop literal 'notification' | 1 | -2/+2 | ||
2019-05-23 | check-routeros-update: drop literal 'notification' | 1 | -4/+4 | ||
2019-05-21 | check-certificates: get certificate values into array | 1 | -43/+28 | ||
2019-05-09 | gps-track: make workaround conditional | 1 | -2/+7 | ||
This is fixed in 6.45rc42. | |||||
2019-05-09 | email-backup: make sure to act on first cloud backup | 1 | -2/+2 | ||
2019-05-02 | check-certificates: do not try to renew locally issued certificates | 1 | -1/+1 | ||
2019-05-02 | check-certificates: give issuer info on locally issued certificates | 1 | -1/+2 | ||
Certificates issued locally do not have an 'issuer' property, but a 'ca' one. Looks like either of both is filled, so just concatenate. | |||||
2019-04-30 | global-functions: $CertificateAvailable: fetch by CommonName | 7 | -11/+15 | ||
Now that we have a proper $UrlEncode function... Fetch certificates by CommonName. Also remove the PEM after import. | |||||
2019-04-30 | global-functions: add $WaitForFile, wait for file on fetch | 5 | -4/+35 | ||
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. | |||||
2019-04-16 | daily-psk-schedule: try to rotate ntp after five minutes uptime | 1 | -0/+3 | ||
2019-04-11 | check-certificates: make sure fingerprint is a string | 1 | -1/+1 | ||
This makes sure the condition below works for certificate templates, which do not have a fingerprint. | |||||
2019-04-11 | check-certificates: do not send notification for templates | 1 | -1/+1 | ||
2019-04-11 | check-certificates: always return a string in $GetIssuerCN | 1 | -0/+1 | ||
2019-04-10 | check-certificates: add url encoding for certificate download | 1 | -4/+6 | ||
2019-04-10 | check-certificates: try to fetch PEM and P12 file | 1 | -4/+10 | ||
2019-04-10 | check-certificates: use full path... | 1 | -3/+3 | ||
... to make sure syntax does not break if package is not installed. | |||||
2019-04-10 | check-certificates: just change certificates, no loop | 1 | -12/+4 | ||
2019-04-09 | drop deprecated mode= for fetch | 7 | -8/+8 | ||
2019-04-05 | sms-forward: group messages for same sender | 1 | -15/+26 | ||
2019-04-05 | global-config: change duplicate word from daily psk | 1 | -1/+1 | ||
2019-04-04 | ipv6-update: fix with prefix containing section(s) of zeros | 1 | -3/+6 | ||
2019-04-03 | daily-psk: use the template system | 3 | -2/+8 | ||
2019-04-03 | always write warnings and errors to log | 10 | -12/+25 | ||
2019-04-03 | script-updates: clear variable after use | 1 | -0/+1 | ||
2019-04-03 | script-updates: send global-config changes notification just once | 2 | -2/+7 | ||
2019-04-02 | script-updates: add option to ignore global-config changeschange-4 | 4 | -3/+6 | ||
2019-04-01 | check-certificates: support multiple passphraseschange-3 | 4 | -4/+10 | ||
2019-04-01 | script-updates: add changelog for global configurationchange-2change-1 | 2 | -1/+30 | ||
2019-04-01 | README: add hint on features for specific scripts | 1 | -0/+3 | ||
2019-04-01 | README: drop hint on old branch | 1 | -3/+0 | ||
Now that release channel 'long-term' is at 6.43.x... | |||||
2019-03-29 | check-routeros-update: link to changelog in notification | 1 | -1/+2 | ||
2019-03-28 | check-certificates: show remaining time | 1 | -8/+16 | ||
2019-03-28 | global-functions: prevent infinite loop | 1 | -2/+4 | ||
2019-03-25 | check-certificates: update certificates for ipsec identities | 1 | -1/+12 | ||
2019-03-20 | global-functions: encode all non-alphanumeric characters | 1 | -2/+5 | ||
2019-03-16 | accesslist-duplicates: Read index from terminal inkey | 3 | -9/+9 | ||
2019-03-12 | link the presentation from MUM Europe 2019 in Vienna | 1 | -0/+7 | ||
2019-03-06 | daily-psk: prepare for caps-man | 4 | -7/+190 | ||
Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2019-03-06 | daily-psk: encode ssid and pass in url | 1 | -1/+3 | ||
Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2019-03-06 | check-certificates: split loop for certificate renew and warning | 1 | -20/+27 | ||
This allows to have differnt time values. | |||||
2019-02-28 | global-functions: remove extra check in $DownloadPackagerouteros-6.44rc1 | 1 | -7/+0 | ||
Should be fixed in RouterOS 6.44rc1 with changelog: *) fetch - improved file downloading to slow memory; | |||||
2019-02-22 | check-routeros-update: default in capital letter | 1 | -1/+1 | ||
Also use square brackets as RouterOS does. | |||||
2019-02-21 | collect-wireless-mac: use $ScriptLock | 3 | -0/+9 | ||
2019-02-21 | global-functions: add $ScriptLock | 1 | -0/+10 | ||
2019-02-21 | check-routeros-update: allow interactive update from terminal | 1 | -6/+19 | ||
2019-02-21 | global-functions: drop $Read, use :return directly | 4 | -14/+3 | ||
2019-02-19 | check-routeros-update: give board name and model | 1 | -1/+3 | ||
2019-02-19 | check-routeros-update: use new script 'packages-update' | 1 | -4/+5 | ||
2019-02-19 | add script 'packages-update' | 1 | -0/+29 | ||
2019-02-19 | check-routeros-update: run installation without-paging | 1 | -1/+1 | ||
2019-02-14 | capsman-download-packages: split off capsman-rolling-upgrade | 2 | -8/+25 | ||
2019-02-14 | global-functions: detect failed package downloads | 1 | -1/+9 | ||
2019-02-13 | capsman-download-packages: use $CleanFilePath | 1 | -4/+2 | ||
2019-02-13 | global-functions: introduce and use $CleanFilePath | 1 | -4/+21 | ||
2019-02-13 | global-functions: remove file on failed download | 1 | -3/+9 | ||
2019-02-11 | gps-track: replace http-content-type with http-header-fieldrouteros-6.44beta75-3 | 1 | -1/+1 | ||
This changed in 6.44beta75. | |||||
2019-02-11 | unattended-lte-firmware-upgrade: remove workaroundrouteros-6.44beta75-2 | 1 | -2/+0 | ||
This is fixed in 6.44beta75. | |||||
2019-02-11 | check-lte-firmware-upgrade: remove workaroundrouteros-6.44beta75-1 | 1 | -2/+0 | ||
This is fixed in 6.44beta75. | |||||
2019-02-11 | unattended-lte-firmware-upgrade: add missing colon | 1 | -1/+1 | ||
2019-02-11 | global-functions: add missing colon | 1 | -1/+1 | ||
2019-02-08 | global-functions: prevent infinite loop in $CharacterReplace | 1 | -0/+4 | ||
2019-02-08 | ipv6-update: simplify array access | 1 | -2/+2 | ||
2019-02-08 | dhcp-to-dns: rework, fix cleanup with mac-address and more | 1 | -37/+29 | ||
2019-02-08 | dhcp-to-dns: use mac-address if hostname is empty | 1 | -0/+3 | ||
2019-02-08 | dhcp-to-dns: use $CharacterReplace | 1 | -6/+3 | ||
2019-02-08 | global-functions: add $CharacterReplace | 1 | -0/+15 | ||
2019-02-07 | capsman-download-packages: upgrade CAPs one after another with delay | 1 | -2/+9 | ||
2019-01-29 | gps-track: strip trailing binary zeros | 1 | -0/+2 | ||
2019-01-29 | gps-track: log about coordinate-format | 1 | -1/+2 | ||
2019-01-18 | check-routeros-update: run email-backup on auto-update | 1 | -0/+3 | ||
2019-01-15 | email-backup: silence unwanted output | 1 | -1/+1 | ||
2019-01-15 | update-tunnelbroker: fix parsing id | 1 | -1/+1 | ||
2019-01-15 | update-tunnelbroker: simplify array access | 1 | -3/+3 | ||
2019-01-15 | netwatch-syslog: simplify array access | 1 | -1/+1 | ||
2019-01-15 | collect-wireless-mac: simplify array access | 3 | -3/+3 | ||
2019-01-15 | dhcp-lease-comment: simplify array access | 3 | -3/+3 | ||
2019-01-15 | lease-script: split scripts for de/assign, add debug log | 1 | -4/+18 | ||
2019-01-14 | email-backup: give board name and model | 1 | -1/+3 | ||
2019-01-12 | initial-commands: put into blocks | 1 | -8/+14 | ||
2019-01-12 | check-certificates: strip prefix from issuer CN | 1 | -1/+1 | ||
2019-01-12 | check-certificates: properly handle expired certificates | 1 | -4/+11 | ||
2019-01-09 | check-certificates: move conditions to loop | 1 | -60/+50 | ||
2019-01-09 | check-certificates: shorten key for detailed infos | 1 | -10/+10 | ||
2019-01-09 | check-certificates: show issuer CN only | 1 | -2/+11 | ||
2019-01-09 | email-backup: be more verbose about attached files and secret key | 1 | -4/+9 | ||
2019-01-09 | check-certificates: include the issuer in notifications | 1 | -0/+4 | ||
2019-01-09 | check-certificates: update CommonName after renewal | 1 | -0/+1 | ||
2019-01-09 | super-mario-theme: simplify array access | 1 | -1/+1 | ||
2019-01-09 | daily-psk: simplify algorithm | 1 | -21/+13 | ||
2019-01-09 | check-certificates: use time functionality | 1 | -25/+10 | ||
No need to calculate that... | |||||
2019-01-09 | check-certificates: send notification on renewal | 1 | -8/+18 | ||
2019-01-09 | check-certificates: drop extra warning | 1 | -2/+0 | ||
A sent notification implies that renewal failed. | |||||
2019-01-04 | ppp-on-up: just release ipv6 lease | 1 | -6/+1 | ||
This should get a new lease immediately. | |||||
2019-01-04 | ppp-on-up: run scripts if available | 1 | -0/+11 | ||
2019-01-04 | update-tunnelbroker: get tunnelbroker config from interface comment | 2 | -26/+20 | ||
2019-01-04 | email-backup: print to update from cloud | 1 | -0/+3 | ||
2019-01-04 | ppp-on-up: fix variable handling | 1 | -1/+3 | ||
The variable $interface is not a name but a reference... Basically this worked only because of the oddity - the filter did not work and *all* dhcp-clients were disabled and enabled. | |||||
2019-01-04 | global: variable names are CamelCase | 41 | -782/+775 | ||
___ _ ___ __ / _ )(_)__ _ / _/__ _/ /_ / _ / / _ `/ / _/ _ `/ __/ /____/_/\_, / /_/ \_,_/\__/ _ __ /___/ _ __ | | / /___ __________ (_)___ ____ _/ / | | /| / / __ `/ ___/ __ \/ / __ \/ __ `/ / | |/ |/ / /_/ / / / / / / / / / / /_/ /_/ |__/|__/\__,_/_/ /_/ /_/_/_/ /_/\__, (_) /____/ RouterOS has some odd behavior when it comes to variable names. Let's have a look at the interfaces: [admin@MikroTik] > / interface print where name=en1 Flags: D - dynamic, X - disabled, R - running, S - slave # NAME TYPE ACTUAL-MTU L2MTU 0 RS en1 ether 1500 1598 That looks ok. Now we use a script: { :local interface "en1"; / interface print where name=$interface; } And the result... [admin@MikroTik] > { :local interface "en1"; {... / interface print where name=$interface; } Flags: D - dynamic, X - disabled, R - running, S - slave # NAME TYPE ACTUAL-MTU L2MTU 0 RS en1 ether 1500 1598 ... still looks ok. We make a little modification to the script: { :local name "en1"; / interface print where name=$name; } And the result: [admin@MikroTik] > { :local name "en1"; {... / interface print where name=$name; } Flags: D - dynamic, X - disabled, R - running, S - slave # NAME TYPE ACTUAL-MTU L2MTU 0 RS en1 ether 1500 1598 1 S en2 ether 1500 1598 2 S en3 ether 1500 1598 3 S en4 ether 1500 1598 4 S en5 ether 1500 1598 5 R br-local bridge 1500 1598 Ups! The filter has no effect! That happens whenever the variable name ($name) matches the property name (name=). And another modification: { :local type "en1"; / interface print where name=$type; } And the result: [admin@MikroTik] > { :local type "en1"; {... / interface print where name=$type; } Flags: D - dynamic, X - disabled, R - running, S - slave # NAME TYPE ACTUAL-MTU L2MTU Ups! Nothing? Even if the variable name ($type) matches whatever property name (type=) things go wrong. The answer from MikroTik support (in Ticket#2019010222000454): > This is how scripting works in RouterOS and we will not fix it. To get around this we use variable names in CamelCase. Let's hope Mikrotik never ever introduces property names in CamelCase... *fingers crossed* | |||||
2019-01-03 | global-{config,functions}: move variables, make independent | 4 | -9/+12 | ||
2019-01-03 | script-updates: add configuration versioning | 3 | -0/+20 | ||