Commit graph

1961 commits

Author SHA1 Message Date
Christian Hesse
b1ad89b1b5 global-functions: rename internal function: $TimeIsSync -> $IsTimeSync 2022-06-20 11:29:49 +02:00
Christian Hesse
9aa82316c8 global-functions: rename internal function: $DNSIsResolving -> $IsDNSResolving 2022-06-20 11:29:49 +02:00
Christian Hesse
0ee38a4303 global-functions: rename internal function: $DefaultRouteIsReachable -> $IsDefaultRouteReachable 2022-06-20 11:29:49 +02:00
Christian Hesse
f628ef73fd global-functions: $WaitTimeSync: drop declaration of unused function 2022-06-17 00:04:24 +02:00
Christian Hesse
3002990319 fix typos: 'at lease' -> 'at least' 2022-06-16 23:56:36 +02:00
Christian Hesse
b3de1fad34 drop script 'rotate-ntp'
For RouterOS 6.x a separate package 'ntp' exists. This adds server
functionality, but allows ip addresses for the client only. I added the
script 'rotate-ntp' to update addresses from names...

Now with RouterOS 7.x there's no extra package and the limitation does
no longer exist. So let's just drop the script.

This adds migration code, that...
 * removes the script from configuration
 * removes a scheduler from configuration
 * sets the configured ntp pool name for ntp client
2022-06-15 16:39:49 +02:00
Christian Hesse
66b7fccd30 mod/bridge-port-to: log when re-enabling interfaces 2022-06-15 16:39:49 +02:00
Christian Hesse
1e894289ea mod/bridge-port-vlan: log when re-enabling interfaces 2022-06-15 16:39:49 +02:00
Christian Hesse
5dc23dd267 mod/bridge-port-to: move reenable to correct level 2022-06-15 10:01:48 +02:00
Christian Hesse
5b3b3e182b mod/bridge-port-vlan: move reenable to correct level 2022-06-15 10:01:48 +02:00
Christian Hesse
e9f00df290 global-config-overlay: fix $GlobalConfigVersion...
Looks like I missed this in commit 5e481a768b.
😳
2022-06-14 21:26:09 +02:00
Christian Hesse
dafeeabdb4 rotate-ntp: update message to indicate resolve failed again 2022-06-10 11:22:46 +02:00
Christian Hesse
c7087ac4fe rotate-ntp: do not flood the log on weak connection 2022-06-10 11:22:46 +02:00
Christian Hesse
782bbb2c90 doc/mod/bridge-port-to: fix scheduler name 2022-06-10 11:22:46 +02:00
Christian Hesse
e9780d9b4e log-forward: fix the pattern excluding mail errors
This looked smart, but did not work... 🤪
Unicode characters have to be in place to make $QuotedPrintable have an
effect. So fix it... We have duplicate pattern if symbols are disabled,
but that does not hurt.
2022-06-08 21:05:08 +02:00
Christian Hesse
aa7e9adbd7 doc/mod/notification-telegram: how to use the function 2022-06-05 22:50:57 +02:00
Christian Hesse
648ce9c3bd doc/mod/notification-matrix: how to use the function 2022-06-05 22:50:23 +02:00
Christian Hesse
f0f05be8a9 log-forward: inform about rate limit in notification 2022-06-02 11:14:36 +02:00
Christian Hesse
09d88ad91c mod/bridge-port-vlan: show vlan name in log message 2022-06-02 11:14:36 +02:00
Christian Hesse
9942918580 mod/bridge-port-vlan: re-enable interfaces with longer delay...
... and in one go to limit the overall runtime.

Looks like IPv6 addresses are not flushed if the link down does not last
long enough (~ 2 seconds on linux). This results on stale addresses
after switching the vlan, which breaks connectivity.
2022-06-02 11:14:36 +02:00
Christian Hesse
3d8ca10a91 mod/bridge-port-to: re-enable interfaces with longer delay...
... and in one go to limit the overall runtime.

Looks like IPv6 addresses are not flushed if the link down does not last
long enough (~ 2 seconds on linux). This results on stale addresses
after switching bridge, which breaks connectivity.
2022-06-02 11:14:36 +02:00
Christian Hesse
61c9b29ec3 log-forward: use warning-sign for severity warning and up 2022-06-02 11:14:36 +02:00
Christian Hesse
89f4c91ccf log-forward: change symbol for notification 2022-05-20 08:33:22 +02:00
Christian Hesse
3139b14c67 global-functions: $FlushEmailQueue: return if time is not synced
The local system time is used in the mail header. We do not want the
mails to be sent in the past, so return early (and thus wait for time
being synced).
2022-05-17 21:11:03 +02:00
Christian Hesse
8c31a06b39 mod/bridge-port-to: add interface down and up
This helps the client to detect the change.
2022-05-16 22:48:26 +02:00
Christian Hesse
4e7c1df7ee mod/bridge-port-vlan: add interface down and up
This helps the client to detect the change.
2022-05-16 22:27:01 +02:00
Christian Hesse
194f14cc13 mod/bridge-port-vlan: remove left over comment 2022-05-16 22:26:23 +02:00
Christian Hesse
0e73f85c11 log-forward: do *not* wait to be fully connected
Let's forward logs as early as possible.

All notification functions are expected to handle notifications with
queues, so nothing is lost. Just the opposite: Logs being rotated before
forwarding becomes less likely.
2022-05-16 12:42:38 +02:00
Christian Hesse
5e481a768b notify about freeze of routeros-v7 branch 2022-05-12 11:05:10 +02:00
Christian Hesse
df547b87a4 Merge branch 'ros-v7-path-syntax' into next 2022-05-12 11:04:43 +02:00
Christian Hesse
12655bd58a Merge branch 'doc' into ros-v7-path-syntax 2022-05-12 11:04:12 +02:00
Christian Hesse
09d926ed2f doc/update-tunnelbroker: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
f759a9a52e doc/update-gre-address: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
347cb4f3b6 doc/unattended-lte-firmware-upgrade: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
c2637ee72c doc/super-mario-theme: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
4ca43dcde3 doc/ssh-keys-import: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
06509f6af4 doc/sms-forward: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
25d11f798d doc/sms-action: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
45232019f4 doc/rotate-ntp: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
d9d2d67a4e doc/ppp-on-up: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
eb014b26b2 doc/packages-update: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
47b6f8941a doc/ospf-to-leds: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
6f76a41962 doc/netwatch-syslog: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
7561c719d1 doc/netwatch-notify: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
9ef2718c6d doc/netwatch-dns: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
2ed561d13b doc/mode-button: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
95a75b3fa1 doc/mod/scriptrunonce: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
76127ed53c doc/mod/notification-matrix: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
344ae8a55d doc/mod/ipcalc.d/ipcalc: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00
Christian Hesse
f00ff997a4 doc/mod/inspectvar: RouterOS v7 path syntax 2022-05-12 11:04:00 +02:00