aboutsummaryrefslogtreecommitdiffstats
path: root/src/symbols_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix error with writing symbols cache fileVsevolod Stakhov2010-07-281-5/+5
| | | | * Fix error while working in utf mode when raw regexps was not created properly
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-1/+25
| | | | | | | | | * 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
* * Make valgrind happy about comparing symbolsVsevolod Stakhov2010-07-151-1/+1
|
* * Fix -lintl detectionVsevolod Stakhov2010-06-231-2/+2
| | | | * Init some variables to avoid problems
* * Rewrite buffered input for line policy (again)Vsevolod Stakhov2010-06-221-6/+26
| | | | | | | | * 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
* * Get weights of symbol from default metric for symbols cacheVsevolod Stakhov2010-06-181-4/+21
| | | | * Fix setting task->from/task->rctp in smtp client
* * Clean up cache items correctlyVsevolod Stakhov2010-06-091-0/+2
|
* * Add more logic for dynamic rulesVsevolod Stakhov2010-06-081-13/+91
| | | | | * Add documentation for dynamic rules * Add ability to make negations in networks in dynamic rules
* * Add experimental support of dynamic rules to regexp moduleVsevolod Stakhov2010-06-011-26/+19
|
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-1/+1
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * New symbols sorter:Vsevolod Stakhov2010-05-281-74/+331
| | | | | | | - add ability to have dynamic rules inside items cache - make 3 types of rules: negative, dynamic and static - make logic of cache more simple by using glib lists instead of arrays - do checks of symbols in more logically correct way (negative->dynamic->static)
* * Low log level for debug messagesVsevolod Stakhov2010-05-131-1/+1
|
* * Fix config reloadingVsevolod Stakhov2010-05-131-7/+44
| | | | | * Add ability to register variables in memory pools (hash with known lifetime) * Avoid of using of some global variables
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-14/+14
| | | | | | | | | - 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
* * Retab, no functional changesVsevolod Stakhov2009-10-021-60/+56
|
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-0/+3
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Fix integer divisionVsevolod Stakhov2009-08-261-4/+6
|
* * Change symbols planner sort logic to take into consideration not ↵Vsevolod Stakhov2009-08-261-4/+18
| | | | frequenses of symbols but their percent in total number
* * Fix stupid error with memory copyingVsevolod Stakhov2009-07-161-1/+1
|
* * Add -C flag to dump cache contentVsevolod Stakhov2009-07-151-1/+1
| | | | * Fix sorting logic
* * Fix type for g_checksum lengthVsevolod Stakhov2009-07-141-2/+3
|
* * Fix symbol planning, add cache_file directive to config fileVsevolod Stakhov2009-07-141-33/+25
| | | | * Fix some errors
* * Rework the whole filters systemVsevolod Stakhov2009-07-131-0/+389
* Add metrics optimization and symbols cache * Change all plugins [DRAGONS]: not for production usage, some things are still not working!