diff options
author | Christian Hesse <mail@eworm.de> | 2020-09-28 20:26:29 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-09-28 20:26:29 +0200 |
commit | a0d170924450341fd1229a40e7095763c1440dfe (patch) | |
tree | 12dae25745fb4e8b163b9982b4cf7f55622c1b98 | |
parent | 744542e92539eb6ad39c84eca05258f82e1dd47a (diff) |
log-forward: notify on rate limitchange-30
-rw-r--r-- | global-config | 2 | ||||
-rw-r--r-- | global-config-overlay | 2 | ||||
-rw-r--r-- | global-config.changes | 1 | ||||
-rw-r--r-- | global-functions | 2 |
4 files changed, 4 insertions, 3 deletions
diff --git a/global-config b/global-config index 446628f..c828a97 100644 --- a/global-config +++ b/global-config @@ -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"; diff --git a/global-config-overlay b/global-config-overlay index 93c55ae..f76fac3 100644 --- a/global-config-overlay +++ b/global-config-overlay @@ -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. diff --git a/global-config.changes b/global-config.changes index 605ceac..8253c15 100644 --- a/global-config.changes +++ b/global-config.changes @@ -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."; }; diff --git a/global-functions b/global-functions index e6eb93b..ad5651e 100644 --- a/global-functions +++ b/global-functions @@ -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; |