summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Add comparasion for rcl vs jansson.Vsevolod Stakhov2013-10-151-5/+26
| | | | Fix some issues in jansson memory management.
* Disallow '//' as a single line comment.Vsevolod Stakhov2013-10-121-0/+1
|
* Fix rcl parser.Vsevolod Stakhov2013-10-111-1/+28
|
* Improve tests.Vsevolod Stakhov2013-08-251-0/+16
|
* Add refcount to rcl objects.Vsevolod Stakhov2013-08-251-4/+10
|
* Add test for signature checking in rcl.Vsevolod Stakhov2013-08-222-1/+12
|
* Fix whitespace parsing for rcl arrays.Vsevolod Stakhov2013-08-211-2/+7
|
* Fix some issues with comments in rcl.Vsevolod Stakhov2013-08-211-2/+13
|
* Improve test suite by using standard glib test options.Vsevolod Stakhov2013-08-213-19/+10
|
* Refactor fetching functions slightly.Vsevolod Stakhov2013-08-211-1/+1
|
* Fixes to rcl parser found by tests.Vsevolod Stakhov2013-08-131-3/+3
|
* Improve testing logic.Vsevolod Stakhov2013-08-131-1/+29
|
* Fix rcl test suite and parser.Vsevolod Stakhov2013-08-121-1/+10
|
* Fix some rcl parser errors found by test.Vsevolod Stakhov2013-08-091-3/+2
|
* Add a test suite for rcl.Vsevolod Stakhov2013-08-095-14/+79
|
* Add a simple test of rsa utils in lua.Vsevolod Stakhov2013-06-134-0/+94
| | | | | | Support RSA signing in lua_rsa module. Add save function for rsa_signature. Fix test logic for lua modules.
* Fix rrd update.Vsevolod Stakhov2012-12-211-7/+6
|
* Implement rra writing.Vsevolod Stakhov2012-12-181-14/+13
|
* * Add simple test for rrd.Vsevolod Stakhov2012-12-155-13/+97
| | | | | | | | Several fixes to RRD API. TODO: fix test building TODO: improve update of rrd files TODO: rework shared libraries again
* * Implement 'time_jitter' setting allowing to check signatures in future in ↵Vsevolod Stakhov2012-06-041-1/+1
| | | | case of incorrect system time (1 minute jittering by default).
* * Write tests for DKIM signature and key parsers.Vsevolod Stakhov2012-05-294-1/+103
| | | | Fix DKIM parsers.
* Aio context must be long not int.Vsevolod Stakhov2012-03-111-5/+8
| | | | O_DIRECT on linux requires strict memory alignment.
* Fixed threading for testing suite.Vsevolod Stakhov2012-03-052-1/+7
|
* Fix asynchronous IO API.Vsevolod Stakhov2012-03-015-3/+97
| | | | Write test case for aio.
* Separate librspamdserver API from plugins and workers functions.Vsevolod Stakhov2012-03-014-7/+19
| | | | Make tests compileable again.
* * Rework build process:Vsevolod Stakhov2011-05-103-26/+19
| | | | | | | | | | - 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-0/+41
| | | | | | * Add initial version of statshow utility for statfiles debugging * Add debugging for statistics * Remove unused utilities
* Make own strlcpy that does not calculate remaining string length (faster and ↵Vsevolod Stakhov2010-11-161-1/+1
| | | | | | more safe) Allow only ASCII symbols in logs, escape control chars
* * Many fixes to statfile syncronization systemVsevolod Stakhov2010-09-021-1/+3
| | | | * Fixed statfile pool initialization and synchronization with disk
* * Fix some problems with TXT recordsVsevolod Stakhov2010-07-131-0/+2
| | | | * Try to fix removing of DNS events
* * Make SURBL module to use rspamd dns moduleVsevolod Stakhov2010-07-091-1/+1
| | | | * Several fixes to DNS logic
* * Add support for parsing SPF and SRV recordsVsevolod Stakhov2010-07-091-2/+13
| | | | | * Fix PTR parsing * Add tests
* * Forgotten in previous commitVsevolod Stakhov2010-07-081-0/+91
|
* * Make DNS resolver workingVsevolod Stakhov2010-07-087-58/+51
| | | | | | * Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality * Write DNS resolver tests * Fix issues with memory_pool mutexes and with creating of statfiles
* * Add ability to change statfile size limit in config and allow reindexing ↵Vsevolod Stakhov2009-10-161-1/+1
| | | | of statfiles
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-142-5/+8
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Rework url parsing algorithmsVsevolod Stakhov2009-06-021-47/+1
| | | | | | | * Adopt all parts of rspamd for new url parser * Improve url-extracter utility by avoiding cut&paste of mime parsing * Small fixes to rspamc client * Bump version to 0.1.3
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-041-0/+2
| | | | * Fix shared hashes
* * Fix urls extracting, avoid code repeatingVsevolod Stakhov2009-04-171-2/+2
|
* * Fix misprintVsevolod Stakhov2009-03-301-1/+1
|
* * Fix error in parser when parsing last ')' we need to remove '(' from stack ↵Vsevolod Stakhov2009-03-271-0/+1
| | | | as well
* * Fix many compile time warnings and polish codeVsevolod Stakhov2009-03-241-0/+2
|
* * Fix error in expression parser that causes bad errors with expressions ↵Vsevolod Stakhov2009-03-231-3/+35
| | | | | | | | | | | | that have regexp at the end * Improve test for fuzzy hashes * Add new object - TextPart to perl XS library that allows access to stripped parts and fuzzy hashes * Add documentation for expressions parser and fot Mail::Rspamd::TextPart * Allways calculate fuzzy hash for text parts * Store text parts separately from other parts * Add compare_parts_distance for expressions that calculates difference in 2 parts messages * Do not try to substitute variables in empty strings
* * Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash)Vsevolod Stakhov2009-03-204-14/+48
| | | | * Add test case for fuzzy hashing check
* * Add functions support to rspamd regexpsVsevolod Stakhov2009-03-193-7/+39
| | | | | | | | * Parse expressions with state machine which allows different kinds of arguments in expressions * Fix test to accord current data * Add support of fucntions to regexp module * Move all regexp logic to separate file, describe its API * Fix descriptors leakage in surbl module
* * Add new hash for storing hash data in shared memoryVsevolod Stakhov2009-01-271-0/+1
| | | | * Add rwlocks implementation (primitive) in memory pool library
* * Add simple implementation of classifiers abstraction and winnow classifierVsevolod Stakhov2008-12-041-2/+2
| | | | * Force statfile to work with float values
* * Remove strlcpy code and replace it with glib alternativeVsevolod Stakhov2008-12-032-4/+1
| | | | * Polish code and remove bugs found
* * Write functions to operate blocks in stat filesVsevolod Stakhov2008-11-284-0/+64
| | | | * Write test case for statistics files API
* * Reorganize structure of source filesVsevolod Stakhov2008-11-016-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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