Commit graph

1828 commits

Author SHA1 Message Date
Christian Hesse 0aeb34e5e9 mod/notification-matrix: introduce $PurgeMatrixQueue
... to purge the queue and remove the scheduler.
2023-08-06 16:35:51 +02:00
Christian Hesse 9a5d55da0d mod/notification-email: introduce $PurgeEmailQueue
... to purge the queue and remove the scheduler.
2023-08-06 16:35:51 +02:00
Christian Hesse 5b789d298b check-certificates: properly handle in place updates
This worked just kind of... The certification was updated, but script
aborted before the notification was sent.
2023-07-23 22:01:43 +02:00
Christian Hesse be97de3627 check-routeros-update: also match platform for neighbors 2023-07-15 22:05:47 +02:00
Ben Harris fbf55292a4 check-routeros-update: match version with date suffix
Neighbor version can have a date suffix. This changes to match only
on the beginning.

Closes: GH-45

Co-authored-by: Christian Hesse <mail@eworm.de>
2023-07-13 08:00:14 +02:00
Christian Hesse 313e026229 netwatch-dns: increase startup delay
In RouterOS 7.9 netwatch itself comes with a (default) startup-delay of five
minutes. Increase our delay to make sure netwatch is active.
2023-06-28 11:29:02 +02:00
Christian Hesse 6247b739a1 netwatch-notify: drop the delay on startup...
... now that in RouterOS 7.9 netwatch itself comes with a startup-delay.
Hosts in state 'unknown' are just ignored.
2023-06-28 11:29:02 +02:00
Christian Hesse 3ed124a013 README: reference stable version 2023-06-28 11:29:02 +02:00
Christian Hesse 08e9634154 global-functions: $MkDir: drop extra block, restore indention
We had this to make the previous commit cleaner. No functional change.
2023-06-28 11:29:02 +02:00
Christian Hesse 5db9a71802 global-functions: $MkDir: drop old code with smb workaround...
... and increase required RouterOS.
2023-06-28 11:29:02 +02:00
Christian Hesse a030e2f946 Merge branch 'hotspot-to-wpa' into next 2023-06-28 11:26:51 +02:00
Christian Hesse 64ab9eec67 hotspot-to-wpa-cleanup: drop hard-coded timeout, get from comment
This keeps the default of four weeks, though.
2023-06-28 11:26:51 +02:00
Christian Hesse 16a551a0ee hotspot-to-wpa-cleanup: drop hard-coded server name, find by comment 2023-06-28 11:26:51 +02:00
Christian Hesse 0c8bc60648 hotspot-to-wpa: reject for two seconds...
... to make the device send a new DHCP request after.
2023-06-28 11:04:13 +02:00
Christian Hesse f8a2b88692 hotspot-to-wpa: support non-local users
This has some limitations, though: The password is not known and
additional configuration can not be given in user's comment.
2023-06-28 11:04:13 +02:00
Christian Hesse 5ba34c819a doc/sms-forward: link the RouterOS button to changelog 2023-06-27 17:27:13 +02:00
Christian Hesse edbb52d4e7 doc/mod/ssh-keys-import: link the RouterOS button to changelog 2023-06-27 17:27:13 +02:00
Christian Hesse 4e411728e6 README: link the RouterOS button to changelog 2023-06-27 17:27:13 +02:00
Christian Hesse 3bdaf6e45d Merge branch 'no-escape-question-mark' into next 2023-06-27 09:14:36 +02:00
Christian Hesse 640b8fd401 global-functions: $IsTimeSync: calculate with uptime, drop scheduler 2023-06-27 09:14:36 +02:00
Christian Hesse cc5820ed90 update-tunnelbroker: escaping question mark is no longer required 2023-06-27 09:14:36 +02:00
Christian Hesse 0502cf17c9 mod/scriptrunonce: escaping question mark is no longer required 2023-06-27 09:14:36 +02:00
Christian Hesse a1b896a5d3 mod/notification-email: escaping question mark is no longer required 2023-06-27 09:14:36 +02:00
Christian Hesse 0af1fa4009 global-functions: escaping question mark is no longer required 2023-06-27 09:14:36 +02:00
Christian Hesse 29f0a14b7e global-config: escaping question mark is no longer required 2023-06-27 09:14:36 +02:00
Christian Hesse ec7adcf78e update-tunnelbroker: rework the retry-loop 2023-06-23 09:49:34 +02:00
Christian Hesse eb3b4d169e fw-addr-lists: retry to download on failure 2023-06-23 09:49:34 +02:00
Christian Hesse 351c7d31ff mode-button: add dollar sign in scheduler name 2023-06-22 22:45:32 +02:00
Christian Hesse 4a67155d05 packages-update: rename scheduler to match function name 2023-06-22 22:45:32 +02:00
Christian Hesse 6469825398 global-functions: $IsTimeSync: reset ntp client when "waiting"
Every now and then the ntp client stays in status "waiting" forever...
This happens if the server answers, but is not accurate enough. Unlike
with connection failure the address is not rotated. (SUP-120012)

Let's reset it... Should help with a pool address (like pool.ntp.org)
at least.
2023-06-22 22:45:32 +02:00
Christian Hesse e7d9a94ad8 update list of contributors 2023-06-14 18:29:29 +02:00
Christian Hesse 3358dcb0e7 Merge branch 'fw-addr-lists' into next 2023-06-13 20:28:25 +02:00
Christian Hesse 94b07600ba fw-addr-lists: support domain names in lists 2023-06-13 20:26:55 +02:00
Christian Hesse 458fe7c088 fw-addr-lists: prepare lists from spamhaus.org in config 2023-06-13 20:26:55 +02:00
Christian Hesse 3c61cf57c4 certs: add Cloudflare certificates...
... for later use.
2023-06-13 20:26:55 +02:00
Christian Hesse 53ad7b717d fw-addr-lists: add lists from abuse.ch in config 2023-06-13 20:26:55 +02:00
Christian Hesse 589492621b certs: add GlobalSign certificates...
... for later use.
2023-06-13 20:26:55 +02:00
Christian Hesse e19e33d0a8 introduce fw-addr-lists 2023-06-13 20:26:55 +02:00
Christian Hesse 196fe1b010 global-functions: $CertificateDownload: add proper version in user agent 2023-06-13 12:53:38 +02:00
Christian Hesse 1e29eeb388 gps-track: add error handling 2023-06-13 09:28:32 +02:00
Christian Hesse 679c971ea6 gps-track: wait to be fully connected 2023-06-13 09:07:57 +02:00
Christian Hesse db223429b7 Merge branch 'script-lock' into next 2023-06-13 09:07:57 +02:00
Christian Hesse befa739e11 update-tunnelbroker: lock the script 2023-06-13 09:07:57 +02:00
Christian Hesse 2861610e5a update-gre-address: lock the script 2023-06-13 09:07:57 +02:00
Christian Hesse cc3a017507 ospf-to-leds: lock the script 2023-06-13 09:07:57 +02:00
Christian Hesse de750f0559 ipv6-update: lock the script 2023-06-13 09:07:57 +02:00
Christian Hesse 878e1f66f2 ipsec-to-dns: lock the script 2023-06-13 09:07:57 +02:00
Christian Hesse f375b7fbf7 gps-track: lock the script 2023-06-13 09:00:15 +02:00
Christian Hesse 4176fd058e hotspot-to-wpa: lock the script 2023-06-13 08:58:32 +02:00
Christian Hesse 51ebbd46d9 firmware-upgrade-reboot: lock the script 2023-06-13 08:58:32 +02:00