10 Commits

Author SHA1 Message Date
Markus Makela
92f8aa9965 Cleaned up qlafilter, topfilter and namedserverfilter instance creation
The change fixes a crash when no filebase parameter is given for the filter.

The instance creation functions of these filters had spossible memory leaks in
case errors in the configuration occurred. In addition to these, they would be
successfully created even if unexpected parameters were given.
2016-02-23 21:45:31 +02:00
Markus Makela
3eb0b9814f MXS-580: Added more options for filters
The tee, qlafilter, namedserverfilter and topfilter now support the same filter
options: case, ignorecase and extended. The extended filter option enables
the Extended Regular Expression syntax for the filters which is used when
matching queries.
2016-02-23 20:52:53 +02:00
Markus Makela
de6338e7d6 Added logging of matching and non-matching queries to dbfwfilter
When configured to log matching queries, the dbfwfilter will log all queries
that match a rule. The rule name, user name and the query itself are logged.

It is also possible to match all queries that do not match a rule. Only the user
name and query is logged in this mode.
2016-02-09 11:00:27 +02:00
Markus Makela
3da251f781 Added user configurable actions to dbfwfilter
The dbfwfilter can now either allow, block or ignore queries that match the
configured rules.
2016-02-09 11:00:27 +02:00
Markus Makela
36bf4ee0ce Cleaned up documentation
Fixed spelling mistakes, cleaned up formatting and added missing links.
2016-01-08 11:02:12 +02:00
Markus Makela
065e5feec3 Added missing PCRR2 documentation to regexfilter.
The regexfilter was missing the documentation for the PCRE2 changes.
2015-12-06 11:00:04 +02:00
Markus Makela
f82c7863aa Fixed spelling mistakes and cleaned up documentation
Various documents had minor problems in them that needed cleaning up.
2015-12-02 11:17:39 +02:00
Markus Makela
02954f717e Fixed spelling mistakes in documentation. 2015-11-13 10:39:21 +02:00
Markus Makela
27a6e4ab19 Added missing namedserverfilter documentation. 2015-07-10 13:51:32 +03:00
Markus Makela
f21d08be4a Added template cnf file to /etc and renamed folders. 2015-07-09 14:41:23 +03:00