aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
Commit message (Collapse)AuthorAgeFilesLines
* Use sockets pool for DNS requests.Vsevolod Stakhov2013-12-181-3/+1
| | | | Inspired by: Vadim Goncharov
* Fix unix sockets for workers binding.Vsevolod Stakhov2013-12-051-1/+1
|
* Init logging just after config is parsed by ucl.Vsevolod Stakhov2013-12-041-1/+3
|
* Remove legacy stuff.Vsevolod Stakhov2013-11-211-32/+0
|
* Fix options in statfiles.Vsevolod Stakhov2013-11-151-1/+1
|
* Handle views in ucl.Vsevolod Stakhov2013-11-141-1/+1
|
* Expand path in file maps.Vsevolod Stakhov2013-11-131-9/+0
|
* Add support of path variables.Vsevolod Stakhov2013-11-131-0/+9
| | | | | | | | Support expanding of path variables in rspamd: - $CONFDIR: configuration directory - $LOCALSTATESDIR: local states directory - $INSTALLPREFIX: installation prefix - $VERSION: rspamd version
* Unbreak lua_worker with ucl.Vsevolod Stakhov2013-11-091-0/+2
|
* Allow xml->ucl config conversion.Vsevolod Stakhov2013-10-261-1/+1
| | | | | | | 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.
* Replace RCL to UCL from libucl to avoid duplicity in the code.Vsevolod Stakhov2013-10-221-4/+4
|
* Add an emitter from rcl object to lua.Vsevolod Stakhov2013-10-021-8/+3
|
* Add rcl parsers for workers options.Vsevolod Stakhov2013-09-301-0/+17
|
* Allow multiply bind configurations.Vsevolod Stakhov2013-09-161-5/+9
|
* Allow listening on multiply addresses.Vsevolod Stakhov2013-07-201-1/+1
| | | | | | | Now rspamd can listen on multiply ipv4/ipv6 addresses. Removed legacy workers (lmtp, kvstorage) as they are never used in production. Try to unify workers initialization.
* Rework socket creation logic to support both ipv4 and ipv6 sockets.Vsevolod Stakhov2013-06-011-5/+5
|
* Add support for meta options for modules.Vsevolod Stakhov2013-05-301-0/+6
| | | | | This is preliminary patch that enables meta options for modules which would simplify complex options passing.
* Store weight of symbol properly allowing dynamic conf code to modify a ↵Vsevolod Stakhov2013-01-091-1/+1
| | | | single pointer in metrics section.
* Add locking for maps.Vsevolod Stakhov2013-01-081-0/+2
| | | | Add ability to save rolling history in a file.
* * Add symbols command for webui.Vsevolod Stakhov2013-01-061-0/+18
|
* Add webui handler for rspamd (skeleton).Vsevolod Stakhov2013-01-051-1/+5
| | | | | | Fix url detector. Add group option for modules options. Some fixes in controller and rrd code.
* Make mlock option as tunable.Vsevolod Stakhov2012-10-081-0/+1
|
* * Add dynamic configuration dumping.Vsevolod Stakhov2012-10-011-0/+3
| | | | | | * 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-1/+1
| | | | 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:///...'
* * Implement pre-filters that realizes concepts to check mail by some ↵Vsevolod Stakhov2012-03-301-0/+1
| | | | | | | | absolute values like: - greylisting - DNS BL/WL - ratelimits
* Parse big limits on 32 bits machine (for file sizes).Vsevolod Stakhov2012-03-281-1/+1
|
* * Add lua bindings for upstream API.Vsevolod Stakhov2012-03-261-0/+17
|
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-2/+2
| | | | | | | | - Removed legacy limitation of worker's types; - Using GQuarks to identify workers and modules; - Remove modules.sh script; - Add a common system of workers and modules; - Write management and configuration for new architecture.
* Fix static build.Vsevolod Stakhov2011-11-111-1/+1
|
* * Add configuration utils for kvstorageVsevolod Stakhov2011-10-171-1/+1
|
* * Introduce new system of contexts initialization. It would be used for ↵Vsevolod Stakhov2011-08-181-0/+1
| | | | | | other things in rspamd as well in future. Ignore unknown headers in case of http.
* * Add start script for red hat compatible systemsVsevolod Stakhov2011-07-201-0/+39
| | | | | | | Add descriptions for some rspamd API functions (no functional changes). --HG-- rename : linux/rspamd => linux/rspamd_debian.in
* * Add new algorithm based on diff algorithm to compare relatively short text ↵Vsevolod Stakhov2011-07-131-0/+2
| | | | parts
* Add validity detector for statfiles inside classifier.Vsevolod Stakhov2011-07-131-0/+1
| | | | Add euristic to detect spam/ham classes based on statfile symbol.
* * First commit to implement multi-statfile filter system with new learning ↵Vsevolod Stakhov2011-07-121-1/+4
| | | | mechanizm (untested yet)
* Cache data of parts distance function to speed up multiply rules with such ↵Vsevolod Stakhov2011-07-121-0/+2
| | | | function.
* * Welcome 0.4.0Vsevolod Stakhov2011-06-241-0/+2
| | | | | | | | | | | | | | | | | | Uncompatible changes: - Statistics is uncompatible in utf8 mode Major changes: - Improved utf8 mode - Convert all characters to lowercase in statistics - Skip URL's in statistics - Improve speed of bayes classifier by using integer arithmetics - Fixed statfiles synchronization that was broken for a long time - Synchronization is now configurable Minor changes: - Bugfixes - Removed some of legacy code - Types polishing
* Misprint.Vsevolod Stakhov2011-06-031-1/+1
|
* * Rework build process:Vsevolod Stakhov2011-05-101-0/+2
| | | | | | | | | | - add librspamdserver - link this library to all daemons and utils of rspamd - use subdirectories more often * Rework global variables logic - move them to the main process * Fix logging to handle utf-8 correctly * Add statshow utility and make it working * Move printf functions to separate source file
* * Add throttling detection mechanic for dns resolverVsevolod Stakhov2011-03-231-0/+2
| | | | * Improve phishing module adding ability to define 'strict' phishing domains
* * Add options section into config to organize optionsVsevolod Stakhov2011-02-221-0/+1
| | | | | | | * Add one_shot option for avoiding inserting several results from one rule Fix parsing of headers with \t symbol [1] Reported by: Victor Ustugov [1]
* * Add ability to specify 'S' flag to regexp that means that headers checks ↵Vsevolod Stakhov2011-02-151-0/+1
| | | | | | must be case sensitive * Add lua function message:get_header_strong
* * New module for checking emails inside messages (rules based, like multimap)Vsevolod Stakhov2011-02-031-0/+1
| | | | | | | * Emails now are separated from urls and urls checks * Add ability to check text attachements if option is presented in a configuration Version is 0.3.6 now
* * Introduce new system of configuration checks:Vsevolod Stakhov2010-12-201-0/+1
| | | | | | | | - now symbols inside metrics definition must be inside rules as well - symbols may be virtual (e.g. when module can insert several symbols inside callback) - symbols may be pure callbacks (when symbol's name is unknown and depends on conditions) * Module 'emails' is removed as it is not used in the current rspamd MANY fixes to sample config files
* Add registering options for lua modulesVsevolod Stakhov2010-12-141-0/+1
| | | | * Add ability to output colored messages for file and console loggers
* Implement checking options for modulesVsevolod Stakhov2010-12-131-0/+1
| | | | | | Implement checking for classifier options Fix redirector to handle timeouts and invalid replies properly Fix surbl module not to check each url
* Add module options checkerVsevolod Stakhov2010-12-081-3/+13
| | | | | Improve time limits handling Fix smtp proxy options parsing
* Add add_header action to smtp proxy.Vsevolod Stakhov2010-10-261-0/+1
| | | | In raw mode scan stripped html parts when regexp are not 'raw'.
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-24/+24
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.