aboutsummaryrefslogtreecommitdiffstats
path: root/src/worker.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix spf plugin that was broken in 0.4.7Vsevolod Stakhov2012-04-201-1/+0
| | | | * Add partial ipv6 support for some rspamd modules.
* Allow rspamd dispatcher code to process half-closed connections.Vsevolod Stakhov2012-04-201-0/+2
|
* * Implement pre-filters that realizes concepts to check mail by some ↵Vsevolod Stakhov2012-03-301-22/+73
| | | | | | | | absolute values like: - greylisting - DNS BL/WL - ratelimits
* * More things to be thread-safe:Vsevolod Stakhov2012-02-131-13/+18
| | | | | | | - pool allocator is now thread-safe - lua subsystem now holds lock to avoid lua stack corruption - events subsystem now using conditional variables to wait for async_threads - insert_result is thread-safe now
* Add quarks to events to determine source of event inside rspamd.Vsevolod Stakhov2012-02-131-9/+11
| | | | Another try to fix threading.
* Fixes to threading (still incomplete).Vsevolod Stakhov2012-01-311-1/+38
|
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-7/+22
| | | | | | | | - Removed legacy limitation of worker's types; - Using GQuarks to identify workers and modules; - Remove modules.sh script; - Add a common system of workers and modules; - Write management and configuration for new architecture.
* Allow for post filters to register async events.Vsevolod Stakhov2011-12-161-7/+25
| | | | Some fixes to lua redis library.
* * Finally get rid of stupid savepoints system and migrate to async events ↵Vsevolod Stakhov2011-12-141-12/+26
| | | | | | logic completely Fix lua redis library.
* Reorganize util.c as it should contain only common utilities.Vsevolod Stakhov2011-12-071-0/+169
| | | | Libkvstorage client is now deprecated as I plan to replace it with hiredis library.
* Check for SIGUSR1 by libevent to avoid signals collisions.Vsevolod Stakhov2011-11-301-9/+25
| | | | Remove greylist_storage as it was never used and is actually replaced with basic kvstorage.
* Fix main rspamd worker to work with buffer.c changes.Vsevolod Stakhov2011-11-071-0/+5
|
* * Use event_base thread safe API to allow parallelism based on threadsVsevolod Stakhov2011-10-261-5/+9
|
* Fix critical bug with lua stack cleaning that caused heavy memory leaks.0.4.3Vsevolod Stakhov2011-08-121-1/+0
| | | | Update to 0.4.3.
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-1/+1
|
* Fix controller stages and debug info.Vsevolod Stakhov2011-08-011-0/+4
| | | | Handle timeouts in librspamdclient correctly.
* * Add max_tokens options to avoid classifying and learning with too much ↵Vsevolod Stakhov2011-07-261-4/+1
| | | | | | tokens from one message. Fix stupid memory leakage on client's timeout.
* * Implement max tasks per worker settingVsevolod Stakhov2011-07-261-0/+24
|
* * Rework build process:Vsevolod Stakhov2011-05-101-185/+2
| | | | | | | | | | - add librspamdserver - link this library to all daemons and utils of rspamd - use subdirectories more often * Rework global variables logic - move them to the main process * Fix logging to handle utf-8 correctly * Add statshow utility and make it working * Move printf functions to separate source file
* * Add ability to learn rspamd via worker (without password)0.3.11Vsevolod Stakhov2011-03-311-17/+40
|
* * Preload statfiles at the early beginning in the main processVsevolod Stakhov2011-03-311-3/+12
| | | | | * Add JSON output for rspamd worker * Add HTTP protocol support for rspamd worker
* * Add more timeouts: for fuzzy operations, for worker task operationsVsevolod Stakhov2011-03-281-21/+25
| | | | Handle miliseconds using a common macro.
* Fix memory access.Vsevolod Stakhov2011-03-051-3/+3
|
* Fix several memory leaks in rspamd.Vsevolod Stakhov2011-02-241-0/+4
|
* * Rewrite URL storage systemVsevolod Stakhov2011-02-241-6/+54
|
* * New module for checking emails inside messages (rules based, like multimap)Vsevolod Stakhov2011-02-031-0/+3
| | | | | | | * Emails now are separated from urls and urls checks * Add ability to check text attachements if option is presented in a configuration Version is 0.3.6 now
* Write client's host when network error is occuredVsevolod Stakhov2010-12-241-1/+2
| | | | Write domain name for redirectors call
* Indentation fix (no functional changes)Vsevolod Stakhov2010-12-241-491/+427
|
* Fix bug with mime parser behaviour.Vsevolod Stakhov2010-12-171-0/+1
|
* * Start new rspamd 0.3.4Vsevolod Stakhov2010-12-031-62/+59
| | | | * Add ability to manage per-module, per-worker and per-classifier options in XML parser
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-483/+579
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Fix stupid error when all checks can be done in a single passVsevolod Stakhov2010-09-201-0/+1
|
* * Add post filters to lua API - filters that would be called after all ↵Vsevolod Stakhov2010-08-251-2/+2
| | | | | | | | message's processing * Add ability to check for specified symbol in task results from lua * Add ability to check for metric's results from lua * Add ability to learn specified statfile form lua
* * Move images library to core rspamdVsevolod Stakhov2010-08-231-0/+3
| | | | * Add lua api to access images properties
* * Fix wirting message id during fuzzy_add commandVsevolod Stakhov2010-08-041-2/+10
| | | | * Display weight of symbols correctly
* * Handle cases of broken requestsVsevolod Stakhov2010-07-191-0/+4
|
* * Reopen log file by USR1 signalVsevolod Stakhov2010-07-191-0/+3
| | | | * Add reopenlog method to FreeBSD rc script
* * Very hard to detect problem with race among error in socket and destroying ↵Vsevolod Stakhov2010-07-091-1/+4
| | | | task while we are writing to socket and go through a hash table
* * Make DNS resolver workingVsevolod Stakhov2010-07-081-32/+61
| | | | | | * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality * Write DNS resolver tests * Fix issues with memory_pool mutexes and with creating of statfiles
* * Fix detection of numeric urls (reported by citrin)Vsevolod Stakhov2010-07-051-2/+1
| | | | * Write real time of message's scan to log (not only virtual)
* * Check return value of each rspamd_dispatcher_write as in case of write ↵Vsevolod Stakhov2010-06-241-4/+14
| | | | errors sessions can be destroyed early
* * Fix compatibility issuesVsevolod Stakhov2010-06-231-1/+1
|
* * Rewrite buffered input for line policy (again)Vsevolod Stakhov2010-06-221-3/+9
| | | | | | | | * 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
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-9/+7
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * Initial addition of smtp proxy moduleVsevolod Stakhov2010-05-111-1/+1
|
* * Make regmark customplugin workingVsevolod Stakhov2010-04-231-7/+8
|
* * Add ability to build rspamd staticcebka@lenovo-laptop2010-02-191-22/+60
|
* * Add ability to add custom messages to rspamd outputcebka@lenovo-laptop2010-02-171-0/+3
| | | | * Add messages from spf checks
* * Add support of custom filters in rspamd workercebka@lenovo-laptop2010-01-291-17/+231
| | | | | | - custom filters are dlopened and provides callbacks for user's input processing - custom filters can be used to extend rspamd functionality for unusual (non email processing cases) - custom filters allows to use rspamd async IO model and process management for performing custom network tasks
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-12/+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