aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
|
* * Reorganze lua support in rspamdVsevolod Stakhov2009-08-311-4/+4
|
* * Use buffered IO for loggingVsevolod Stakhov2009-08-251-0/+1
|
* * Fix some more bugsVsevolod Stakhov2009-07-231-1/+0
|
* * Rework the whole filters systemVsevolod Stakhov2009-07-131-8/+3
| | | | | | | * Add metrics optimization and symbols cache * Change all plugins [DRAGONS]: not for production usage, some things are still not working!
* * Add autolearn config optionsVsevolod Stakhov2009-07-031-0/+14
| | | | | * Fix parsing of invalid urls in html parser * Add ability to specify symbols in view parameter as comma-separated list
* * Add views support (not completely tested yet)Vsevolod Stakhov2009-06-291-0/+1
|
* * Introduce new system of workers spawning and configuring, now rspamd can ↵Vsevolod Stakhov2009-06-171-29/+22
| | | | | | | be easily extended by new types of wrokers * Rework config system and avoid from using queue (3) lists * Upgrade version to 0.2.0 as config format is now incompatible with older one
* * Enable support of google perf toolsVsevolod Stakhov2009-05-041-0/+3
|
* * Add raw mode flag for improving performance by avoiding expensive utf8 ↵Vsevolod Stakhov2009-04-211-0/+1
| | | | | | transforms * Improve FreeBSD start script by adding config test precmd
* * For mime parts set flag 'raw' and if we cannot determine charset of part ↵Vsevolod Stakhov2009-04-151-0/+1
| | | | | | or cannot encode it to utf8 just use for such parts raw regexps
* * Fix variables substitutionVsevolod Stakhov2009-03-271-1/+2
| | | | | * Add simple lua interface to access task structures * Improve error reporting for regexp module
* * More accurate work with clockVsevolod Stakhov2009-03-251-0/+1
|
* * Add functions support to rspamd regexpsVsevolod Stakhov2009-03-191-15/+0
| | | | | | | | * Parse expressions with state machine which allows different kinds of arguments in expressions * Fix test to accord current data * Add support of fucntions to regexp module * Move all regexp logic to separate file, describe its API * Fix descriptors leakage in surbl module
* * Allow escaped quotes in quoted strings, for example "\"some string\""Vsevolod Stakhov2009-03-181-0/+6
| | | | * Add warnings when we got errors while parsing rexeps
* * Add ability to match raw headersVsevolod Stakhov2009-03-171-1/+2
| | | | * Update documentation
* * Add ability to configure sections in statfilesVsevolod Stakhov2009-03-131-0/+10
| | | | | * Add ability to define variables in modules blocks * Add symbolic aliases for statfile sections
* * Add ability to fork multiply lmtp workersVsevolod Stakhov2009-03-031-0/+3
| | | | | | | * Add ability to drop privilleges of rspamd processes * Add ability to install redirector with rspamd * Add FreeBSD start scripts for rspamd and redirector * Remove command line parsing from util.c as it has specific usage only in main process
* * Fix logging when process is startingVsevolod Stakhov2009-02-261-1/+2
| | | | | * Add -t option for config testing * Try to search default config in install prefix not in current directory
* * Add initial LMTP support and LDA delivery to rspamdVsevolod Stakhov2009-02-241-2/+28
|
* * Prepare to migrate to cmake (still need to write install target and ↵Vsevolod Stakhov2009-02-161-10/+0
| | | | | | | | working with XS implicitly) * Move all system includes to one file where we detect availability of all that includes * Fix license misprint * Fix some issues with perl initializing
* * Make doxygen happy about structures membersVsevolod Stakhov2009-02-061-78/+78
|
* * Move config parse errors from stderr output to standart logging functionsVsevolod Stakhov2009-02-061-10/+4
|