aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * Rewrite message parserVsevolod Stakhov2009-01-2112-146/+572
| | | | | | * Change mime parts storage * Add html tags striping (ported from php code) * Rework learning to process only text and striped html parts
* * Rewrite perl client for rspamd, now it allows access to both normal and ↵Vsevolod Stakhov2009-01-197-69/+222
| | | | | | control interfaces * Fix small errors in tokenizer and controller interface
* * Add simple utility for sending mail to rspamdVsevolod Stakhov2009-01-167-21/+133
| | | | * Fix some errors in freeing message object
* * Add new system of getting and setting config parameters from perl codeVsevolod Stakhov2009-01-155-47/+276
|
* * Try to fix output from delayed filters processingVsevolod Stakhov2009-01-122-2/+8
|
* * Implement statistic output in control interfaceVsevolod Stakhov2009-01-111-2/+9
|
* * Fix errors in learning implementationVsevolod Stakhov2009-01-117-32/+96
|
* * Implement delayed fork of dead workers (to avoid fork bombs)Vsevolod Stakhov2009-01-112-20/+58
| | | | | * Implement refork of controller * Log time to console in normal view
* * Make sample config more completeVsevolod Stakhov2008-12-187-44/+103
| | | | | * Fix bugs with config file parsing * Fix bugs with creating sockets and reading commands
* * Add function for adding rspamd report headersVsevolod Stakhov2008-12-173-0/+45
|
* * Fix build under FreeBSD (forgotten include)Vsevolod Stakhov2008-12-111-0/+1
|
* * Add logic for filtering messages with tokenizer/classifier pairVsevolod Stakhov2008-12-106-20/+168
|
* * Implement learning using classifiers and tokenizers APIVsevolod Stakhov2008-12-082-1/+31
|
* * Add simple implementation of classifiers abstraction and winnow classifierVsevolod Stakhov2008-12-047-8/+176
| | | | * Force statfile to work with float values
* * Use binary tree in tokenizers, that would provide us fast checking for ↵Vsevolod Stakhov2008-12-043-21/+30
| | | | unique tokens and have O(log n) difficulty
* * Remove strlcpy code and replace it with glib alternativeVsevolod Stakhov2008-12-0315-122/+52
| | | | * Polish code and remove bugs found
* * Add learning interface to rspamd (still requires classifier to work)Vsevolod Stakhov2008-12-0210-39/+246
|
* * Add config routines for stat filesVsevolod Stakhov2008-12-016-0/+138
| | | | * Add function to resolve stat file name
* * Write functions to operate blocks in stat filesVsevolod Stakhov2008-11-286-4/+214
| | | | * Write test case for statistics files API
* * Add initial implementation of statistics files handling APIVsevolod Stakhov2008-11-273-1/+303
|
* * Add simple locking interface to mem_pool libraryVsevolod Stakhov2008-11-262-4/+32
|
* * Add simple implementation of OSB tokenizerVsevolod Stakhov2008-11-074-7/+156
|
* * Use utf8 in description filesVsevolod Stakhov2008-11-063-82/+82
| | | | | | --HG-- rename : README-classify.koi8.txt => README-classify.utf8.txt rename : README.koi8.txt => README.utf8.txt
* * Add description of classifying processVsevolod Stakhov2008-11-061-0/+93
|
* * Add simple hash function for hashing tokensVsevolod Stakhov2008-11-053-0/+57
|
* * Optimize configure by using caching of determined options (more than 2 ↵Vsevolod Stakhov2008-11-012-16/+133
| | | | times faster than before)
* * Reorganize structure of source filesVsevolod Stakhov2008-11-0141-92/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adopt build system for new structure --HG-- rename : cfg_file.h => src/cfg_file.h rename : cfg_file.l => src/cfg_file.l rename : cfg_file.y => src/cfg_file.y rename : cfg_utils.c => src/cfg_utils.c rename : controller.c => src/controller.c rename : filter.c => src/filter.c rename : filter.h => src/filter.h rename : fstring.c => src/fstring.c rename : fstring.h => src/fstring.h rename : main.c => src/main.c rename : main.h => src/main.h rename : mem_pool.c => src/mem_pool.c rename : mem_pool.h => src/mem_pool.h rename : memcached-test.c => src/memcached-test.c rename : memcached.c => src/memcached.c rename : memcached.h => src/memcached.h rename : perl.c => src/perl.c rename : perl.h => src/perl.h rename : plugins/regexp.c => src/plugins/regexp.c rename : plugins/surbl.c => src/plugins/surbl.c rename : protocol.c => src/protocol.c rename : protocol.h => src/protocol.h rename : upstream.c => src/upstream.c rename : upstream.h => src/upstream.h rename : url.c => src/url.c rename : url.h => src/url.h rename : util.c => src/util.c rename : util.h => src/util.h rename : worker.c => src/worker.c
* * Add determining page size function to mem_pool libraryVsevolod Stakhov2008-10-266-12/+39
| | | | * Add simple statistic structure that is placed in shared memory and used for gathering server's stats
* * Add main logging functions (log to file, syslog and console)Vsevolod Stakhov2008-10-268-0/+265
| | | | * Handle log reopening
* * Add ability to handle multiply recipientsVsevolod Stakhov2008-10-254-3/+43
| | | | * Reflect changes to perl library
* * Stylify and fix util functions that was gathered from libutil code (memory ↵Vsevolod Stakhov2008-10-249-110/+140
| | | | | | | allocation) * Fix protocol and network functions * Fix some memory allocation issues
* * Add initial implementation of control interfaceVsevolod Stakhov2008-10-239-26/+478
|
* * Add initial implementation of regexp moduleVsevolod Stakhov2008-10-222-2/+249
|
* * Parse header regexps in other way (header_name=/some_regexp/flags)Vsevolod Stakhov2008-10-203-2/+20
|
* * Add support of shared memory chunks to memory pool allocator. Also add ↵Vsevolod Stakhov2008-10-164-3/+241
| | | | | | locking support (spin mutexes) * Add simple test case for shared memory allocation
* * Implement composite symbolscebka@cebka-laptop2008-10-148-36/+154
|
* * Configure modules when worker starts for simplifying reconfig procedurecebka@cebka-laptop2008-10-147-43/+107
| | | | | * Add two behaviour types of memory allocator: greedy and ungreedy * Adopt surbl module for new configure style
* * Implement destructors stack in memory pool, so there is nowcebka@mailsupport.rambler.ru2008-10-143-4/+38
| | | | | | | convinient way to free objects in pool that was allocated by other memory allocation mechanics (e.g. GObject). Destructors must be added in pool manually by calling memory_pool_add_destructor function.
* * Add utility function for parsing regexp from given string (type flags and ↵cebka@mailsupport.rambler.ru2008-10-142-0/+115
| | | | pcre flags)
* * Implement expression parser (convertor to inverse polish record)cebka@cebka-laptop2008-10-1311-61/+407
| | | | | | * Improve configure system by implementing dependencies * Add .depend files for subdirs that requre it * Write simple test for expressions parser
* * Write protocol output functionscebka@cebka-laptop2008-10-107-7/+240
| | | | * Fix test suite build under linux
* * Add routines to perl api to access new results adding function and getting ↵cebka@mailsupport.rambler.ru2008-09-241-0/+38
| | | | | | param function this allows accessing to modules config from perl modules
* * Remove unused debug messages from url librarycebka@mailsupport.rambler.ru2008-09-242-3/+0
|
* * Add filter processing function which implements new filter's logiccebka@mailsupport.rambler.ru2008-09-244-13/+182
|
* * Rework config file memory allocation to separate memory pool for easy ↵cebka@mailsupport.rambler.ru2008-09-246-75/+53
| | | | | | | reloading without calling of ~1000 free syscalls * Add memory_pool_alloc0 for initializing newly allocated space in pool with zeroes
* * Implement factors consolidation function (default consolidation function ↵cebka@mailsupport.rambler.ru2008-09-242-1/+34
| | | | for metrics)
* * Rework logic of filterscebka@mailsupport.rambler.ru2008-09-2312-432/+403
| | | | * Add some documentation to rspamd (about new filters logic and about protocol)
* * Small updates to memory pool librarycebka@mailsupport.rambler.ru2008-09-2312-88/+133
| | | | | | | | | - fix cases when new chunk is allocated - add memory pool allocator statistics - let it work in multi-threaded environment - add strdup function for convinience * Use memory pool allocator more widely to avoid memory leaks in future and optimize performance * Task pool chunk size is now pre-defined constant (16 Kb currently)
* * Optimize memory pools allocatorcebka@mailsupport.rambler.ru2008-09-226-18/+67
| | | | * Add test case for memory pools
* * Use internal task pool for memcached operation exported for perlcebka@mailsupport.rambler.ru2008-09-212-10/+9
| | | | * Make AV reference mortal as it is described in perlxs (3)