aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * Add post filters to lua API - filters that would be called after all ↵Vsevolod Stakhov2010-08-251-0/+1
| | | | | | | | message's processing * Add ability to check for specified symbol in task results from lua * Add ability to check for metric's results from lua * Add ability to learn specified statfile form lua
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-4/+5
| | | | | | | | | * Each part in rspamd task now can have parent part * Check for parts distance only for multipart/alternative subparts * Do not check attachements even if they are text (but attached as file) * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second) * Add ability to turn on debug for specific symbols * Add ability to configure dns timeouts and dns retransmits in config file
* * Add ability to test regexp with 'T' flagVsevolod Stakhov2010-07-061-0/+1
| | | | | | | * Write more code for DNS resolver: - initial RR parser - name compression - replies handler
* * Add resolv.conf parsing into dns.cVsevolod Stakhov2010-07-011-0/+4
| | | | * Fix microseconds<->milliseconds conversions
* * Fix compatibility issuesVsevolod Stakhov2010-06-231-4/+4
|
* * Change metric logicVsevolod Stakhov2010-06-161-16/+8
| | | | | | | * Completely remove lex/yacc readers for config * Make common sense of metric/action and symbols * Sync changes with all plugins TODO: add this to documentation
* * Convert statistic sums to use long double for countersVsevolod Stakhov2010-05-271-1/+1
| | | | * Use hyperbolic tangent for internal normalizer
* * Bugfixes:Vsevolod Stakhov2010-04-201-1/+1
| | | | | | | | | | - handle '\' characters in lua strings correctly - fix lua initialization - avoid of using global lua state (global L) - fix listen sockets hash to allow multiply workers of same type but on different listen sockets - fix modules options inserting to allow multiply options of the same name - fix parsing of lua options - fix lua rules
* * Wellcome to the XML worldVsevolod Stakhov2010-04-071-0/+2
|
* * Add classifiers and composites sections to dumpVsevolod Stakhov2010-04-061-1/+3
|
* * Add lua functions parsing for module optionsVsevolod Stakhov2010-04-061-7/+11
| | | | | | | * Add missing sections to XML parser (classifier, statfile, view, settings) * Add missing params to XML parser * Implement new commandline options parser (using glib) * Set version to 0.3.0 as new rspamd would use new config system
* * Add initial version of lua configuration systemVsevolod Stakhov2010-04-051-2/+12
|
* * Add dumper to XML file (not all sections yet)Vsevolod Stakhov2010-04-011-7/+15
| | | | | | | | * Add checksum to config files * Some config parsing reorganizations: - post_load_config should be called after xml initialization - xml state machine is corrected to read main section variables - some linting is added to xml (checking of elements parity)
* * Add more syntaxVsevolod Stakhov2010-03-301-1/+1
|
* * New syntax parser that should make syntax check of XML configsVsevolod Stakhov2010-03-271-39/+39
| | | | | | | | * Rework of config structure types (use glib types) * TODO: - implement the whole syntax of rspamd in XML - implement custom handlers that modules can install - write missing handlers
* * Initial add of xml parser for rspamd configurationVsevolod Stakhov2010-03-251-0/+1
|
* * Add ability to add normalizers for statfiles (custom functions written in ↵cebka@lenovo-laptop2010-01-131-0/+6
| | | | lua or simple internal normalizer)
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-2/+3
| | | | | | | | | - independent and customizeable buffering - line buffering - errors handling support - custom (ip based) debug - append function name automaticaly (based on __FUNCTION__) - add some logic to logs system
* * Add limits support to each worker (max open files and max core size)Vsevolod Stakhov2009-12-181-1/+4
| | | | * Fix dependency on lex and yacc sources
* * Implement pre and post classify callbacks for checking specific statfiles ↵Vsevolod Stakhov2009-12-161-0/+2
| | | | | | | | | | for this task TODO: - add properties to get all parameters of input task - add properties to statfile object - add some normalization function for calling from classify process - document changes
* * Avoid mmap'ing in binlog as mmapped areas must be alignedVsevolod Stakhov2009-11-091-0/+28
| | | | | * Make binlog working for writing * Add config params for binlog
* * Add logging urls as it was required by rambler searchVsevolod Stakhov2009-11-061-0/+1
|
* * Implement new system of managing rspamd processesVsevolod Stakhov2009-10-301-0/+3
|
* * Add growing coefficient to factors consolidation callbackVsevolod Stakhov2009-10-161-0/+1
| | | | * Fix registering functions from lua
* * Add reject score setting for hard rejecting of mail (by Anton Nekhoroshin)Vsevolod Stakhov2009-10-021-0/+3
| | | | * Add rspamc protocol 1.1 (3 marks instead of 2)
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-7/+16
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Add JSON settings parserVsevolod Stakhov2009-09-071-0/+2
|
* * Fix lua APIVsevolod Stakhov2009-09-021-0/+1
|