aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Unify http code for client and server.Vsevolod Stakhov2014-01-091-1/+1
|
* Fix simultaneous bind to ipv6 and ipv6 sockets.Vsevolod Stakhov2014-01-091-64/+116
|
* Add include_map macro to ucl language.Vsevolod Stakhov2014-01-051-0/+90
|
* Fix reload of rspamd.Vsevolod Stakhov2013-12-251-28/+0
|
* Use sockets pool for DNS requests.Vsevolod Stakhov2013-12-181-0/+2
| | | | Inspired by: Vadim Goncharov
* Fix unix sockets for workers binding.Vsevolod Stakhov2013-12-051-1/+1
|
* Fix misprint.Vsevolod Stakhov2013-12-041-1/+1
|
* Init logging just after config is parsed by ucl.Vsevolod Stakhov2013-12-041-2/+10
|
* Rework fuzzy check module.Vsevolod Stakhov2013-12-041-1/+3
| | | | | | | | | | - Now all checks are organized to rules. - Allow to specify read_only rules to avoid problems on learning. - Use better normalizer for fuzzy module and it now returns values from 0 to 1.0 (like bayes does). - Update configuration accordingly. - Drop legacy configuration support. - Detect tanh as well and provide some reasonable (linear) fallback.
* Use ucl variables.Vsevolod Stakhov2013-11-241-0/+33
|
* Allow dump of invalid xml to ucl format.Vsevolod Stakhov2013-11-211-10/+19
|
* Remove legacy stuff.Vsevolod Stakhov2013-11-211-221/+0
|
* Do not ignore case for keys in config.Vsevolod Stakhov2013-11-201-1/+1
|
* Fix options in statfiles.Vsevolod Stakhov2013-11-151-4/+0
|
* Handle views in ucl.Vsevolod Stakhov2013-11-141-2/+3
|
* Expand path in file maps.Vsevolod Stakhov2013-11-131-133/+0
|
* Add support of path variables.Vsevolod Stakhov2013-11-131-0/+133
| | | | | | | | Support expanding of path variables in rspamd: - $CONFDIR: configuration directory - $LOCALSTATESDIR: local states directory - $INSTALLPREFIX: installation prefix - $VERSION: rspamd version
* Do not crash on an invalid xml config.Vsevolod Stakhov2013-11-101-1/+5
|
* Fix RCL config parsing.Vsevolod Stakhov2013-11-031-5/+4
|
* Allow xml->ucl config conversion.Vsevolod Stakhov2013-10-261-12/+60
| | | | | | | Now it is possible to read UCL configs directly and convert legacy XML to UCL by --convert-config option. Default config is now rspamd.conf, not rspamd.xml.
* Fix metric setup from ucl.Vsevolod Stakhov2013-10-261-2/+8
|
* Further fixes in xml->rcl conversion.Vsevolod Stakhov2013-10-261-3/+3
|
* Remove kvstorage from the configuration as well.Vsevolod Stakhov2013-10-261-1/+0
|
* Improve xml->rcl conversion.Vsevolod Stakhov2013-10-261-2/+5
|
* Zero xml parser userdata before using.Vsevolod Stakhov2013-10-261-0/+1
|
* Start to eliminate xml configuration.Vsevolod Stakhov2013-10-231-8/+1
|
* Replace RCL to UCL from libucl to avoid duplicity in the code.Vsevolod Stakhov2013-10-221-5/+5
|
* Add an emitter from rcl object to lua.Vsevolod Stakhov2013-10-021-85/+8
|
* Allow multiply bind configurations.Vsevolod Stakhov2013-09-161-20/+14
|
* Refactor metric actions handling.Vsevolod Stakhov2013-09-131-3/+5
| | | | | | Use array of actions instead of a linked list to speed up processing. * Removed required_score, reject_score and action in metric config, now REJECT is the only default action for a metric.
* Fixes #45 issue by the proper parsing of a unix socket address.Vsevolod Stakhov2013-08-081-0/+1
|
* Remove broken line.Vsevolod Stakhov2013-06-061-1/+0
|
* Fix wildcard addresses in config.Vsevolod Stakhov2013-06-031-2/+8
|
* Rework socket creation logic to support both ipv4 and ipv6 sockets.Vsevolod Stakhov2013-06-011-20/+46
|
* Add support for meta options for modules.Vsevolod Stakhov2013-05-301-0/+2
| | | | | This is preliminary patch that enables meta options for modules which would simplify complex options passing.
* Add /maps and /getmap commands to webui.Vsevolod Stakhov2013-01-061-0/+6
| | | | | | Identify maps by id. Initialize secure random numbers using openssl. Add description to maps.
* * Add symbols command for webui.Vsevolod Stakhov2013-01-061-0/+16
|
* Fix test build and shlibs depends.Vsevolod Stakhov2012-12-151-51/+0
|
* * Use murmur hash for all hashes as it is more efficient and provides more ↵Vsevolod Stakhov2012-10-081-14/+14
| | | | | | uniform distribution as glib's default one. * Fix probability renormalization while using advanced classification.
* * Add support for dynamic configuration to the controller's interface.Vsevolod Stakhov2012-10-021-0/+2
| | | | | * File maps are now being watched even if they don't exist on rspamd start. Several fixes to dynamic configuration logic.
* Allow multiply statfiles with a same label.Vsevolod Stakhov2012-10-021-1/+1
|
* * Add dynamic configuration dumping.Vsevolod Stakhov2012-10-011-0/+4
| | | | | | * Add labels support to the statfiles (would be used for meta-classification) * Rewrite exim spam.c patch to work with both rspamd and SA by using 'variant=rspamd' option in spam_server line.
* * Add map_watch_interval configurable.Vsevolod Stakhov2012-09-191-3/+3
| | | | Support floating point values for time intervals.
* Avoid global variables in map logic.Vsevolod Stakhov2012-09-191-0/+5
| | | | * Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...'
* Another debian license fix.Vsevolod Stakhov2012-09-101-1/+1
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Update copyright (required by debian).Vsevolod Stakhov2012-09-041-3/+3
|
* * DKIM module now check only first signature as others must be rejected or ↵Vsevolod Stakhov2012-06-051-13/+35
| | | | | | | skipped by definition. * Add 'trusted_only' and 'skip_multi' options to DKIM module. * Improve flags parsing to support strings like: 'true', 'false', '1', '0', 'yes', 'no', 'y', 'n'.
* Parse big limits on 32 bits machine (for file sizes).Vsevolod Stakhov2012-03-281-3/+3
|
* * Add lua bindings for upstream API.Vsevolod Stakhov2012-03-261-13/+45
|
* Use DB_HASH access method for bdb backend.Vsevolod Stakhov2012-03-011-1/+1
| | | | Fix signed and unsigned comparasion while I'm here.