summaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Rework project structure, remove trash files.Vsevolod Stakhov2014-04-211-969/+0
|
* Refactor memory pool naming.Vsevolod Stakhov2014-04-201-30/+30
|
* Deprecate xml config utilities finally.Vsevolod Stakhov2014-04-191-78/+13
|
* Adopt new libucl.Vsevolod Stakhov2014-04-191-2/+2
|
* Remove warning.Vsevolod Stakhov2014-03-081-1/+1
|
* Add an utility to parse IP tree from a string.Vsevolod Stakhov2014-02-281-0/+24
|
* Set flag for systemd sockets definitions.Vsevolod Stakhov2014-02-201-0/+1
|
* Support accepting listening sockets from systemd.Vsevolod Stakhov2014-02-201-1/+9
|
* Remove deprecated code.Vsevolod Stakhov2014-02-031-100/+0
| | | | Reported by: Andrey Vohmyanin
* Parse HTTP requests, cleanup the code.Vsevolod Stakhov2014-01-181-0/+2
| | | | | --HG-- extra : rebase_source : 6b35fbf55fc9fe65d7f033620670bb210928e9b4
* 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.