summaryrefslogtreecommitdiffstats
path: root/src/controller.c
Commit message (Collapse)AuthorAgeFilesLines
* Adopt DNS logging.Vsevolod Stakhov2014-02-201-1/+1
|
* Simplify states of task. Disable broken code.Vsevolod Stakhov2014-01-191-16/+1
|
* Parse HTTP requests, cleanup the code.Vsevolod Stakhov2014-01-181-1/+2
| | | | | --HG-- extra : rebase_source : 6b35fbf55fc9fe65d7f033620670bb210928e9b4
* Start moving to HTTP world.Vsevolod Stakhov2014-01-121-9/+3
|
* Use dynamic buffer for stat and counters.Vsevolod Stakhov2013-12-231-41/+71
|
* Fix race condition in the controller IO.Vsevolod Stakhov2013-12-041-4/+11
|
* Fix restfull mode when controller has no password.Vsevolod Stakhov2013-12-011-1/+3
|
* Fix dispatcher restoration.Vsevolod Stakhov2013-11-151-4/+3
|
* Set task dispatcher properly during learning.Vsevolod Stakhov2013-11-151-2/+2
|
* Some fixes to buffered IO.Vsevolod Stakhov2013-11-081-2/+1
|
* Adopt fuzzy storage and controller.Vsevolod Stakhov2013-09-301-4/+9
|
* Add stat_reset command.Vsevolod Stakhov2013-07-231-14/+33
| | | | | This command is designed to get statistics from rspamd and reset it to a zero state.
* Allow listening on multiply addresses.Vsevolod Stakhov2013-07-201-17/+5
| | | | | | | Now rspamd can listen on multiply ipv4/ipv6 addresses. Removed legacy workers (lmtp, kvstorage) as they are never used in production. Try to unify workers initialization.
* Do not add extra useless line for restfull output.Vsevolod Stakhov2013-06-071-1/+6
|
* Improve counters output in the controller.Vsevolod Stakhov2013-06-071-16/+45
|
* Add saving of actions, symbols and maps.Vsevolod Stakhov2013-01-091-1/+8
|
* Add webui handler for rspamd (skeleton).Vsevolod Stakhov2013-01-051-0/+144
| | | | | | Fix url detector. Add group option for modules options. Some fixes in controller and rrd code.
* * Add meta-classification example.Vsevolod Stakhov2012-10-041-7/+14
| | | | | Many changes to advanced statistic and meta-classification logic. Add example of complex meta-classification.
* * Add support for dynamic configuration to the controller's interface.Vsevolod Stakhov2012-10-021-2/+125
| | | | | * File maps are now being watched even if they don't exist on rspamd start. Several fixes to dynamic configuration logic.
* Avoid global variables in map logic.Vsevolod Stakhov2012-09-191-1/+1
| | | | * Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...'
* Fix learning throught restfull interface.Vsevolod Stakhov2012-09-181-24/+74
|
* Force restful replies for restful sessions (not tested with all commands).Vsevolod Stakhov2012-09-161-28/+137
|
* * Initial approach to RESTful controller.Vsevolod Stakhov2012-09-141-62/+243
| | | | Fix security issues in fstring handling.
* Another debian license fix.Vsevolod Stakhov2012-09-101-1/+1
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Update copyright (required by debian).Vsevolod Stakhov2012-09-041-3/+3
|
* Avoid using global 'counters' hash, include it in struct rspamd_main.Vsevolod Stakhov2012-06-071-2/+1
| | | | | Move worker related utils to separate file and include it in rspamd-mime library. Add some cross-dependencies.
* Strict prototypes.Vsevolod Stakhov2012-06-051-2/+2
|
* Print percents with actions in controller's 'stat' command output.Vsevolod Stakhov2012-06-041-2/+3
|
* * Allow full access to controller's commands without a password ifVsevolod Stakhov2012-04-231-4/+7
| | | | | controller password is not specified in configuration. Fix some minor stuff while I'm here.
* Fix some problems with learning.Vsevolod Stakhov2012-04-231-31/+13
|
* Fix controller freezing.Vsevolod Stakhov2012-04-201-3/+4
|
* * Improve statistics for scanned messages.Vsevolod Stakhov2012-03-261-6/+16
|
* * More things to be thread-safe:Vsevolod Stakhov2012-02-131-2/+4
| | | | | | | - 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
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-4/+19
| | | | | | | | - 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-15/+36
| | | | Some fixes to lua redis library.
* * Finally get rid of stupid savepoints system and migrate to async events ↵Vsevolod Stakhov2011-12-141-26/+24
| | | | | | logic completely Fix lua redis library.
* Check for SIGUSR1 by libevent to avoid signals collisions.Vsevolod Stakhov2011-11-301-8/+24
| | | | Remove greylist_storage as it was never used and is actually replaced with basic kvstorage.
* * Use event_base thread safe API to allow parallelism based on threadsVsevolod Stakhov2011-10-261-6/+15
|
* Stupid bug with learning and task destroying.Vsevolod Stakhov2011-08-161-4/+4
|
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-2/+2
|
* Fix controller stages and debug info.Vsevolod Stakhov2011-08-011-7/+18
| | | | Handle timeouts in librspamdclient correctly.
* * Fix build under CentOS 5 with old glib 2.12Vsevolod Stakhov2011-07-291-5/+3
| | | | | * Fix build of rspamd with CMAKE_BINARY_DIR differs from CMAKE_SOURCE_DIR Rework include style.
* Increase buffer for output.Vsevolod Stakhov2011-07-221-1/+1
|
* * 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