MXS-2414: Add max_auth_failures parameter

The parameter controls how many authentication failures are allowed until
the host is blocked. The default is 10 failures per thread.
This commit is contained in:
Markus Mäkelä
2019-04-24 09:37:36 +03:00
parent cf86b0cb7e
commit db0e491ace
5 changed files with 41 additions and 5 deletions

View File

@ -32,6 +32,7 @@
#define DEFAULT_QUERY_RETRY_TIMEOUT 5 /**< Timeout for query retries */
#define MIN_WRITEQ_HIGH_WATER 4096UL /**< Min high water mark of dcb write queue */
#define MIN_WRITEQ_LOW_WATER 512UL /**< Min low water mark of dcb write queue */
#define DEFAULT_MAX_AUTH_FAILURES 10 /**< Max allowed authentication failures */
/**
* Maximum length for configuration parameter value.