aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAndrej Z <andrejzverev@users.noreply.github.com>2016-06-17 13:14:23 +0300
committerGitHub <noreply@github.com>2016-06-17 13:14:23 +0300
commit7420e6c79d2765f2fed8f8cd1bbde58c430d8b04 (patch)
tree8306cfc63560309b47960a4876027215e4d064e4 /doc
parentbc887dbaff7233ef9ac6ca430aebecc550948dac (diff)
downloadrspamd-7420e6c79d2765f2fed8f8cd1bbde58c430d8b04.tar.gz
rspamd-7420e6c79d2765f2fed8f8cd1bbde58c430d8b04.zip
Update fuzzy_storage.md
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/workers/fuzzy_storage.md16
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/markdown/workers/fuzzy_storage.md b/doc/markdown/workers/fuzzy_storage.md
index ad955a46a..4a5694591 100644
--- a/doc/markdown/workers/fuzzy_storage.md
+++ b/doc/markdown/workers/fuzzy_storage.md
@@ -103,8 +103,18 @@ generally `match_count / shingles_count`.
Fuzzy storage accepts the following extra options:
-- `database` - path to the sqlite storage
-- `expire` - time value for hashes expiration
+- `hashfile` - path to the sqlite storage (where are also few outdated aliases for this command exist: hash_file, file, database)
+- `sync` - time to perform database sync in seconds, default value: 60
+- `expire` - time value for hashes expiration in seconds, default value: 2 days
+- `keypair` - encryption keypair (can be repeated for different keys), can be obtained via *rspamadm keypair -u* command
+- `keypair_cache_size` - Size of keypairs cache, default value: 512
+- `encrypted_only` - allow encrypted requests only (and forbid all unknown keys or plaintext requests)
+- `master_timeout` - master protocol IO timeout
+- `sync_keypair` - encryption key for master/slave updates
+- `masters` - string, allow master/slave updates from the following IP addresses
+- `master_key` - allow master/slave updates merely using the specified key
+- `slave` - list of slave hosts.
+- `mirror` - list of slave hosts, same as `slave`
- `allow_update` - string, array of strings or a map of IP addresses that are allowed
to perform changes to fuzzy storage (you should also set `read_only = no` in your fuzzy_check plugin).
@@ -114,7 +124,7 @@ Here is an example configuration of fuzzy storage:
worker {
type = "fuzzy";
bind_socket = "*:11335";
- hash_file = "${DBDIR}/fuzzy.db"
+ hashfile = "${DBDIR}/fuzzy.db"
expire = 90d;
allow_update = "127.0.0.1";
}