Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-07-21 | capsman-download-packages: use proper array syntax | Christian Hesse | 1 | -1/+1 | |
2022-07-21 | global-functions: $IsTimeSync: cache a positive result | Christian Hesse | 1 | -0/+8 | |
The functions do not rely on perfectly synced time. About the right time is fine, that should make sure certificates are valid and mails are sent with reasonable headers. So cache the result if system is fine for later use. | |||||
2022-07-21 | global-functions: $IsTimeSync: drop the extra condition... | Christian Hesse | 1 | -1/+1 | |
... as ddns is not required to be enabled. The public address is available anyway, but not set in DNS. | |||||
2022-07-21 | global-functions: $IsTimeSync: drop old code | Christian Hesse | 1 | -8/+2 | |
In RouterOS 7.x the ntp client and server are bundled and unique and can not be unavailable. Also it does no longer have a 'last-adjustment' property... | |||||
2022-07-21 | global-functions: $IsFullyConnected: remove trailing space | Christian Hesse | 1 | -1/+1 | |
2022-07-18 | check-routeros-update: use a better check for valid version | Christian Hesse | 1 | -4/+4 | |
Currently the latest version in long-term branch is 0.0... And the script is sending downgrade notifications. 😝 Obviously that is not a valid version... With this changen a version has to be 7.0 and above to be considered valid. | |||||
2022-07-13 | Merge branch 'empty-array' into next | Christian Hesse | 19 | -30/+30 | |
2022-07-13 | sms-forward: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | netwatch-notify: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | netwatch-dns: update initialization of empty array | Christian Hesse | 1 | -2/+2 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | mod/notification-telegram: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | mod/notification-matrix: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | mod/bridge-port-vlan: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | mod/bridge-port-to: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | log-forward: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | lease-script: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | global-functions: update initialization of empty array | Christian Hesse | 1 | -7/+7 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | daily-psk: update initialization of empty array | Christian Hesse | 3 | -3/+3 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | check-lte-firmware-upgrade: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | check-health: update initialization of empty array | Christian Hesse | 1 | -2/+2 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | backup-email: update initialization of empty array | Christian Hesse | 1 | -1/+1 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-13 | accesslist-duplicates: update initialization of empty array | Christian Hesse | 3 | -6/+6 | |
Having the parenthesis here is important for valid syntax! | |||||
2022-07-11 | ... and another one | Christian Hesse | 1 | -1/+1 | |
2022-07-11 | give a heart for contributions ❤️ | Christian Hesse | 1 | -1/+1 | |
2022-07-11 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
2022-07-11 | netwatch-dns: properly check for disabled state | Christian Hesse | 1 | -2/+2 | |
The property 'disabled' can be undefined, which evaluates to enabled - but is not matched by 'disabled=no'. | |||||
2022-07-11 | daily-psk: properly check for disabled state | Christian Hesse | 2 | -2/+2 | |
The property 'disabled' can be undefined, which evaluates to enabled - but is not matched by 'disabled=no'. | |||||
2022-07-11 | check-routeros-update: drop check for package... | Christian Hesse | 1 | -6/+4 | |
... as wireless package is bundled with the system with RouterOS 7.x. | |||||
2022-07-08 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
2022-07-07 | README: show a sample news and changes notification | Christian Hesse | 2 | -0/+208 | |
2022-07-06 | global-config: new setting to disable news and change notifications...change-83 | Christian Hesse | 8 | -25/+16 | |
... and also drop the version from global-config and global-config-overlay. | |||||
2022-07-06 | global-config-overlay: update wording | Christian Hesse | 1 | -1/+1 | |
2022-07-06 | Merge branch 'netwatch' into next | Christian Hesse | 9 | -53/+74 | |
2022-07-06 | netwatch-dns: break long lines | Christian Hesse | 1 | -3/+6 | |
2022-07-06 | netwatch-notify: break long lines | Christian Hesse | 1 | -22/+38 | |
2022-07-06 | netwatch-notify: also support the name from property | Christian Hesse | 1 | -1/+2 | |
2022-07-06 | netwatch-notify: quote the host/service name | Christian Hesse | 3 | -9/+9 | |
2022-07-06 | netwatch-notify: properly handle services (http-get & tcp-conn) | Christian Hesse | 3 | -19/+21 | |
2022-07-06 | netwatch-notify: $NetwatchNotifyHook: rename variable: $Type -> $State | Christian Hesse | 1 | -6/+6 | |
2022-07-06 | netwatch-notify: rename variable: $HostName -> $Name | Christian Hesse | 1 | -13/+13 | |
2022-07-06 | netwatch-notify: rename parameter: hostname -> namechange-82 | Christian Hesse | 7 | -21/+23 | |
Starting with RouterOS 7.4 the netwatch tool has been extended, it can now do tcp and http probes. Rename the parameter for reasonable naming with services. | |||||
2022-07-06 | netwatch-notify: properly check for disabled state | Christian Hesse | 1 | -1/+1 | |
Looks like checking for 'disabled=no' fails with net netwatch in RouterOS 7.4... | |||||
2022-07-05 | doc/netwatch-dns: use default address for quad-nine | Christian Hesse | 1 | -2/+2 | |
2022-07-05 | doc/netwatch-dns: giving hostname in comment is not required | Christian Hesse | 1 | -6/+6 | |
2022-07-05 | mod/ipcalc: use $PrettyPrint | Christian Hesse | 1 | -6/+7 | |
2022-07-05 | mod/inspectvar: use $PrettyPrint | Christian Hesse | 1 | -2/+2 | |
2022-07-05 | global-functions: introduce function $PrettyPrint | Christian Hesse | 1 | -0/+10 | |
... to add trailing carriage return when printing to terminal: [admin@MikroTik] > $PrettyPrint [ $DeviceInfo ] Hostname: MikroTik Board name: hAP ac^2 Architecture: arm Model: RouterBOARD D52G-5HacD2HnD-TC Serial number: 8A2A09A221A1 RouterOS: Channel: testing Installed: 7.4rc1 RouterOS-Scripts: Current: 81 | |||||
2022-07-05 | mod/ipcalc: remove empty line | Christian Hesse | 1 | -1/+0 | |
2022-06-30 | mod/bridge-port-to: re-enable interfaces by id | Christian Hesse | 1 | -7/+3 | |
2022-06-30 | mod/bridge-port-vlan: re-enable interfaces by id | Christian Hesse | 1 | -7/+3 | |
2022-06-29 | mod/bridge-port-to: do not act on missing interface | Christian Hesse | 1 | -2/+5 | |
Happens on broken configuration or early boot... | |||||
2022-06-29 | mod/bridge-port-vlan: do not act on missing interface | Christian Hesse | 1 | -2/+5 | |
Happens on broken configuration or early boot... | |||||
2022-06-28 | README: How to remove a script... | Christian Hesse | 2 | -0/+12 | |
2022-06-28 | global-functions: $ScriptInstallUpdate: remove script on failure when installing | Christian Hesse | 1 | -1/+7 | |
2022-06-20 | mod/notification-telegram: only flush queue if fully connected | Christian Hesse | 1 | -0/+6 | |
The fetch command is not as reliable as it should be... Chances were that notifications were sent multiple times if stuck in background. Let's flush only if fully connected - and hope this fixes it. | |||||
2022-06-20 | mod/notification-matrix: only flush queue if fully connected | Christian Hesse | 1 | -0/+6 | |
The fetch command is not as reliable as it should be... Chances were that notifications were sent multiple times if stuck in background. Let's flush only if fully connected - and hope this fixes it. | |||||
2022-06-20 | global-functions: introduce function $IsFullyConnected | Christian Hesse | 1 | -0/+19 | |
2022-06-20 | global-functions: rename internal function: $TimeIsSync -> $IsTimeSync | Christian Hesse | 1 | -33/+33 | |
2022-06-20 | global-functions: rename internal function: $DNSIsResolving -> $IsDNSResolving | Christian Hesse | 2 | -17/+17 | |
2022-06-20 | global-functions: rename internal function: $DefaultRouteIsReachable -> ↵ | Christian Hesse | 1 | -11/+11 | |
$IsDefaultRouteReachable | |||||
2022-06-17 | global-functions: $WaitTimeSync: drop declaration of unused function | Christian Hesse | 1 | -1/+0 | |
2022-06-16 | fix typos: 'at lease' -> 'at least' | Christian Hesse | 4 | -5/+5 | |
2022-06-15 | drop script 'rotate-ntp'change-81 | Christian Hesse | 7 | -97/+9 | |
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 | mod/bridge-port-to: log when re-enabling interfaces | Christian Hesse | 1 | -0/+3 | |
2022-06-15 | mod/bridge-port-vlan: log when re-enabling interfaces | Christian Hesse | 1 | -0/+3 | |
2022-06-15 | mod/bridge-port-to: move reenable to correct level | Christian Hesse | 1 | -6/+6 | |
2022-06-15 | mod/bridge-port-vlan: move reenable to correct level | Christian Hesse | 1 | -6/+6 | |
2022-06-14 | global-config-overlay: fix $GlobalConfigVersion... | Christian Hesse | 1 | -1/+1 | |
Looks like I missed this in commit 5e481a768b4cea4534f5f775ce565a79cb1e3eb9. 😳 | |||||
2022-06-10 | rotate-ntp: update message to indicate resolve failed again | Christian Hesse | 1 | -1/+1 | |
2022-06-10 | rotate-ntp: do not flood the log on weak connection | Christian Hesse | 1 | -1/+8 | |
2022-06-10 | doc/mod/bridge-port-to: fix scheduler name | Christian Hesse | 1 | -1/+1 | |
2022-06-08 | log-forward: fix the pattern excluding mail errors | Christian Hesse | 1 | -4/+5 | |
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-05 | doc/mod/notification-telegram: how to use the function | Christian Hesse | 1 | -0/+10 | |
2022-06-05 | doc/mod/notification-matrix: how to use the function | Christian Hesse | 1 | -0/+10 | |
2022-06-02 | log-forward: inform about rate limit in notification | Christian Hesse | 1 | -5/+7 | |
2022-06-02 | mod/bridge-port-vlan: show vlan name in log message | Christian Hesse | 1 | -1/+2 | |
2022-06-02 | mod/bridge-port-vlan: re-enable interfaces with longer delay... | Christian Hesse | 1 | -2/+8 | |
... 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 | mod/bridge-port-to: re-enable interfaces with longer delay... | Christian Hesse | 1 | -2/+8 | |
... 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 | log-forward: use warning-sign for severity warning and up | Christian Hesse | 1 | -4/+11 | |
2022-05-20 | log-forward: change symbol for notification | Christian Hesse | 2 | -2/+3 | |
2022-05-17 | global-functions: $FlushEmailQueue: return if time is not synced | Christian Hesse | 1 | -0/+6 | |
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-16 | mod/bridge-port-to: add interface down and up | Christian Hesse | 1 | -0/+3 | |
This helps the client to detect the change. | |||||
2022-05-16 | mod/bridge-port-vlan: add interface down and up | Christian Hesse | 1 | -0/+3 | |
This helps the client to detect the change. | |||||
2022-05-16 | mod/bridge-port-vlan: remove left over comment | Christian Hesse | 1 | -1/+0 | |
2022-05-16 | log-forward: do *not* wait to be fully connected | Christian Hesse | 1 | -3/+0 | |
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-12 | notify about freeze of routeros-v7 branchchange-80 | Christian Hesse | 3 | -2/+3 | |
2022-05-12 | Merge branch 'ros-v7-path-syntax' into next | Christian Hesse | 130 | -714/+684 | |
2022-05-12 | Merge branch 'doc' into ros-v7-path-syntax | Christian Hesse | 71 | -182/+165 | |
2022-05-12 | doc/update-tunnelbroker: RouterOS v7 path syntax | Christian Hesse | 1 | -2/+2 | |
2022-05-12 | doc/update-gre-address: RouterOS v7 path syntax | Christian Hesse | 1 | -2/+2 | |
2022-05-12 | doc/unattended-lte-firmware-upgrade: RouterOS v7 path syntax | Christian Hesse | 1 | -1/+1 | |
2022-05-12 | doc/super-mario-theme: RouterOS v7 path syntax | Christian Hesse | 1 | -1/+1 | |
2022-05-12 | doc/ssh-keys-import: RouterOS v7 path syntax | Christian Hesse | 1 | -1/+1 | |
2022-05-12 | doc/sms-forward: RouterOS v7 path syntax | Christian Hesse | 1 | -2/+2 | |
2022-05-12 | doc/sms-action: RouterOS v7 path syntax | Christian Hesse | 1 | -1/+1 | |
2022-05-12 | doc/rotate-ntp: RouterOS v7 path syntax | Christian Hesse | 1 | -1/+1 | |
2022-05-12 | doc/ppp-on-up: RouterOS v7 path syntax | Christian Hesse | 1 | -1/+1 | |
2022-05-12 | doc/packages-update: RouterOS v7 path syntax | Christian Hesse | 1 | -2/+2 | |
2022-05-12 | doc/ospf-to-leds: RouterOS v7 path syntax | Christian Hesse | 1 | -2/+2 | |
2022-05-12 | doc/netwatch-syslog: RouterOS v7 path syntax | Christian Hesse | 1 | -3/+3 | |