aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-12backup-partition: drop main function, use :do with on-errorGravatar Christian Hesse1-6/+4
2024-03-12doc/global-wait: add badgesGravatar Christian Hesse1-0/+7
2024-03-12backup-email: drop main function, use :do with on-errorGravatar Christian Hesse1-6/+4
2024-03-12doc/fw-addr-lists: add badgesGravatar Christian Hesse1-0/+7
2024-03-12backup-cloud: drop main function, use :do with on-errorGravatar Christian Hesse1-6/+4
2024-03-12doc/firmware-upgrade-reboot: add badgesGravatar Christian Hesse1-0/+7
2024-03-12accesslist-duplicates: drop main function, use :do with on-errorGravatar Christian Hesse4-20/+12
2024-03-12doc/dhcp-to-dns: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/dhcp-lease-comment: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/daily-psk: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/collect-wireless-mac: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/check-routeros-update: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/check-lte-firmware-upgrade: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/check-health: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/check-certificates: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/certificate-renew-issued: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/capsman-rolling-upgrade: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/capsman-download-packages: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/backup-upload: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/backup-partition: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/backup-email: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/backup-cloud: add badgesGravatar Christian Hesse1-0/+7
2024-03-12doc/accesslist-duplicates: add badgesGravatar Christian Hesse1-0/+7
2024-03-12INITIAL-COMMANDS: add badgesGravatar Christian Hesse1-0/+7
2024-03-12CONTRIBUTIONS: add badgesGravatar Christian Hesse1-0/+7
2024-03-12BRANCHES: add badgesGravatar Christian Hesse1-0/+7
2024-03-12global-functions: use variable name $ScriptNameGravatar Christian Hesse1-2/+2
2024-03-04Merge branch 'main-function' into nextGravatar Christian Hesse64-3433/+3751
2024-03-04update-tunnelbroker: move code into functionGravatar Christian Hesse1-34/+39
2024-03-04update-gre-address: move code into functionGravatar Christian Hesse1-17/+22
2024-03-04telegram-chat: move code into functionGravatar Christian Hesse1-128/+133
2024-03-04sms-forward: move code into functionGravatar Christian Hesse1-60/+65
2024-03-04sms-action: move code into functionGravatar Christian Hesse1-15/+19
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 anotherGravatar Christian Hesse1-2/+5
This can bring an extra delay, but saves a check in most cases.
2024-03-02netwatch-notify: handle IPv6 / AAAA resolvingGravatar Christian Hesse1-1/+3
2024-03-01netwatch-notify: (mis-)use firewall address-list for lookup...Gravatar Christian Hesse2-13/+7
... and drop the racy code querying dns cache. ๐Ÿ˜
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 workaroundGravatar Christian Hesse1-4/+2
The last one did not make it... Perhaps the cache just needs a moment to settle?
2024-02-28netwatch-notify: work around race conditionGravatar Christian Hesse1-8/+12
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.
2024-02-28netwatch-notify: restore the check ๐ŸฅดGravatar Christian Hesse1-1/+2
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? ๐Ÿคจ
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...Gravatar Christian Hesse1-1/+4
... instead of else-branch. This makes sure to skip hosts that just became "unknown". (Possible soon!)
2024-02-28netwatch-notify: use logical operator, no literal "and"Gravatar Christian Hesse1-1/+1
Just like we do everywhere else.
2024-02-28doc/netwatch-notify: update for multiple recordsGravatar Christian Hesse1-3/+3
2024-02-19netwatch-notify: do not update with record in cacheGravatar Christian Hesse1-1/+2
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.
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...Gravatar Christian Hesse1-4/+4
... to prevent confusion after restore.
2024-02-02backup-partition: add a scheduler in backup...Gravatar Christian Hesse2-0/+9
... that logs a warning when backup is booted.
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...Gravatar Christian Hesse1-6/+7
... and pass script name for clean logging.
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