aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix static build.Vsevolod Stakhov2011-11-111-1/+1
|
* * Implement basic functionality of key value storageVsevolod Stakhov2011-10-311-0/+2
|
* * Add configuration utils for kvstorageVsevolod Stakhov2011-10-171-5/+6
|
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-1/+1
|
* * Fix build under CentOS 5 with old glib 2.12Vsevolod Stakhov2011-07-291-1/+1
| | | | | * Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
* Fix statfiles class determination euristic.Vsevolod Stakhov2011-07-181-3/+3
| | | | Fix call of classifier pre-callback.
* * Add new algorithm based on diff algorithm to compare relatively short text ↵Vsevolod Stakhov2011-07-131-0/+3
| | | | parts
* Add validity detector for statfiles inside classifier.Vsevolod Stakhov2011-07-131-0/+56
| | | | 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/+39
| | | | mechanizm (untested yet)
* * Welcome 0.4.0Vsevolod Stakhov2011-06-241-0/+3
| | | | | | | | | | | | | | | | | | 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
* * Rework build process:Vsevolod Stakhov2011-05-101-4/+6
| | | | | | | | | | - 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-1/+3
| | | | * Improve phishing module adding ability to define 'strict' phishing domains
* * Add ability to add descriptions for symbolsVsevolod Stakhov2011-02-151-0/+2
|
* * Introduce new system of configuration checks:Vsevolod Stakhov2010-12-201-0/+14
| | | | | | | | - 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
* * Implement ability to add conditional rules to rspamd.xmlVsevolod Stakhov2010-12-151-0/+6
|
* Implement checking options for modulesVsevolod Stakhov2010-12-131-5/+43
| | | | | | 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-10/+90
| | | | | Improve time limits handling Fix smtp proxy options parsing
* Make own strlcpy that does not calculate remaining string length (faster and ↵Vsevolod Stakhov2010-11-161-4/+4
| | | | | | more safe) Allow only ASCII symbols in logs, escape control chars
* Fixes bugs found with clang-static analyser.Vsevolod Stakhov2010-10-111-11/+7
| | | | | Strictly follow c99 standart. Turn on pedantic c99 checks.
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-16/+16
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * More debugVsevolod Stakhov2010-07-251-2/+2
|
* * Add resolv.conf parsing into dns.cVsevolod Stakhov2010-07-011-0/+3
| | | | * Fix microseconds<->milliseconds conversions
* * Rewrite buffered input for line policy (again)Vsevolod Stakhov2010-06-221-3/+11
| | | | | | | | * Fix issue with links that are ip addresses in numeric form in surbl * On Darwin use BSD style sendfile definition * Reorganize platform specific knobs in CMakeLists * Use gettimeofday on systems that have not clock_getres * Use ftime for dns trans id generation on systems without clock_getres
* * Change metric logicVsevolod Stakhov2010-06-161-44/+27
| | | | | | | * 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
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-0/+8
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * Convert statistic sums to use long double for countersVsevolod Stakhov2010-05-271-14/+5
| | | | * 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-1/+1
|
* * Add initial version of lua configuration systemVsevolod Stakhov2010-04-051-2/+29
|
* * Add dumper to XML file (not all sections yet)Vsevolod Stakhov2010-04-011-1/+35
| | | | | | | | * 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)
* * New syntax parser that should make syntax check of XML configsVsevolod Stakhov2010-03-271-38/+38
| | | | | | | | * 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-1/+50
|
* * Fix misprintcebka@lenovo-laptop2010-01-141-1/+1
|
* * Add ability to add normalizers for statfiles (custom functions written in ↵cebka@lenovo-laptop2010-01-131-0/+107
| | | | lua or simple internal normalizer)
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-4/+4
| | | | | | | | | - 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-0/+5
| | | | * Fix dependency on lex and yacc sources
* * Fix parsing '*' as hostname in bind linesVsevolod Stakhov2009-11-101-6/+12
|
* * Avoid mmap'ing in binlog as mmapped areas must be alignedVsevolod Stakhov2009-11-091-66/+67
| | | | | * Make binlog working for writing * Add config params for binlog
* * Implement new system of managing rspamd processesVsevolod Stakhov2009-10-301-0/+18
|
* * 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/+1
| | | | * Add rspamc protocol 1.1 (3 marks instead of 2)
* * Retab, no functional changesVsevolod Stakhov2009-10-021-125/+128
|
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-3/+17
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Make settings workingVsevolod Stakhov2009-09-081-0/+2
|
* * Add client part for fuzzy checksums storageVsevolod Stakhov2009-07-281-0/+15
| | | | * Add fuzzy storage syncing to file
* * Fix some more bugsVsevolod Stakhov2009-07-231-0/+1
|
* * Make modules disableable from configVsevolod Stakhov2009-07-231-0/+1
|
* * Fix symbol planning, add cache_file directive to config fileVsevolod Stakhov2009-07-141-9/+13
| | | | * Fix some errors
* * Rework the whole filters systemVsevolod Stakhov2009-07-131-41/+8
| | | | | | | * 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/+28
| | | | | * Fix parsing of invalid urls in html parser * Add ability to specify symbols in view parameter as comma-separated list