mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-25 21:34:36 +02:00
log-forward: notify on rate limit
This commit is contained in:
parent
744542e925
commit
a0d1709244
4 changed files with 4 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
# Make sure all configuration properties are up to date and this
|
# Make sure all configuration properties are up to date and this
|
||||||
# value is in sync with value in script 'global-functions'!
|
# value is in sync with value in script 'global-functions'!
|
||||||
:global GlobalConfigVersion 29;
|
:global GlobalConfigVersion 30;
|
||||||
|
|
||||||
# This is used for DNS and backup file.
|
# This is used for DNS and backup file.
|
||||||
:global Domain "example.com";
|
:global Domain "example.com";
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
# Make sure all configuration properties are up to date and this
|
# Make sure all configuration properties are up to date and this
|
||||||
# value is in sync with value in script 'global-functions'!
|
# value is in sync with value in script 'global-functions'!
|
||||||
# Comment or remove to disable change notifications.
|
# Comment or remove to disable change notifications.
|
||||||
:global GlobalConfigVersion 29;
|
:global GlobalConfigVersion 30;
|
||||||
|
|
||||||
# Copy configuration from global-config here and modify it.
|
# Copy configuration from global-config here and modify it.
|
||||||
|
|
||||||
|
|
|
@ -33,4 +33,5 @@
|
||||||
27="Added queue for Telegram notifications to resend later on error.";
|
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.";
|
28="Made 'dhcp-to-dns' act on all bound leases, not just dynamic ones.";
|
||||||
29="Added filter on log message text for 'log-forward'.";
|
29="Added filter on log message text for 'log-forward'.";
|
||||||
|
30="Implemented simple rate limit for 'log-forward' to prevent flooding.";
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/
|
# https://git.eworm.de/cgit/routeros-scripts/about/
|
||||||
|
|
||||||
# expected configuration version
|
# expected configuration version
|
||||||
:global ExpectedConfigVersion 29;
|
:global ExpectedConfigVersion 30;
|
||||||
|
|
||||||
# global variables not to be changed by user
|
# global variables not to be changed by user
|
||||||
:global GlobalFunctionsReady false;
|
:global GlobalFunctionsReady false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue