Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Add config routines for stat files | Vsevolod Stakhov | 2008-12-01 | 6 | -0/+138 |
| | | | | * Add function to resolve stat file name | ||||
* | * Write functions to operate blocks in stat files | Vsevolod Stakhov | 2008-11-28 | 6 | -4/+214 |
| | | | | * Write test case for statistics files API | ||||
* | * Add initial implementation of statistics files handling API | Vsevolod Stakhov | 2008-11-27 | 3 | -1/+303 |
| | |||||
* | * Add simple locking interface to mem_pool library | Vsevolod Stakhov | 2008-11-26 | 2 | -4/+32 |
| | |||||
* | * Add simple implementation of OSB tokenizer | Vsevolod Stakhov | 2008-11-07 | 4 | -7/+156 |
| | |||||
* | * Use utf8 in description files | Vsevolod Stakhov | 2008-11-06 | 3 | -82/+82 |
| | | | | | | --HG-- rename : README-classify.koi8.txt => README-classify.utf8.txt rename : README.koi8.txt => README.utf8.txt | ||||
* | * Add description of classifying process | Vsevolod Stakhov | 2008-11-06 | 1 | -0/+93 |
| | |||||
* | * Add simple hash function for hashing tokens | Vsevolod Stakhov | 2008-11-05 | 3 | -0/+57 |
| | |||||
* | * Optimize configure by using caching of determined options (more than 2 ↵ | Vsevolod Stakhov | 2008-11-01 | 2 | -16/+133 |
| | | | | times faster than before) | ||||
* | * Reorganize structure of source files | Vsevolod Stakhov | 2008-11-01 | 41 | -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 library | Vsevolod Stakhov | 2008-10-26 | 6 | -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 Stakhov | 2008-10-26 | 8 | -0/+265 |
| | | | | * Handle log reopening | ||||
* | * Add ability to handle multiply recipients | Vsevolod Stakhov | 2008-10-25 | 4 | -3/+43 |
| | | | | * Reflect changes to perl library | ||||
* | * Stylify and fix util functions that was gathered from libutil code (memory ↵ | Vsevolod Stakhov | 2008-10-24 | 9 | -110/+140 |
| | | | | | | | allocation) * Fix protocol and network functions * Fix some memory allocation issues | ||||
* | * Add initial implementation of control interface | Vsevolod Stakhov | 2008-10-23 | 9 | -26/+478 |
| | |||||
* | * Add initial implementation of regexp module | Vsevolod Stakhov | 2008-10-22 | 2 | -2/+249 |
| | |||||
* | * Parse header regexps in other way (header_name=/some_regexp/flags) | Vsevolod Stakhov | 2008-10-20 | 3 | -2/+20 |
| | |||||
* | * Add support of shared memory chunks to memory pool allocator. Also add ↵ | Vsevolod Stakhov | 2008-10-16 | 4 | -3/+241 |
| | | | | | | locking support (spin mutexes) * Add simple test case for shared memory allocation | ||||
* | * Implement composite symbols | cebka@cebka-laptop | 2008-10-14 | 8 | -36/+154 |
| | |||||
* | * Configure modules when worker starts for simplifying reconfig procedure | cebka@cebka-laptop | 2008-10-14 | 7 | -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 now | cebka@mailsupport.rambler.ru | 2008-10-14 | 3 | -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.ru | 2008-10-14 | 2 | -0/+115 |
| | | | | pcre flags) | ||||
* | * Implement expression parser (convertor to inverse polish record) | cebka@cebka-laptop | 2008-10-13 | 11 | -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 functions | cebka@cebka-laptop | 2008-10-10 | 7 | -7/+240 |
| | | | | * Fix test suite build under linux | ||||
* | * Add routines to perl api to access new results adding function and getting ↵ | cebka@mailsupport.rambler.ru | 2008-09-24 | 1 | -0/+38 |
| | | | | | | param function this allows accessing to modules config from perl modules | ||||
* | * Remove unused debug messages from url library | cebka@mailsupport.rambler.ru | 2008-09-24 | 2 | -3/+0 |
| | |||||
* | * Add filter processing function which implements new filter's logic | cebka@mailsupport.rambler.ru | 2008-09-24 | 4 | -13/+182 |
| | |||||
* | * Rework config file memory allocation to separate memory pool for easy ↵ | cebka@mailsupport.rambler.ru | 2008-09-24 | 6 | -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.ru | 2008-09-24 | 2 | -1/+34 |
| | | | | for metrics) | ||||
* | * Rework logic of filters | cebka@mailsupport.rambler.ru | 2008-09-23 | 12 | -432/+403 |
| | | | | * Add some documentation to rspamd (about new filters logic and about protocol) | ||||
* | * Small updates to memory pool library | cebka@mailsupport.rambler.ru | 2008-09-23 | 12 | -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 allocator | cebka@mailsupport.rambler.ru | 2008-09-22 | 6 | -18/+67 |
| | | | | * Add test case for memory pools | ||||
* | * Use internal task pool for memcached operation exported for perl | cebka@mailsupport.rambler.ru | 2008-09-21 | 2 | -10/+9 |
| | | | | * Make AV reference mortal as it is described in perlxs (3) | ||||
* | * Place all protocol logic in separate file | cebka@mailsupport.rambler.ru | 2008-09-20 | 5 | -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 chains | cebka@mailsupport.rambler.ru | 2008-09-18 | 3 | -17/+31 |
| | |||||
* | * Add memory pool support. | cebka@mailsupport.rambler.ru | 2008-09-18 | 5 | -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 file | cebka@mailsupport.rambler.ru | 2008-09-18 | 4 | -19/+106 |
| | |||||
* | * Write test case for async memcached library | cebka@mailsupport.rambler.ru | 2008-09-16 | 7 | -42/+130 |
| | | | | * Fix memcached async library to pass test :) | ||||
* | * Fix include dependencies | cebka@mailsupport.rambler.ru | 2008-09-16 | 8 | -8/+15 |
| | |||||
* | * Add utility for extracting urls from message | Vsevolod Stakhov | 2008-09-10 | 6 | -12/+185 |
| | | | | * Rework build system | ||||
* | * Fix url parser (get regexp from our mail system) | Vsevolod Stakhov | 2008-09-09 | 6 | -167/+143 |
| | | | | * Add some more tests to url testcase | ||||
* | * Fix url length while passing them to normalizer | Vsevolod Stakhov | 2008-09-08 | 2 | -9/+7 |
| | | | | TODO: fix html parsing regexp (now it doesn't work) | ||||
* | * Use glib logger and regexp matching functions | Vsevolod Stakhov | 2008-09-08 | 4 | -49/+76 |
| | |||||
* | * Add initial test suite using glib test suite | Vsevolod Stakhov | 2008-09-08 | 6 | -2/+156 |
| | |||||
* | * Add SURBL logic to surbl plugin | Vsevolod Stakhov | 2008-09-04 | 1 | -1/+156 |
| | | | | * Add whitelist and hosters list to params | ||||
* | * Add initial implementation of surbl check module | Vsevolod Stakhov | 2008-09-03 | 12 | -96/+536 |
| | |||||
* | * Add ability to pass options to rspamd modules via flex start conditions | Vsevolod Stakhov | 2008-09-02 | 4 | -2/+73 |
| | |||||
* | * Update URL normalizer (partially taken from GNU wget) | Vsevolod Stakhov | 2008-08-25 | 1 | -3/+382 |
| | |||||
* | * Add implementation of save point for async events in rspamd filters | Vsevolod Stakhov | 2008-08-22 | 4 | -16/+127 |
| | |||||
* | * Add filters logic | Vsevolod Stakhov | 2008-08-21 | 7 | -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 |