aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixes bugs found with clang-static analyser.Vsevolod Stakhov2010-10-111-2/+4
| | | | | Strictly follow c99 standart. Turn on pedantic c99 checks.
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-53/+53
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Fix shared usage of statfilesVsevolod Stakhov2010-09-161-0/+1
| | | | | | * Add invalidation of statfiles in case of learning, so now statfiles are invalidated in about a minute after learning * This should fix shared usage of statfile pool by several processes
* * Many fixes to statfile syncronization systemVsevolod Stakhov2010-09-021-6/+25
| | | | * Fixed statfile pool initialization and synchronization with disk
* * Remove normalizer as it is winnow specific thing, so all statistic ↵Vsevolod Stakhov2010-08-131-3/+0
| | | | algorithms now returns value from 0 to 1
* * One more try to improve accuracy of winnow algorithmVsevolod Stakhov2010-08-061-3/+10
|
* * Fixes to winnow learningVsevolod Stakhov2010-08-051-12/+20
|
* * Add logging for fuzzy checksVsevolod Stakhov2010-08-021-2/+5
| | | | * Add logging for learning
* * Fix quit command in controller interfaceVsevolod Stakhov2010-07-301-1/+1
|
* * Fix error with writing symbols cache fileVsevolod Stakhov2010-07-281-2/+2
| | | | * Fix error while working in utf mode when raw regexps was not created properly
* * More debugVsevolod Stakhov2010-07-251-1/+1
|
* * Reopen log file by USR1 signalVsevolod Stakhov2010-07-191-0/+3
| | | | * Add reopenlog method to FreeBSD rc script
* * Announce weights and syncAndrej Zverev2010-06-281-8/+10
| | | | * Fix few typo
* * Use rspamd_snprintf instead of libc oneVsevolod Stakhov2010-06-241-56/+56
|
* * Check return value of each rspamd_dispatcher_write as in case of write ↵Vsevolod Stakhov2010-06-241-46/+105
| | | | errors sessions can be destroyed early
* * announce the "password" keyword in usage listAndrej Zverev2010-06-171-2/+6
|
* * Fix misprint (by Andrej Zverev)Vsevolod Stakhov2010-06-171-1/+1
|
* * Convert statistic sums to use long double for countersVsevolod Stakhov2010-05-271-1/+1
| | | | * Use hyperbolic tangent for internal normalizer
* * Fix uptime commandVsevolod Stakhov2010-05-081-3/+3
|
* * Bugfixes:Vsevolod Stakhov2010-04-201-1/+1
| | | | | | | | | | - handle '\' characters in lua strings correctly - fix lua initialization - avoid of using global lua state (global L) - fix listen sockets hash to allow multiply workers of same type but on different listen sockets - fix modules options inserting to allow multiply options of the same name - fix parsing of lua options - fix lua rules
* * Add statistics for fuzzy storagecebka@lenovo-laptop2010-03-171-0/+2
|
* * Fix statistics of messages in controllercebka@lenovo-laptop2010-03-171-0/+1
| | | | | | | | * Fix building and installing perl target * Fix learn command name * Controller's commands are now case insensitive * Statfiles can now be selected from popup list in cgi interface * Password for controller's commands can now be specified in cgi interface
* * Add normalizer for fuzzy hashescebka@lenovo-laptop2010-03-161-1/+1
| | | | * Fix fuzzy add and fuzzy del
* * Fix learn command (-m is used instead -w)cebka@lenovo-laptop2010-03-151-1/+1
|
* * Add percents of spam and ham detected to stat command outputcebka@lenovo-laptop2010-03-011-2/+6
|
* * Fix bugs from previous commitcebka@lenovo-laptop2010-03-011-4/+0
|
* * Add weights command for getting weights of each message by each statfilecebka@lenovo-laptop2010-03-011-5/+136
| | | | | * Add ability to specify multiplier when learning * Add statistics about spam and ham messages
* * Handle empty messages in learningcebka@lenovo-laptop2010-02-051-0/+11
|
* * Add ability to classify only specific headers (for example Subject)cebka@lenovo-laptop2010-02-011-8/+21
|
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-21/+21
| | | | | | | | | - 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
* * Many major fixes to statfiles:Vsevolod Stakhov2009-12-031-16/+62
| | | | | | | | | | - fix bug with mmapping files: new addresses must NOT be allocated in shared memory by themselves - fix bug with winnow classifier that totally brokes it down - fix bug with too much grow of values * Use double precission values in statistics * Add statistics for statfiles * Add more informative data to output of LEARN command (weight of incoming message) * Add weight to output of classifier as well
* * Another fixes to synchronization of statfilesVsevolod Stakhov2009-12-031-4/+0
|
* * Some fixes to syncVsevolod Stakhov2009-12-021-10/+21
|
* * Adopt printf function from nginx for comfortable printing of some data ↵Vsevolod Stakhov2009-11-301-2/+2
| | | | | | | 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)
* * Initial release of synchronization server in controllerVsevolod Stakhov2009-11-271-1/+150
|
* * Write revision and revision time to statfileVsevolod Stakhov2009-11-121-2/+20
| | | | * Make some improvements to API (trying to make it more clear)
* * Avoid mmap'ing in binlog as mmapped areas must be alignedVsevolod Stakhov2009-11-091-1/+3
| | | | | * Make binlog working for writing * Add config params for binlog
* * Add more advanced signal processing routineVsevolod Stakhov2009-11-051-2/+6
|
* * Implement new system of managing rspamd processesVsevolod Stakhov2009-10-301-3/+0
|
* * Retab, no functional changesVsevolod Stakhov2009-10-021-362/+339
|
* * Fix race between learn and classifyVsevolod Stakhov2009-09-281-1/+3
|
* * Fix learningVsevolod Stakhov2009-09-251-15/+32
|
* * Small fixes in task constructionVsevolod Stakhov2009-09-231-1/+1
|
* * Implement new system of async events handling (experimental)Vsevolod Stakhov2009-09-221-21/+39
|
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-37/+9
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Improve google perf tools supportVsevolod Stakhov2009-08-251-1/+2
| | | | * Pass to event_add only copies of struct timeval to avoid timing problems
* * 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