summaryrefslogtreecommitdiffstats
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix listening on sockets.Vsevolod Stakhov2013-06-031-3/+3
|
* Rework socket creation logic to support both ipv4 and ipv6 sockets.Vsevolod Stakhov2013-06-011-40/+9
|
* Fix CentOS 5 build.Vsevolod Stakhov2013-03-271-0/+4
|
* Add locking for maps.Vsevolod Stakhov2013-01-081-0/+10
| | | | Add ability to save rolling history in a file.
* * Add rolling history feature saving last 200 scanned messages.Vsevolod Stakhov2013-01-071-0/+3
| | | | Add /history command handler in webui.
* Add /maps and /getmap commands to webui.Vsevolod Stakhov2013-01-061-0/+20
| | | | | | Identify maps by id. Initialize secure random numbers using openssl. Add description to maps.
* Fix test build and shlibs depends.Vsevolod Stakhov2012-12-151-0/+51
|
* * Use murmur hash for all hashes as it is more efficient and provides more ↵Vsevolod Stakhov2012-10-081-2/+2
| | | | | | uniform distribution as glib's default one. * Fix probability renormalization while using advanced classification.
* Make mlock option as tunable.Vsevolod Stakhov2012-10-081-1/+1
|
* * Use mlock to speed up classifiers by locking statfiles in the RAM.Vsevolod Stakhov2012-10-051-0/+2
|
* Avoid global variables in map logic.Vsevolod Stakhov2012-09-191-46/+1
| | | | * Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...'
* 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
|
* * Rework thread pools locking logic to avoid global lua mutex usage.Vsevolod Stakhov2012-08-221-2/+4
| | | | | | Fixed several memory leaks with modern glib. Fixed memory leak in dkim code. Fixed a problem with static global variables in shared libraries.
* Fix assertion when using default configuration.Vsevolod Stakhov2012-08-161-1/+1
|
* Fix spelling. Submitted by: Laszlo Boszormenyi.Vsevolod Stakhov2012-08-101-2/+2
|
* Avoid using global 'counters' hash, include it in struct rspamd_main.Vsevolod Stakhov2012-06-071-3/+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-1/+1
|
* Make it possible to start several rspamd with different configurations from ↵Vsevolod Stakhov2012-04-241-8/+38
| | | | a single commandline.
* Fix proxy logic.Vsevolod Stakhov2012-03-131-27/+32
|
* Another workaround for old glib.Vsevolod Stakhov2012-02-211-1/+4
|
* Workaround for old glib.Vsevolod Stakhov2012-02-171-0/+6
|
* Add quarks to events to determine source of event inside rspamd.Vsevolod Stakhov2012-02-131-0/+3
| | | | Another try to fix threading.
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-82/+34
| | | | | | | | - 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.
* Add -i flag allowing to run workers as root.Vsevolod Stakhov2011-11-301-15/+27
|
* * Fix reopening of logs in case of privilleged run.Vsevolod Stakhov2011-11-301-19/+44
|
* Check for SIGUSR1 by libevent to avoid signals collisions.Vsevolod Stakhov2011-11-301-7/+1
| | | | Remove greylist_storage as it was never used and is actually replaced with basic kvstorage.
* * Add incr and decr commands to kvstorage.Vsevolod Stakhov2011-11-101-1/+2
| | | | * Add integers detection inside kvstorage.
* Implement lazy backend writing using sync_ops = 0.Vsevolod Stakhov2011-11-081-2/+9
| | | | Allways wait for kvstorage worker to prevent data corruption.
* * Initial implementation of threaded kvstorage worker.Vsevolod Stakhov2011-10-271-0/+12
|
* Add universal utility function for creating stream sockets.Vsevolod Stakhov2011-10-181-1/+1
|
* Try to check spf domain before adding it to LRU hash.Vsevolod Stakhov2011-10-061-7/+7
| | | | 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-10/+21
| | | | | | other things in rspamd as well in future. Ignore unknown headers in case of http.
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-2/+2
|
* * Add max_tokens options to avoid classifying and learning with too much ↵Vsevolod Stakhov2011-07-261-0/+2
| | | | | | tokens from one message. Fix stupid memory leakage on client's timeout.
* Another 'proper' place.Vsevolod Stakhov2011-07-261-0/+1
|
* Fix reload command.Vsevolod Stakhov2011-06-201-0/+1
|
* Misprint.Vsevolod Stakhov2011-06-031-1/+0
|
* Fix initialization order.Vsevolod Stakhov2011-05-101-1/+1
|
* * Rework build process:Vsevolod Stakhov2011-05-101-114/+98
| | | | | | | | | | - 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
* * Preload statfiles at the early beginning in the main processVsevolod Stakhov2011-03-311-0/+30
| | | | | * Add JSON output for rspamd worker * Add HTTP protocol support for rspamd worker
* * Add ability to extract urls from subject field0.3.10Vsevolod Stakhov2011-03-231-2/+2
| | | | | | Fix phishing plugin. * Important fix for multimap/cdb handling * Important fix for phishing detector
* * Main process now has 'hard termination time' - maximum time between ↵Vsevolod Stakhov2011-03-231-3/+49
| | | | getting termination signal and waiting for workers
* Do not re-create symbols cache while doing dump of cache.Vsevolod Stakhov2011-03-221-3/+3
|
* Init cache before loading config.Vsevolod Stakhov2010-12-221-4/+6
|
* * Introduce new system of configuration checks:Vsevolod Stakhov2010-12-201-4/+21
| | | | | | | | - now symbols inside metrics definition must be inside rules as well - symbols may be virtual (e.g. when module can insert several symbols inside callback) - symbols may be pure callbacks (when symbol's name is unknown and depends on conditions) * Module 'emails' is removed as it is not used in the current rspamd MANY fixes to sample config files
* Add registering options for lua modulesVsevolod Stakhov2010-12-141-9/+17
| | | | * Add ability to output colored messages for file and console loggers
* Implement checking options for modulesVsevolod Stakhov2010-12-131-0/+9
| | | | | | Implement checking for classifier options Fix redirector to handle timeouts and invalid replies properly Fix surbl module not to check each url
* * Start new rspamd 0.3.4Vsevolod Stakhov2010-12-031-27/+17
| | | | * Add ability to manage per-module, per-worker and per-classifier options in XML parser
* Write release id if rspamd is built from hg.Vsevolod Stakhov2010-12-031-2/+2
|