[MXS-2048] Rewrite dbfwfilter module command documentation Created: 2018-09-13  Updated: 2019-01-06  Resolved: 2019-01-06

Status: Closed
Project: MariaDB MaxScale
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 2.2.19

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

The syntax used is not how one uses the command:

dbfwfilter::rules/reload



 Comments   
Comment by Wagner Bianchi (Inactive) [ 2018-09-13 ]

Thanks Markus, it seems it's working this way:

[root@mxs01 ~]# maxadmin show filters
Filter 0x16f88a0 (DBFirewall)
	Module:      dbfwfilter
Firewall Filter
Rule, Type, Times Matched
_limit, THROTTLE, 0
_no_where, CLAUSE, 0
_delete, REGEX, 0
_show, REGEX, 1
_select, REGEX, 7
 
[root@mxs01 ~]# maxadmin call command dbfwfilter rules/reload DBFirewall /var/lib/maxscale/rules.fw

And the log (/var/log/maxscale/maxscale.log) will show the below event:

2018-09-13 15:14:01.415   notice : (32) [dbfwfilter] (do_reload_rules): Reloaded rules from: /var/lib/maxscale/rules.fw

Generated at Thu Feb 08 04:11:18 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.