aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2024-03-04ppp-on-up: move code into functionGravatar Christian Hesse1-16/+20
2024-03-04packages-update: move code into functionGravatar Christian Hesse1-87/+94
2024-03-04ospf-to-leds: move code into functionGravatar Christian Hesse1-21/+26
2024-03-04netwatch-notify: move code into functionGravatar Christian Hesse1-165/+170
2024-03-04netwatch-dns: move code into functionGravatar Christian Hesse1-85/+90
2024-03-04mode-button: move code into functionGravatar Christian Hesse1-45/+50
2024-03-04log-forward: move code into functionGravatar Christian Hesse1-70/+75
2024-03-04lease-script: move code into functionGravatar Christian Hesse1-31/+40
2024-03-04ipv6-update: move code into functionGravatar Christian Hesse1-51/+55
2024-03-04ipsec-to-dns: move code into functionGravatar Christian Hesse1-49/+54
2024-03-04hotspot-to-wpa: move code into functionGravatar Christian Hesse4-276/+292
2024-03-04hotspot-to-wpa-cleanup: move code into functionGravatar Christian Hesse4-180/+200
2024-03-04gps-track: move code into functionGravatar Christian Hesse1-30/+35
2024-03-04fw-addr-lists: move code into functionGravatar Christian Hesse1-112/+117
2024-03-04firmware-upgrade-reboot: move code into functionGravatar Christian Hesse1-32/+37
2024-03-04dhcp-to-dns: move code into functionGravatar Christian Hesse1-88/+93
2024-03-04dhcp-lease-comment: move code into functionGravatar Christian Hesse5-76/+101
2024-03-04daily-psk: move code into functionGravatar Christian Hesse5-310/+335
2024-03-04collect-wireless-mac: move code into functionGravatar Christian Hesse5-331/+356
2024-03-04check-routeros-update: move code into functionGravatar Christian Hesse1-118/+122
2024-03-04check-lte-firmware-upgrade: move code into functionGravatar Christian Hesse1-68/+73
2024-03-04check-health: move code into functionGravatar Christian Hesse1-139/+144
2024-03-04check-certificates: move code into functionGravatar Christian Hesse1-154/+159
2024-03-04certificate-renew-issued: move code into functionGravatar Christian Hesse1-23/+28
2024-03-04capsman-rolling-upgrade: move code into functionGravatar Christian Hesse4-83/+103
2024-03-04capsman-download-packages: move code into functionGravatar Christian Hesse4-191/+211
2024-03-04backup-upload: move code into functionGravatar Christian Hesse1-122/+127
2024-03-04backup-partition: move code into functionGravatar Christian Hesse1-25/+30
2024-03-04backup-email: move code into functionGravatar Christian Hesse1-88/+93
2024-03-04backup-cloud: move code into functionGravatar Christian Hesse1-46/+51
2024-03-04accesslist-duplicates: move code into functionGravatar Christian Hesse5-67/+92
2024-03-03netwatch-notify: check one after another•••This can bring an extra delay, but saves a check in most cases. Gravatar Christian Hesse1-2/+5
2024-03-02netwatch-notify: handle IPv6 / AAAA resolvingGravatar Christian Hesse1-1/+3
2024-03-01netwatch-notify: (mis-)use firewall address-list for lookup...•••... and drop the racy code querying dns cache. ๐Ÿ˜ Gravatar Christian Hesse2-13/+7
2024-02-29Merge branch 'fw-addr-lists' into nextGravatar Christian Hesse4-16/+80
2024-02-29fw-addr-lists: add support for IPv6change-119Gravatar Christian Hesse4-4/+68
2024-02-29fw-addr-lists: rename variableGravatar Christian Hesse1-11/+11
2024-02-29fw-addr-lists: update wordingGravatar Christian Hesse1-3/+3
2024-02-29fw-addr-lists: get timeout from loopGravatar Christian Hesse1-3/+3
2024-02-29Merge branch 'netwatch-notify' into nextGravatar Christian Hesse2-10/+38
2024-02-28netwatch-notify: handle CNAME to multiple recordsGravatar Christian Hesse2-3/+12
2024-02-28netwatch-notify: move check in DNS cache to local functionGravatar Christian Hesse1-2/+14
2024-02-28netwatch-notify: try another workaround•••The last one did not make it... Perhaps the cache just needs a moment to settle? Gravatar Christian Hesse1-4/+2
2024-02-28netwatch-notify: work around race condition•••This used to crash every now and then with: > script;error script error: no such item (4) I guess this is caused by querying the dns cache just exactly when a record expires. The chance is maximized: The script is started by scheduler every minute, and the record's ttl is a multiple of a minute. Let's query records that are not about to expire immediately, and try again. Gravatar Christian Hesse1-8/+12
2024-02-28netwatch-notify: restore the check ๐Ÿฅด•••This reverts commit 28da1da49e275fef6089a103edf6c158bbff317f. Chances are that we have to resolve a CNAME, that does not match when querying the cache. How to handle CNAME do multiple A records? ๐Ÿคจ Gravatar Christian Hesse1-1/+2
2024-02-28netwatch-notify: simplify the checkGravatar Christian Hesse1-2/+1
2024-02-28netwatch-notify: ... and switch state to "unknown" on host updateGravatar Christian Hesse1-0/+1
2024-02-28netwatch-notify: handle status "down" in its own condition...•••... instead of else-branch. This makes sure to skip hosts that just became "unknown". (Possible soon!) Gravatar Christian Hesse1-1/+4
2024-02-28netwatch-notify: use logical operator, no literal "and"•••Just like we do everywhere else. Gravatar Christian Hesse1-1/+1
2024-02-28doc/netwatch-notify: update for multiple recordsGravatar Christian Hesse1-3/+3
2024-02-19netwatch-notify: do not update with record in cache•••Using `:resolve` we have just one address, but chances are several records do exist. These end up in cache, so we are happy to find them there - no need to update then. Gravatar Christian Hesse1-1/+2
2024-02-08doc/unattended-lte-firmware-upgrade: more devices supported...Gravatar Christian Hesse1-0/+1
2024-02-08unattended-lte-firmware-upgrade: add error handlingGravatar Christian Hesse1-7/+11
2024-02-08check-lte-firmware-upgrade: give more detailed infos on modemGravatar Christian Hesse1-2/+4
2024-02-02introduce BRANCHES infoGravatar Christian Hesse1-0/+43
2024-02-02doc/backup-partition: add warning about RouterOS versionGravatar Christian Hesse1-0/+4
2024-02-02backup-partition: make sure to remove the scheduler on failureGravatar Christian Hesse1-0/+1
2024-02-02backup-partition: get the actual real name...•••... to prevent confusion after restore. Gravatar Christian Hesse1-4/+4
2024-02-02backup-partition: add a scheduler in backup...•••... that logs a warning when backup is booted. Gravatar Christian Hesse2-0/+9
2024-02-02backup-partition: use plain variable for nameGravatar Christian Hesse1-4/+4
2024-02-01INITIAL-COMMANDS: link initial commands aboveGravatar Christian Hesse1-4/+5
2024-01-31packages-update: schedule reboot at pre-calculated timeGravatar Christian Hesse2-6/+9
2024-01-31packages-update: move output and logging to local function...•••... and pass script name for clean logging. Gravatar Christian Hesse1-6/+7
2024-01-31packages-update: prepare message and mention time zoneGravatar Christian Hesse1-2/+4
2024-01-31backup-upload: use $CleanNameGravatar Christian Hesse1-2/+2
2024-01-31backup-email: use $CleanNameGravatar Christian Hesse1-2/+2
2024-01-31dhcp-to-dns: use $CleanNameGravatar Christian Hesse1-3/+3
2024-01-31global-functions: $CertificateNameByCN: use $CleanNameGravatar Christian Hesse1-3/+2
2024-01-31global-functions: introduce $CleanNameGravatar Christian Hesse1-0/+19
2024-01-31global-functions: $MkDir: drop declaration of unused functionsGravatar Christian Hesse1-2/+0
2024-01-31global-functions: $IsDNSResolving: drop declaration of unused functionGravatar Christian Hesse1-2/+0
2024-01-30check-certificates: always quote the certificate nameGravatar Christian Hesse1-7/+7
2024-01-30global-functions: $ScriptInstallUpdate: warn just once...•••... for every script on required RouterOS version. Gravatar Christian Hesse1-1/+2
2024-01-30log-forward: use $MAXGravatar Christian Hesse1-3/+2
2024-01-30Merge branch 'jobname' into nextrouteros-7.12-3Gravatar Christian Hesse66-68/+159
2024-01-30update-tunnelbroker: use :jobname to get script nameGravatar Christian Hesse1-1/+2
2024-01-30update-gre-address: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30telegram-chat: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30sms-forward: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30sms-action: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30ppp-on-up: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30packages-update: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30ospf-to-leds: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30netwatch-notify: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30netwatch-dns: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30mode-button: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30log-forward: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30lease-script: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30ipv6-update: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30ipsec-to-dns: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30hotspot-to-wpa-cleanup: use :jobname to get script nameGravatar Christian Hesse4-6/+5
2024-01-30hotspot-to-wpa: use :jobname to get script nameGravatar Christian Hesse4-4/+12
2024-01-30gps-track: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30global-wait: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30global-functions: use :jobname to get script nameGravatar Christian Hesse1-1/+1
2024-01-30fw-addr-lists: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30firmware-upgrade-reboot: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30dhcp-to-dns: use :jobname to get script nameGravatar Christian Hesse1-1/+2
2024-01-30dhcp-lease-comment: use :jobname to get script nameGravatar Christian Hesse5-5/+10
2024-01-30daily-psk.capsman: use :jobname to get script nameGravatar Christian Hesse5-5/+15