Christian Hesse
87b136f3a9
mod/notification-email: handle new property name...
...
... which changed in RouterOS 7.12rc1.
2023-10-06 21:42:00 +02:00
Christian Hesse
702abd2a5d
log-forward: add 'raw' in default filter...
...
... which is used when logging raw packets or commands.
2023-10-05 22:20:32 +02:00
Christian Hesse
fedda2a946
collect-wireless-mac: ignore remote aps...
...
... which are listed here in station mode.
2023-10-05 22:08:26 +02:00
Christian Hesse
eef0662aa7
netwatch-notify: allow to give different origin for hosts...
...
... to use differing notification settings.
Add an origin name in netwatch configuration:
/tool/netwatch/add comment="notify, name=dns-google, origin=netwatch-notify-google" address=8.8.8.8;
/tool/netwatch/add comment="notify, name=dns-cloudflare, origin=netwatch-notify-cloudflare" address=1.1.1.1;
Then configure the notification settings in `global-config-overlay`:
:global EmailGeneralToOverride {
"netwatch-notify-google"="google@example.com";
"netwatch-notify-cloudflare"="cloudflare@example.com";
}
I think it is best to handle this as a hidden setting...
Handle with care!
2023-09-29 14:15:41 +02:00
Christian Hesse
4c6c30550f
collect-wireless-mac: filter on dns type
2023-09-22 12:29:15 +02:00
Christian Hesse
57c5c3f704
collect-wireless-mac: add CNAME(s) in notification
2023-09-20 12:26:49 +02:00
Christian Hesse
4ddc6be585
global-functions: split off $FormatMultiLines ...
...
... to format multiple lines from an array.
2023-09-18 07:55:05 +02:00
Christian Hesse
557823c5c1
telegram-chat: create status files with /file/add
...
We have no content, thus no issues with file size.
2023-09-15 09:54:59 +02:00
Christian Hesse
66ebcf2bbd
telegram-chat: use the full command name :execute
2023-09-15 09:54:59 +02:00
Christian Hesse
5349c9b52e
global-functions: $EitherOr: properly handle time values
2023-09-15 09:54:59 +02:00
Christian Hesse
2a10f43acc
drop dummy scripts used for wifiwave2 migration
...
This now causes expected warnings on first run of $ScriptInstallUpdate.
2023-09-13 16:08:59 +02:00
Christian Hesse
110bb793b6
check-routeros-update: do not match the channel on neighbor update
...
While this works for stable, it does not for testing: The testing
channel can have "testing" in the string for rc releases, but also
"development" for beta releases... and possibly more.
Instead match on version string only, with word boundary.
2023-09-13 16:08:59 +02:00
Christian Hesse
46e48497d5
lease-script: match on word boundary
2023-09-13 16:08:59 +02:00
Christian Hesse
8b8bc7cf2d
packages-update: match on word boundary
2023-09-13 16:08:59 +02:00
Christian Hesse
5d80b63f36
doc/packages-update: mention and link all backup scripts
2023-09-13 16:08:59 +02:00
Christian Hesse
66813d83a0
packages-update: drop order from message
2023-09-13 16:08:59 +02:00
Christian Hesse
c3f9ad1df7
packages-update: implement backup script order
2023-09-13 01:14:27 +02:00
Christian Hesse
50429a0ad8
fw-addr-lists: no (mixed) capitalization in message
2023-09-06 11:35:02 +02:00
Christian Hesse
57027ceb26
check-routeros-update: show neighbor's identity in message and notification
2023-08-31 09:40:09 +02:00
Christian Hesse
7b47ed7ea5
check-routeros-update: support update from specific neighbor(s)
...
... by matching the identity property.
2023-08-31 09:40:09 +02:00
Christian Hesse
49d85c6def
backup-upload: revert changes, add comment with warning
...
Turned out that using `/file/add ...` introduced a regression. Accessing
(reading and writing) file contents is limited to 4095 bytes.
This limitation does not exist for `:execute script=... file=...`, so
keep the old code. Also add a comment with warning.
2023-08-30 09:30:25 +02:00
Christian Hesse
ce822a0276
backup-email: revert changes, add comment with warning
...
Turned out that using `/file/add ...` introduced a regression. Accessing
(reading and writing) file contents is limited to 4095 bytes.
This limitation does not exist for `:execute script=... file=...`, so
keep the old code. Also add a comment with warning.
2023-08-30 09:30:25 +02:00
Christian Hesse
f099c2c9ea
backup-upload: check configuration size before writing file
2023-08-30 09:30:25 +02:00
Christian Hesse
1e247542a5
backup-email: check configuration size before writing file
2023-08-30 09:30:25 +02:00
Christian Hesse
f86cf27aa3
backup-upload: detect failure creating config file
2023-08-29 08:58:50 +02:00
Christian Hesse
07c6f5836a
backup-email: detect failure creating config file
2023-08-29 08:58:50 +02:00
Christian Hesse
ffc7521a35
backup-email: support indication of failure
2023-08-29 08:58:50 +02:00
Christian Hesse
3c96db5824
backup-email: write config file directly
...
This functionality was added in RouterOS 7.9beta4...
2023-08-29 08:58:50 +02:00
Christian Hesse
1dd1c5b03c
backup-upload: write config file directly
...
This functionality was added in RouterOS 7.9beta4...
2023-08-29 08:58:50 +02:00
Christian Hesse
16844b935a
hotspot-to-wpa-cleanup: show last-seen, not timeout
2023-08-29 08:58:50 +02:00
Christian Hesse
5b5c91da84
hotspot-to-wpa-cleanup: require RouterOS for wifiwave2
...
RouterOS before version 7.12beta3 had a bug where getting comment from
registration-table is not possible. Require that version at least.
This was fixed in SUP-124500.
2023-08-24 08:35:07 +02:00
Christian Hesse
047c74a4b3
global-functions: prepare user-agent for fetch in global variable
2023-08-18 15:23:20 +02:00
Christian Hesse
53a80c81b1
mod/ssh-keys-import: $SSHKeysImport: add check for key type
2023-08-18 15:23:20 +02:00
Christian Hesse
ad6825571d
mod/ssh-keys-import: support ed25519 keys...
...
... with RouterOS 7.12beta1
2023-08-18 15:23:20 +02:00
Christian Hesse
413be6f504
doc/mod/ssh-keys-import: drop duplicate key type
...
Stupid copy'n'paste error... 🫣
2023-08-18 15:23:20 +02:00
Christian Hesse
25d40688f7
sms-forward: drop RouterOS version dependency
...
... as global-functions depend on RouterOS 7.9beta already.
2023-08-18 15:23:20 +02:00
Christian Hesse
c04bf2c9b7
netwatch-notify: drop RouterOS version dependency
...
... as global-functions depend on RouterOS 7.9beta already.
2023-08-18 15:23:20 +02:00
Christian Hesse
ddd5608b38
mod/ssh-keys-import: drop RouterOS version dependency
...
... as global-functions depend on RouterOS 7.9beta already.
2023-08-18 15:23:20 +02:00
Christian Hesse
2c3e077b8e
Merge branch 'wifiwave2' into next
2023-08-15 11:26:18 +02:00
Christian Hesse
92aca1aac0
news and migration for wifiwave2
2023-08-15 11:26:18 +02:00
Christian Hesse
6552b0c02d
hotspot-to-wpa: convert to template, split capsman & wifiwave2
2023-08-09 16:30:18 +02:00
Christian Hesse
8ce1683733
daily-psk: add support for wifiwave2
2023-08-09 16:30:18 +02:00
Christian Hesse
6d76704a97
dhcp-lease-comment: add support for wifiwave2
2023-08-09 16:30:18 +02:00
Christian Hesse
bac4a460f0
collect-wireless-mac: add support for wifiwave2
2023-08-09 16:30:18 +02:00
Christian Hesse
d086e4a05f
accesslist-duplicates: add support for wifiwave2
2023-08-09 16:30:18 +02:00
Christian Hesse
d0ab951e3f
capsman-download-packages: download a default set for wifiwave2
...
Well, AX devices can be arm or arm64... So let's just download packages
'routeros' and 'wifiwave2' - crossing fingers... 🤞
2023-08-09 16:30:18 +02:00
Christian Hesse
3cab917a61
capsman-download-packages: no download of missing package for wifiwave2
...
Sadly the log messages from wifiwave2 do not contain any hint what is
missing... So it's not possible to download missing files.
2023-08-09 16:30:18 +02:00
Christian Hesse
8428ba890d
Makefile: support excluding blocks from templates
2023-08-09 16:30:18 +02:00
Christian Hesse
e6964b4348
capsman-rolling-upgrade: convert to template, split capsman & wifiwave2
2023-08-09 16:30:18 +02:00
Christian Hesse
5e3d9d7460
capsman-download-packages: convert to template, split capsman & wifiwave2
2023-08-09 16:30:18 +02:00