Document error code and SQL state for blocked queries
If the dbfwfilter blocks a query a specific error is returned. This was not documented and is needed to detect errors sent by the filter.
This commit is contained in:
@ -88,6 +88,9 @@ action=block
|
||||
rules=/home/user/blacklist-rules.txt
|
||||
```
|
||||
|
||||
If a query is blocked, the filter will return an error to the client with the
|
||||
error number 1141 and an SQL state of HY000.
|
||||
|
||||
#### `log_match`
|
||||
|
||||
Log all queries that match a rule. For the `any` matching mode, the name of the
|
||||
|
Reference in New Issue
Block a user