log-forward: notify on rate limit

This commit is contained in:
Christian Hesse 2020-09-28 20:26:29 +02:00
parent 744542e925
commit a0d1709244
4 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@
# Make sure all configuration properties are up to date and this
# value is in sync with value in script 'global-functions'!
:global GlobalConfigVersion 29;
:global GlobalConfigVersion 30;
# This is used for DNS and backup file.
:global Domain "example.com";

View file

@ -9,7 +9,7 @@
# Make sure all configuration properties are up to date and this
# value is in sync with value in script 'global-functions'!
# Comment or remove to disable change notifications.
:global GlobalConfigVersion 29;
:global GlobalConfigVersion 30;
# Copy configuration from global-config here and modify it.

View file

@ -33,4 +33,5 @@
27="Added queue for Telegram notifications to resend later on error.";
28="Made 'dhcp-to-dns' act on all bound leases, not just dynamic ones.";
29="Added filter on log message text for 'log-forward'.";
30="Implemented simple rate limit for 'log-forward' to prevent flooding.";
};

View file

@ -8,7 +8,7 @@
# https://git.eworm.de/cgit/routeros-scripts/about/
# expected configuration version
:global ExpectedConfigVersion 29;
:global ExpectedConfigVersion 30;
# global variables not to be changed by user
:global GlobalFunctionsReady false;