aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Implement checking options for modulesVsevolod Stakhov2010-12-131-0/+11
| | | | | | Implement checking for classifier options Fix redirector to handle timeouts and invalid replies properly Fix surbl module not to check each url
* * Use syslog for loggingVsevolod Stakhov2010-10-061-92/+61
| | | | | * Reworking logging logic * Fixes some tabulation
* * Improve definitions of redirector domainsVsevolod Stakhov2010-10-011-1/+14
| | | | | | * Add support of regexp to check only specific urls for each domains * Check redirector in trie and not extract specific domains parts * Add POE errors handling for redirector
* * Call has_forked method to inform POE about forkVsevolod Stakhov2010-07-131-1/+4
|
* * Some improvements to redirectorVsevolod Stakhov2010-07-131-7/+29
|
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-3/+0
| | | | | | | | | - 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
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-0/+2
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * One more fix to default redirector's settingsVsevolod Stakhov2009-07-281-1/+0
|
* * Add new map 'redirector_hosts_map' for determining which hosts should be ↵Vsevolod Stakhov2009-07-281-1/+0
| | | | checked with redirector
* * Avoid using static variables for callbacksVsevolod Stakhov2009-06-261-1/+1
| | | | * Do not write to redirector logs not checked urls
* * Rework url parsing algorithmsVsevolod Stakhov2009-06-021-111/+19
| | | | | | | * Adopt all parts of rspamd for new url parser * Improve url-extracter utility by avoiding cut&paste of mime parsing * Small fixes to rspamc client * Bump version to 0.1.3
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-042-0/+3
| | | | * Fix shared hashes
* * Add expression parser utilityVsevolod Stakhov2009-04-271-0/+50
| | | | * Temporaly switch off expression optimizer as it should be reworked
* * Fix urls extracting, avoid code repeatingVsevolod Stakhov2009-04-171-2/+2
|
* * Fixes to redirector:Vsevolod Stakhov2009-03-111-58/+68
| | | | | | | - move memcached servers setting to config hash - eval config file before any actions - move daemonization code after all subs - fix searching in domains for redirector's check
* * Fix redirector connection procedureVsevolod Stakhov2009-03-101-2/+47
| | | | | | | | * Add more strict login * Add new header Queue-ID to protocol * Log message id or queue id * Add config file for redirector * Add ability to set regexp and domains list to check with redirector
* * Fix initialization procedure of redirectorVsevolod Stakhov2009-03-061-8/+7
| | | | * Do not write to log file if we cannot open it
* * Change method of dropping privillegesVsevolod Stakhov2009-03-041-4/+8
|
* * Add ability to fork multiply lmtp workersVsevolod Stakhov2009-03-031-0/+447
| | | | | | | * Add ability to drop privilleges of rspamd processes * Add ability to install redirector with rspamd * Add FreeBSD start scripts for rspamd and redirector * Remove command line parsing from util.c as it has specific usage only in main process
* * Add compatibility with gmime24Vsevolod Stakhov2009-03-021-0/+17
|
* * Add debug for mime parsingVsevolod Stakhov2009-03-021-0/+1
| | | | * Fill task structure with zeroes in url-extracter
* * Fix url-extracterVsevolod Stakhov2009-02-271-0/+1
| | | | | | * Fix soft-shutdown of dispacther * Turn debug on by default in cmake * Change logic of save points
* * Add issue to cmake to make perl module as wellVsevolod Stakhov2009-02-171-0/+29
| | | | | * Fix some portability issues (to FreeBSD mainly) * Add script to make modules list
* * Add new hash for storing hash data in shared memoryVsevolod Stakhov2009-01-271-2/+9
| | | | * Add rwlocks implementation (primitive) in memory pool library
* * Remove strlcpy code and replace it with glib alternativeVsevolod Stakhov2008-12-031-3/+0
| | | | * Polish code and remove bugs found
* * Reorganize structure of source filesVsevolod Stakhov2008-11-012-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * Implement expression parser (convertor to inverse polish record)cebka@cebka-laptop2008-10-132-2/+9
| | | | | | * Improve configure system by implementing dependencies * Add .depend files for subdirs that requre it * Write simple test for expressions parser
* * Small updates to memory pool librarycebka@mailsupport.rambler.ru2008-09-231-1/+1
| | | | | | | | | - 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)
* * Write test case for async memcached librarycebka@mailsupport.rambler.ru2008-09-161-1/+1
| | | | * Fix memcached async library to pass test :)
* * Fix include dependenciescebka@mailsupport.rambler.ru2008-09-161-0/+1
|
* * Add utility for extracting urls from messageVsevolod Stakhov2008-09-102-0/+152
* Rework build system