aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
Commit message (Collapse)AuthorAgeFilesLines
* * Improve statistics for scanned messages.Vsevolod Stakhov2012-03-261-4/+3
|
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-14/+7
| | | | | | | | - 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-0/+1
| | | | Some fixes to lua redis library.
* * Finally get rid of stupid savepoints system and migrate to async events ↵Vsevolod Stakhov2011-12-141-10/+0
| | | | | | logic completely Fix lua redis library.
* Reorganize util.c as it should contain only common utilities.Vsevolod Stakhov2011-12-071-0/+18
| | | | Libkvstorage client is now deprecated as I plan to replace it with hiredis library.
* * Fix reopening of logs in case of privilleged run.Vsevolod Stakhov2011-11-301-0/+3
|
* Check for SIGUSR1 by libevent to avoid signals collisions.Vsevolod Stakhov2011-11-301-3/+2
| | | | 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-1/+2
|
* * Use event_base thread safe API to allow parallelism based on threadsVsevolod Stakhov2011-10-261-0/+2
|
* Try to check spf domain before adding it to LRU hash.Vsevolod Stakhov2011-10-061-1/+1
| | | | Make libutil functions ported from BSD compatible with libbsd in linux.
* * Introduce new system of contexts initialization. It would be used for ↵Vsevolod Stakhov2011-08-181-2/+5
| | | | | | other things in rspamd as well in future. Ignore unknown headers in case of http.
* * Add learn_spam/learn_ham interface to librspamdclient and to rspamcVsevolod Stakhov2011-07-141-0/+1
| | | | | * Improve logic of io dispatcher restoration Remove correction factor from bayes as it leads to classify errors.
* * First commit to implement multi-statfile filter system with new learning ↵Vsevolod Stakhov2011-07-121-0/+4
| | | | mechanizm (untested yet)
* * Welcome 0.4.0Vsevolod Stakhov2011-06-241-0/+7
| | | | | | | | | | | | | | | | | | Uncompatible changes: - Statistics is uncompatible in utf8 mode Major changes: - Improved utf8 mode - Convert all characters to lowercase in statistics - Skip URL's in statistics - Improve speed of bayes classifier by using integer arithmetics - Fixed statfiles synchronization that was broken for a long time - Synchronization is now configurable Minor changes: - Bugfixes - Removed some of legacy code - Types polishing
* * Fix error in raw headers parsingVsevolod Stakhov2011-05-241-2/+2
| | | | * Improve speed of raw headers access
* * Rework build process:Vsevolod Stakhov2011-05-101-12/+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-13/+16
|
* * Preload statfiles at the early beginning in the main processVsevolod Stakhov2011-03-311-0/+2
| | | | | * 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-2/+1
| | | | Handle miliseconds using a common macro.
* Write to log number of dns requests per task.Vsevolod Stakhov2011-03-251-0/+2
|
* * Rewrite URL storage systemVsevolod Stakhov2011-02-241-2/+2
|
* * Process raw headers by FSM.Vsevolod Stakhov2011-02-211-0/+1
| | | | * Add methods for accessing raw_headers from lua and C
* * New module for checking emails inside messages (rules based, like multimap)Vsevolod Stakhov2011-02-031-0/+1
| | | | | | | * 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
* * Start new rspamd 0.3.4Vsevolod Stakhov2010-12-031-3/+7
| | | | * Add ability to manage per-module, per-worker and per-classifier options in XML parser
* Add rewrite subject action implementation to SMTP proxy.Vsevolod Stakhov2010-10-271-0/+2
|
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-36/+36
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Add post filters to lua API - filters that would be called after all ↵Vsevolod Stakhov2010-08-251-0/+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/+1
| | | | * Add lua api to access images properties
* * Fix wirting message id during fuzzy_add commandVsevolod Stakhov2010-08-041-0/+2
| | | | * Display weight of symbols correctly
* * Write symbols weights to rspamc outputVsevolod Stakhov2010-07-311-1/+1
| | | | | | * Improve logic of selecting rspamc version * Do not try to parse broken DNS replies * Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-0/+1
| | | | | | | | | * Each part in rspamd task now can have parent part * Check for parts distance only for multipart/alternative subparts * Do not check attachements even if they are text (but attached as file) * Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second) * Add ability to turn on debug for specific symbols * Add ability to configure dns timeouts and dns retransmits in config file
* * Make DNS resolver workingVsevolod Stakhov2010-07-081-0/+3
| | | | | | * 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)
* * Fix compatibility issuesVsevolod Stakhov2010-06-231-12/+0
|
* * Rewrite buffered input for line policy (again)Vsevolod Stakhov2010-06-221-0/+4
| | | | | | | | * 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
* * Implement initial version of greylisting triplets storageVsevolod Stakhov2010-06-171-1/+3
| | | | * Fix issues with smtp worker
* * Check messages received via smtp proxyVsevolod Stakhov2010-06-101-0/+2
| | | | | | * Add support for sendfile in io dispatcher * Fix issues with compatibility of worker_task and smtp proxy * Proxy DATA command
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-0/+8
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * Continue implementing smtp proxyVsevolod Stakhov2010-05-261-0/+1
|
* * Initial addition of smtp proxy moduleVsevolod Stakhov2010-05-111-0/+1
|
* * Add ability to pass all filters by using flag -p in case of rspamc or ↵Vsevolod Stakhov2010-04-261-0/+1
| | | | adding header Pass: all in rspamc protocol
* * Handle and dump factors correctlyVsevolod Stakhov2010-04-081-1/+1
| | | | | | * Many fixes to processes spawning * Implement rereading of config * Fix stupid yacc with its stupid global vars
* * Add statistics for fuzzy storagecebka@lenovo-laptop2010-03-171-0/+2
|
* * Add weights command for getting weights of each message by each statfilecebka@lenovo-laptop2010-03-011-2/+4
| | | | | * Add ability to specify multiplier when learning * Add statistics about spam and ham messages
* * Add ability to add custom messages to rspamd outputcebka@lenovo-laptop2010-02-171-0/+1
| | | | * Add messages from spf checks
* * Add support of custom filters in rspamd workercebka@lenovo-laptop2010-01-291-1/+0
| | | | | | - 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-6/+1
| | | | | | | | | - 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
* * Adopt printf function from nginx for comfortable printing of some data ↵Vsevolod Stakhov2009-11-301-0/+4
| | | | | | | types (fixed strings, pids etc) * Fix work of http maps (they were broken in some places before) * Fix sync of statfiles (not fully tested yet)
* * Implement new system of managing rspamd processesVsevolod Stakhov2009-10-301-1/+2
|
* * Add ability to check views by client's ip (that ip from which we have a ↵Vsevolod Stakhov2009-10-271-0/+1
| | | | connection to rspamd)