diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-23 17:08:58 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-23 17:08:58 +0300 |
commit | 689855e2bb5a1c911bab1f71da9aa963a8da62a2 (patch) | |
tree | be0ceaeb9aa5107ef8807625a06a1ff400e54994 /src/cfg_file.h | |
parent | 4aa3b704739e3398402fbbef1216ae588ff9be2e (diff) | |
download | rspamd-689855e2bb5a1c911bab1f71da9aa963a8da62a2.tar.gz rspamd-689855e2bb5a1c911bab1f71da9aa963a8da62a2.zip |
* Add throttling detection mechanic for dns resolver
* Improve phishing module adding ability to define 'strict' phishing domains
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index 3a9a7d12e..6fb4065e5 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -320,6 +320,8 @@ struct config_file { guint32 dns_timeout; /**< timeout in milliseconds for waiting for dns reply */ guint32 dns_retransmits; /**< maximum retransmits count */ + guint32 dns_throttling_errors; /**< maximum errors for starting resolver throttling */ + guint32 dns_throttling_time; /**< time in seconds for DNS throttling */ GList *nameservers; /**< list of nameservers or NULL to parse resolv.conf */ }; |