aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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)
* * Place all protocol logic in separate filecebka@mailsupport.rambler.ru2008-09-205-101/+288
| | | | | | - simplify protocol parsing logic - add compatibility with sa-spamd - TODO: add protocol output for all commands
* * Avoid realloc for memory pools by making memory pool chainscebka@mailsupport.rambler.ru2008-09-183-17/+31
|
* * Add memory pool support.cebka@mailsupport.rambler.ru2008-09-185-2/+78
| | | | | | - memory pools would be used in modules for allocating task specific data without freeing it separately - memory pools growth is implemented as multiplying by 2 its length (for avoiding multiply reallocs) - when memory pool is freed all data that was allocated from this pool is freed too
* * Add support of variables and variable substitution in config filecebka@mailsupport.rambler.ru2008-09-184-19/+106
|
* * Write test case for async memcached librarycebka@mailsupport.rambler.ru2008-09-167-42/+130
| | | | * Fix memcached async library to pass test :)
* * Fix include dependenciescebka@mailsupport.rambler.ru2008-09-168-8/+15
|
* * Add utility for extracting urls from messageVsevolod Stakhov2008-09-106-12/+185
| | | | * Rework build system
* * Fix url parser (get regexp from our mail system)Vsevolod Stakhov2008-09-096-167/+143
| | | | * Add some more tests to url testcase
* * Fix url length while passing them to normalizerVsevolod Stakhov2008-09-082-9/+7
| | | | TODO: fix html parsing regexp (now it doesn't work)
* * Use glib logger and regexp matching functionsVsevolod Stakhov2008-09-084-49/+76
|
* * Add initial test suite using glib test suiteVsevolod Stakhov2008-09-086-2/+156
|
* * Add SURBL logic to surbl pluginVsevolod Stakhov2008-09-041-1/+156
| | | | * Add whitelist and hosters list to params
* * Add initial implementation of surbl check moduleVsevolod Stakhov2008-09-0312-96/+536
|
* * Add ability to pass options to rspamd modules via flex start conditionsVsevolod Stakhov2008-09-024-2/+73
|
* * Update URL normalizer (partially taken from GNU wget)Vsevolod Stakhov2008-08-251-3/+382
|
* * Add implementation of save point for async events in rspamd filtersVsevolod Stakhov2008-08-224-16/+127
|
* * Add filters logicVsevolod Stakhov2008-08-217-39/+201
| | | | | | * Perl should use separate memcached context for its operations (just do memcpy with the same socket) TODO: add block mechanics here to avoid memcached connection closing before perl operation is finished * Change logic of perl chain filter