aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
Commit message (Collapse)AuthorAgeFilesLines
* * Add learn_spam/learn_ham interface to librspamdclient and to rspamcVsevolod Stakhov2011-07-141-4/+17
| | | | | * Improve logic of io dispatcher restoration Remove correction factor from bayes as it leads to classify errors.
* * Remove completion logic from controller: it is hardly used but breaks new ↵Vsevolod Stakhov2011-07-141-35/+26
| | | | commands logic
* * First commit to implement multi-statfile filter system with new learning ↵Vsevolod Stakhov2011-07-121-3/+184
| | | | mechanizm (untested yet)
* * Welcome 0.4.0Vsevolod Stakhov2011-06-241-12/+9
| | | | | | | | | | | | | | | | | | 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 reload command.Vsevolod Stakhov2011-06-201-1/+1
|
* * Skip short utf words in statisticsVsevolod Stakhov2011-06-031-1/+1
|
* * Rework build process:Vsevolod Stakhov2011-05-101-1/+1
| | | | | | | | | | - 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
* * Major cleanup of cmake build systemVsevolod Stakhov2011-05-061-1/+2
| | | | | | * Add initial version of statshow utility for statfiles debugging * Add debugging for statistics * Remove unused utilities
* * Add ability to learn rspamd via worker (without password)0.3.11Vsevolod Stakhov2011-03-311-71/+2
|
* Fix several memory leaks in rspamd.Vsevolod Stakhov2011-02-241-1/+1
|
* * Add ability to specify 'S' flag to regexp that means that headers checks ↵Vsevolod Stakhov2011-02-151-1/+1
| | | | | | must be case sensitive * Add lua function message:get_header_strong
* * Try to fix descriptors leakage in controllerVsevolod Stakhov2011-02-041-1/+1
|
* * Implement controller interface inside librspamdclient/rspamcVsevolod Stakhov2011-02-011-8/+9
| | | | | | | * REMOVE perl client (at last) Fixed some stupid moments in a controller's protocol Change version to 0.3.5
* * Add Subject header to statisticsVsevolod Stakhov2010-12-241-1/+3
| | | | * Write log message about symbols that are removed when composite symbol is inserted
* * Start new rspamd 0.3.4Vsevolod Stakhov2010-12-031-6/+30
| | | | * Add ability to manage per-module, per-worker and per-classifier options in XML parser
* 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
|