aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * Fix error with controller IO timeoutsVsevolod Stakhov2009-08-241-4/+6
|
* * Fix descriptors leakage in controllerVsevolod Stakhov2009-08-191-6/+3
|
* * Make fuzzy storage working (tested checking, adding and deleting of fuzzy ↵Vsevolod Stakhov2009-07-311-2/+3
| | | | | | hashes from storage) * Fix stupid bug in fuzzy distance calculations
* * Add support for extending controller protocol by modulesVsevolod Stakhov2009-07-291-13/+65
| | | | | | * Add write support via controller to fuzzy storage TODO: Add delete and check commands support to controller interface
* * Rework structure and API of statfiles functions to improve performance and ↵Vsevolod Stakhov2009-07-021-2/+3
| | | | | | avoid missusage of hash table * Correct url length calculation in urls command
* * Add urls output to urls commandVsevolod Stakhov2009-07-021-26/+26
| | | | * Improve performance of dispatcher by avoiding double allocating and copying of dynamic buffers
* * Introduce new system of workers spawning and configuring, now rspamd can ↵Vsevolod Stakhov2009-06-171-24/+9
| | | | | | | be easily extended by new types of wrokers * Rework config system and avoid from using queue (3) lists * Upgrade version to 0.2.0 as config format is now incompatible with older one
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-041-6/+32
| | | | * Fix shared hashes
* * Add counter for oversized chunks: this parameter can improve performance, ↵Vsevolod Stakhov2009-04-211-0/+2
| | | | | | | for example if we have too many oversized chunks it is good decision to increase chunk size.
* * Another fix of uptime commandVsevolod Stakhov2009-03-271-2/+2
|
* * Fix 2 memory leaksVsevolod Stakhov2009-03-271-0/+1
| | | | * Fix uptime command output
* * Add statictics for all allocated poolsVsevolod Stakhov2009-03-261-0/+4
|
* * Fix many compile time warnings and polish codeVsevolod Stakhov2009-03-241-3/+6
|
* * Fix reload logicVsevolod Stakhov2009-03-131-2/+5
| | | | | * Create listen sock for lmtp in main processes dispatcher to allow multiply lmtp workers * Fix logic of logging
* * Unify socket creation and accepting by using utility functionsVsevolod Stakhov2009-03-031-7/+5
| | | | | | | * Check SO_ERROR on socket immideately after connect/bind to avoid resourses allocation for unsuccessful connections * Avoid descriptors leakage when we create sockets and have errors on them * Set on all socket descriptors FD_CLOEXEC flag to avoid problems with executing LDA
* * Remove %m from logging it seems to be unsupported by FreeBSD printf versionVsevolod Stakhov2009-03-021-4/+4
|
* * Fix url-extracterVsevolod Stakhov2009-02-271-7/+7
| | | | | | * Fix soft-shutdown of dispacther * Turn debug on by default in cmake * Change logic of save points
* * Fix memory corruption and lmtp handlingVsevolod Stakhov2009-02-251-8/+8
| | | | * Add e-mail address validation in lmtp
* * Add initial LMTP support and LDA delivery to rspamdVsevolod Stakhov2009-02-241-1/+1
|
* * Fix dispatcher timeouts handlingVsevolod Stakhov2009-02-201-1/+7
| | | | * Add wanna_die flag that can be used in dispatcher's callbacks
* * Implement rspamd IO with IO dispatcher (TODO: still some issues with ↵Vsevolod Stakhov2009-02-191-120/+90
| | | | timeouts must be resolved)
* * Prepare to migrate to cmake (still need to write install target and ↵Vsevolod Stakhov2009-02-161-19/+2
| | | | | | | | working with XS implicitly) * Move all system includes to one file where we detect availability of all that includes * Fix license misprint * Fix some issues with perl initializing
* * Add BSD license textVsevolod Stakhov2009-02-161-0/+24
|
* * Try to fix reading a line from user (using pools)Vsevolod Stakhov2009-02-061-4/+1
|
* * Do another rework of filters/metrics and statfiles processingVsevolod Stakhov2009-01-291-2/+14
| | | | * Add 'probability' normalizing to winnow algorithm and calculate not pure weight but normalized probability
* * Add memory pool allocator statistics to 'stat' report outputVsevolod Stakhov2009-01-211-1/+11
|
* * Rewrite message parserVsevolod Stakhov2009-01-211-9/+38
| | | | | | * Change mime parts storage * Add html tags striping (ported from php code) * Rework learning to process only text and striped html parts
* * Rewrite perl client for rspamd, now it allows access to both normal and ↵Vsevolod Stakhov2009-01-191-7/+9
| | | | | | control interfaces * Fix small errors in tokenizer and controller interface
* * Implement statistic output in control interfaceVsevolod Stakhov2009-01-111-2/+9
|
* * Fix errors in learning implementationVsevolod Stakhov2009-01-111-24/+69
|
* * Make sample config more completeVsevolod Stakhov2008-12-181-2/+10
| | | | | * Fix bugs with config file parsing * Fix bugs with creating sockets and reading commands
* * Add logic for filtering messages with tokenizer/classifier pairVsevolod Stakhov2008-12-101-18/+2
|
* * Implement learning using classifiers and tokenizers APIVsevolod Stakhov2008-12-081-1/+28
|
* * Remove strlcpy code and replace it with glib alternativeVsevolod Stakhov2008-12-031-1/+1
| | | | * Polish code and remove bugs found
* * Add learning interface to rspamd (still requires classifier to work)Vsevolod Stakhov2008-12-021-34/+159
|
* * Reorganize structure of source filesVsevolod Stakhov2008-11-011-0/+349
* 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