Commit graph

1706 commits

Author SHA1 Message Date
Christian Hesse 9dead9cc33 mod/bridge-port-vlan: increase the delay before re-enabling
Looks like two seconds is way too short... NetworkManager act after five
seconds - so let's delay that time at least.

https://networkmanager.dev/docs/api/latest/NetworkManager.conf.html#carrier-wait-timeout
2023-04-25 09:43:50 +02:00
Christian Hesse 19eb8653af Merge branch 'dhcp-to-dns' into next 2023-04-24 22:26:26 +02:00
Christian Hesse 83e57e6aab Merge branch 'FormatLine' into next 2023-04-24 22:26:26 +02:00
Christian Hesse ee94024dca dhcp-to-dns: get domain from dhcp server's network definition 2023-04-24 22:26:26 +02:00
Christian Hesse 82b5ae174a mod/ipcalc: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse ac5d84173f dhcp-to-dns: rename variable to not clash with global one 2023-04-24 22:26:26 +02:00
Christian Hesse 944b2f5864 daily-psk: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse 79cdefbd1e dhcp-to-dns: handle change of domain 2023-04-24 22:26:26 +02:00
Christian Hesse b705ceae59 collect-wireless-mac: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse 517bb4ede8 dhcp-to-dns: get all values of dns record 2023-04-24 22:26:26 +02:00
Christian Hesse 3f9480f9f2 check-lte-firmware-upgrade: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse 4c416cb39e dhcp-to-dns: handle duplicate leases earlier 2023-04-24 22:26:26 +02:00
Christian Hesse b1cb4cb10f check-health: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse f3876b0637 dhcp-to-dns: handle dns record by comment and type 2023-04-24 22:26:26 +02:00
Christian Hesse 7ed70bdb26 check-certificates: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse bac6a72d51 backup-upload: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse 637b5e21da backup-email: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse 31553f86a6 backup-cloud: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse fb12aabf3e global-functions: $DeviceInfo: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse cb338c76a8 global-functions: introduce $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse fb9feea595 check-certificates: add certificate name in notification subject 2023-04-19 22:05:43 +02:00
Christian Hesse be0bbe80d9 check-routeros-update: add version in notification subject 2023-04-19 22:05:43 +02:00
Christian Hesse baf6b3ae17 README: make the screenshot match the example 2023-04-19 08:28:32 +02:00
Christian Hesse 69ea231efc README: make the Telegram QR code a link 2023-04-18 23:14:37 +02:00
Christian Hesse f7eb123f3d README: add a donate button to badges 2023-04-18 23:14:37 +02:00
Christian Hesse 5324bffd84 README: generate a donate buttom from shields.io 2023-04-18 23:14:37 +02:00
Christian Hesse b4fbd65f55 README: note about breaking changes 2023-04-17 11:00:52 +02:00
Christian Hesse f1c634b984 README: add badge to link Telegram group 2023-04-16 22:07:54 +02:00
Christian Hesse 03bf3d67a0 Merge branch 'check-certificates' into next 2023-04-07 23:43:45 +02:00
Christian Hesse f14788a104 check-certificates: properly escape the name for regex 2023-04-07 23:36:09 +02:00
Christian Hesse 9617095022 check-certificates: try all SANs for download 2023-04-07 23:36:09 +02:00
Christian Hesse 922dde3ff0 check-certificates: make the function return a status 2023-04-07 23:01:32 +02:00
Christian Hesse 46110661e0 check-certificates: do not rename certificates without common-name 2023-04-07 23:01:20 +02:00
Christian Hesse 11093045f3 check-certificates: download and import in a local function 2023-04-07 22:53:33 +02:00
Christian Hesse 4073daa139 check-certificates: include SANs in information 2023-04-07 22:53:33 +02:00
Christian Hesse f585b6ee32 README: add badge to hint required RouterOS version 2023-04-06 20:33:01 +02:00
Christian Hesse 706e4de6d1 check-certificates: show CommonName only if available 2023-04-06 20:33:01 +02:00
Christian Hesse a263fcdec2 check-certificates: format information in a local function 2023-04-06 20:33:01 +02:00
Christian Hesse a1f6bd532b mod/scriptrunonce: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse 61e0e052a6 mod/notification-telegram: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse b7cb722b5c mod/notification-matrix: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse 9136bf28bd mod/notification-email: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse 8edf694b54 mod/ipcalc: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse b6f9094c3d mod/inspectvar: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse 68364d4a50 doc/check-health: use an unusual interval 2023-03-31 17:45:55 +02:00
Christian Hesse 415c4144f2 global-functions: $VersionToNum: support "alpha" in version string 2023-03-30 20:58:19 +02:00
Christian Hesse 5f374c469a global-functions: $RequiredRouterOS: accept "alpha" in version string 2023-03-30 20:50:55 +02:00
Christian Hesse 779b3b8872 dhcp-to-dns: use better condition
The condition worked, but could match others (AAAA, NXDOMAIN, ...) as
well (though these should not exist).

The problem is that matching with `type=A` does not return any results.
For historical reasons A records have no type, thus can be matched with
`!type`. I opened an issue to fix this... (SUP-111312)

So let's assum `!type` works and `type=A` could become valid...
2023-03-29 15:49:41 +02:00
Christian Hesse 3d0107ed2c contrib/notification.html: add and load the script 2023-03-29 15:35:07 +02:00
Christian Hesse 9d823448f6 contrib/notification.html: fix warnings and errors
Checked with W3C validator: https://validator.w3.org/
2023-03-29 15:30:21 +02:00