]> source.dussan.org Git - rspamd.git/log
rspamd.git
15 years ago* Optimize configure by using caching of determined options (more than 2 times faster...
Vsevolod Stakhov [Sat, 1 Nov 2008 19:48:59 +0000 (22:48 +0300)]
* Optimize configure by using caching of determined options (more than 2 times faster than before)

15 years ago* Reorganize structure of source files
Vsevolod Stakhov [Sat, 1 Nov 2008 15:01:05 +0000 (18:01 +0300)]
* Reorganize structure of source files
* 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

15 years ago* Add determining page size function to mem_pool library
Vsevolod Stakhov [Sun, 26 Oct 2008 04:14:48 +0000 (07:14 +0300)]
* Add determining page size function to mem_pool library
* Add simple statistic structure that is placed in shared memory and used for gathering server's stats

15 years ago* Add main logging functions (log to file, syslog and console)
Vsevolod Stakhov [Sun, 26 Oct 2008 03:53:05 +0000 (06:53 +0300)]
* Add main logging functions (log to file, syslog and console)
* Handle log reopening

15 years ago* Add ability to handle multiply recipients
Vsevolod Stakhov [Sat, 25 Oct 2008 01:06:16 +0000 (05:06 +0400)]
* Add ability to handle multiply recipients
* Reflect changes to perl library

15 years ago* Stylify and fix util functions that was gathered from libutil code (memory allocation)
Vsevolod Stakhov [Fri, 24 Oct 2008 15:32:39 +0000 (19:32 +0400)]
* Stylify and fix util functions that was gathered from libutil code (memory allocation)
* Fix protocol and network functions
* Fix some memory allocation issues

16 years ago* Add initial implementation of control interface
Vsevolod Stakhov [Thu, 23 Oct 2008 15:10:40 +0000 (19:10 +0400)]
* Add initial implementation of control interface

16 years ago* Add initial implementation of regexp module
Vsevolod Stakhov [Wed, 22 Oct 2008 15:41:12 +0000 (19:41 +0400)]
* Add initial implementation of regexp module

16 years ago* Parse header regexps in other way (header_name=/some_regexp/flags)
Vsevolod Stakhov [Mon, 20 Oct 2008 14:03:50 +0000 (18:03 +0400)]
* Parse header regexps in other way (header_name=/some_regexp/flags)

16 years ago* Add support of shared memory chunks to memory pool allocator. Also add locking...
Vsevolod Stakhov [Thu, 16 Oct 2008 15:41:45 +0000 (19:41 +0400)]
* Add support of shared memory chunks to memory pool allocator. Also add locking support (spin mutexes)
* Add simple test case for shared memory allocation

16 years ago* Implement composite symbols
cebka@cebka-laptop [Tue, 14 Oct 2008 15:10:21 +0000 (19:10 +0400)]
* Implement composite symbols

16 years ago* Configure modules when worker starts for simplifying reconfig procedure
cebka@cebka-laptop [Tue, 14 Oct 2008 13:34:56 +0000 (17:34 +0400)]
* Configure modules when worker starts for simplifying reconfig procedure
* Add two behaviour types of memory allocator: greedy and ungreedy
* Adopt surbl module for new configure style

16 years ago* Implement destructors stack in memory pool, so there is now
cebka@mailsupport.rambler.ru [Tue, 14 Oct 2008 01:24:07 +0000 (05:24 +0400)]
* Implement destructors stack in memory pool, so there is now
  convinient way to free objects in pool that was allocated by other
  memory allocation mechanics (e.g. GObject).
  Destructors must be added in pool manually by calling memory_pool_add_destructor
  function.

16 years ago* Add utility function for parsing regexp from given string (type flags and pcre...
cebka@mailsupport.rambler.ru [Tue, 14 Oct 2008 01:03:54 +0000 (05:03 +0400)]
* Add utility function for parsing regexp from given string (type flags and pcre flags)

16 years ago* Implement expression parser (convertor to inverse polish record)
cebka@cebka-laptop [Mon, 13 Oct 2008 15:06:07 +0000 (19:06 +0400)]
* Implement expression parser (convertor to inverse polish record)
* Improve configure system by implementing dependencies
* Add .depend files for subdirs that requre it
* Write simple test for expressions parser

16 years ago* Write protocol output functions
cebka@cebka-laptop [Fri, 10 Oct 2008 15:21:23 +0000 (19:21 +0400)]
* Write protocol output functions
* Fix test suite build under linux

16 years ago* Add routines to perl api to access new results adding function and getting param...
cebka@mailsupport.rambler.ru [Wed, 24 Sep 2008 14:49:08 +0000 (18:49 +0400)]
* Add routines to perl api to access new results adding function and getting param function
  this allows accessing to modules config from perl modules

16 years ago* Remove unused debug messages from url library
cebka@mailsupport.rambler.ru [Tue, 23 Sep 2008 23:48:31 +0000 (03:48 +0400)]
* Remove unused debug messages from url library

16 years ago* Add filter processing function which implements new filter's logic
cebka@mailsupport.rambler.ru [Tue, 23 Sep 2008 23:40:51 +0000 (03:40 +0400)]
* Add filter processing function which implements new filter's logic

16 years ago* Rework config file memory allocation to separate memory pool for easy reloading
cebka@mailsupport.rambler.ru [Tue, 23 Sep 2008 22:14:18 +0000 (02:14 +0400)]
* Rework config file memory allocation to separate memory pool for easy reloading
  without calling of ~1000 free syscalls
* Add memory_pool_alloc0 for initializing newly allocated space in pool with zeroes

16 years ago* Implement factors consolidation function (default consolidation function for metrics)
cebka@mailsupport.rambler.ru [Tue, 23 Sep 2008 21:53:39 +0000 (01:53 +0400)]
* Implement factors consolidation function (default consolidation function for metrics)

16 years ago* Rework logic of filters
cebka@mailsupport.rambler.ru [Tue, 23 Sep 2008 14:12:36 +0000 (18:12 +0400)]
* Rework logic of filters
* Add some documentation to rspamd (about new filters logic and about protocol)

16 years ago* Small updates to memory pool library
cebka@mailsupport.rambler.ru [Tue, 23 Sep 2008 07:47:56 +0000 (11:47 +0400)]
* Small updates to memory pool library
 - fix cases when new chunk is allocated
 - add memory pool allocator statistics
 - let it work in multi-threaded environment
 - add strdup function for convinience
* Use memory pool allocator more widely to avoid memory leaks in future and optimize performance
* Task pool chunk size is now pre-defined constant (16 Kb currently)

16 years ago* Optimize memory pools allocator
cebka@mailsupport.rambler.ru [Sun, 21 Sep 2008 21:08:41 +0000 (01:08 +0400)]
* Optimize memory pools allocator
* Add test case for memory pools

16 years ago* Use internal task pool for memcached operation exported for perl
cebka@mailsupport.rambler.ru [Sun, 21 Sep 2008 03:23:29 +0000 (07:23 +0400)]
* Use internal task pool for memcached operation exported for perl
* Make AV reference mortal as it is described in perlxs (3)

16 years ago* Place all protocol logic in separate file
cebka@mailsupport.rambler.ru [Sat, 20 Sep 2008 00:13:49 +0000 (04:13 +0400)]
* Place all protocol logic in separate file
 - simplify protocol parsing logic
 - add compatibility with sa-spamd
 - TODO: add protocol output for all commands

16 years ago* Avoid realloc for memory pools by making memory pool chains
cebka@mailsupport.rambler.ru [Thu, 18 Sep 2008 15:46:21 +0000 (19:46 +0400)]
* Avoid realloc for memory pools by making memory pool chains

16 years ago* Add memory pool support.
cebka@mailsupport.rambler.ru [Thu, 18 Sep 2008 15:27:53 +0000 (19:27 +0400)]
* Add memory pool support.
 - memory pools would be used in modules for allocating task specific data without freeing it separately
 - memory pools growth is implemented as multiplying by 2 its length (for avoiding multiply reallocs)
 - when memory pool is freed all data that was allocated from this pool is freed too

16 years ago* Add support of variables and variable substitution in config file
cebka@mailsupport.rambler.ru [Thu, 18 Sep 2008 14:25:00 +0000 (18:25 +0400)]
* Add support of variables and variable substitution in config file

16 years ago* Write test case for async memcached library
cebka@mailsupport.rambler.ru [Tue, 16 Sep 2008 14:42:02 +0000 (18:42 +0400)]
* Write test case for async memcached library
* Fix memcached async library to pass test :)

16 years ago* Fix include dependencies
cebka@mailsupport.rambler.ru [Tue, 16 Sep 2008 11:47:40 +0000 (15:47 +0400)]
* Fix include dependencies

16 years ago* Add utility for extracting urls from message
Vsevolod Stakhov [Wed, 10 Sep 2008 13:58:54 +0000 (17:58 +0400)]
* Add utility for extracting urls from message
* Rework build system

16 years ago* Fix url parser (get regexp from our mail system)
Vsevolod Stakhov [Tue, 9 Sep 2008 14:48:49 +0000 (18:48 +0400)]
* Fix url parser (get regexp from our mail system)
* Add some more tests to url testcase

16 years ago* Fix url length while passing them to normalizer
Vsevolod Stakhov [Mon, 8 Sep 2008 15:45:45 +0000 (19:45 +0400)]
* Fix url length while passing them to normalizer
TODO: fix html parsing regexp (now it doesn't work)

16 years ago* Use glib logger and regexp matching functions
Vsevolod Stakhov [Mon, 8 Sep 2008 15:29:34 +0000 (19:29 +0400)]
* Use glib logger and regexp matching functions

16 years ago* Add initial test suite using glib test suite
Vsevolod Stakhov [Mon, 8 Sep 2008 14:18:56 +0000 (18:18 +0400)]
* Add initial test suite using glib test suite

16 years ago* Add SURBL logic to surbl plugin
Vsevolod Stakhov [Thu, 4 Sep 2008 14:07:41 +0000 (18:07 +0400)]
* Add SURBL logic to surbl plugin
* Add whitelist and hosters list to params

16 years ago* Add initial implementation of surbl check module
Vsevolod Stakhov [Wed, 3 Sep 2008 15:13:24 +0000 (19:13 +0400)]
* Add initial implementation of surbl check module

16 years ago* Add ability to pass options to rspamd modules via flex start conditions
Vsevolod Stakhov [Tue, 2 Sep 2008 15:42:58 +0000 (19:42 +0400)]
* Add ability to pass options to rspamd modules via flex start conditions

16 years ago* Update URL normalizer (partially taken from GNU wget)
Vsevolod Stakhov [Mon, 25 Aug 2008 14:30:46 +0000 (18:30 +0400)]
* Update URL normalizer (partially taken from GNU wget)

16 years ago* Add implementation of save point for async events in rspamd filters
Vsevolod Stakhov [Fri, 22 Aug 2008 14:15:02 +0000 (18:15 +0400)]
* Add implementation of save point for async events in rspamd filters

16 years ago* Add filters logic
Vsevolod Stakhov [Thu, 21 Aug 2008 13:58:30 +0000 (17:58 +0400)]
* Add filters logic
* Perl should use separate memcached context for its operations (just do memcpy with the same socket)
TODO: add block mechanics here to avoid memcached connection closing before perl operation is finished
* Change logic of perl chain filter

16 years ago* Rewrite perl module for new XS, now perl filters got only object of rspamd module...
Vsevolod Stakhov [Wed, 20 Aug 2008 13:09:13 +0000 (17:09 +0400)]
* Rewrite perl module for new XS, now perl filters got only object of rspamd module that provides access to every part of message
* Add memcached access api for perl
* Reorganize Makefile, add .PHONY targets
* Fix memcached module as now we cannot write or read several keys in async mode

16 years ago* Add initial implementation of rspamd XS module
Vsevolod Stakhov [Tue, 19 Aug 2008 15:46:10 +0000 (19:46 +0400)]
* Add initial implementation of rspamd XS module

16 years ago* Add additional headers support in protocol
Vsevolod Stakhov [Mon, 18 Aug 2008 13:11:16 +0000 (17:11 +0400)]
* Add additional headers support in protocol

16 years ago* Add initial implementation of C modules API
Vsevolod Stakhov [Thu, 14 Aug 2008 13:14:02 +0000 (17:14 +0400)]
* Add initial implementation of C modules API

16 years ago* Add checking of tempdir (ported from rpop)
Vsevolod Stakhov [Mon, 30 Jun 2008 12:11:54 +0000 (16:11 +0400)]
* Add checking of tempdir (ported from rpop)

16 years ago* Add C api for calling perl filters
Vsevolod Stakhov [Wed, 25 Jun 2008 11:17:06 +0000 (15:17 +0400)]
* Add C api for calling perl filters

16 years ago* Init perl XS correctly
Vsevolod Stakhov [Tue, 24 Jun 2008 13:55:36 +0000 (17:55 +0400)]
* Init perl XS correctly

16 years ago* Add initial support of perl filters
Vsevolod Stakhov [Tue, 24 Jun 2008 13:50:29 +0000 (17:50 +0400)]
* Add initial support of perl filters

16 years ago* Rewrite memcached library to work with events (async model)
Vsevolod Stakhov [Thu, 19 Jun 2008 14:55:56 +0000 (18:55 +0400)]
* Rewrite memcached library to work with events (async model)
* Add simple test for new memcached library
* Use glib variants of malloc and free functions in rspamd

16 years ago* Add extracting urls from messages
Vsevolod Stakhov [Mon, 16 Jun 2008 15:24:18 +0000 (19:24 +0400)]
* Add extracting urls from messages

16 years ago* Add initial version of URLs parser (still need to make PCRE parse all pattern matches)
Vsevolod Stakhov [Wed, 11 Jun 2008 14:34:33 +0000 (18:34 +0400)]
* Add initial version of URLs parser (still need to make PCRE parse all pattern matches)
* Link with PCRE

16 years ago* Remove warning from main.c
Vsevolod Stakhov [Tue, 10 Jun 2008 13:41:41 +0000 (17:41 +0400)]
* Remove warning from main.c
* Add perl detection and perl linker's and cflags
* Modify configure to work with BSD sed (stupid and ugly)

16 years ago* Add gnome mime parser to rspamd
Vsevolod Stakhov [Mon, 9 Jun 2008 10:20:34 +0000 (14:20 +0400)]
* Add gnome mime parser to rspamd
* Add some protocol parser with evbuffer
* Add pkg-check to configure script for detecting gmime and glib

16 years ago* Add initial release of mime parser. Now can only decode base64 and quoted-printable.
Vsevolod Stakhov [Mon, 12 May 2008 16:28:12 +0000 (20:28 +0400)]
* Add initial release of mime parser. Now can only decode base64 and quoted-printable.

16 years ago* Add fixed string library
Vsevolod Stakhov [Mon, 12 May 2008 13:23:29 +0000 (17:23 +0400)]
* Add fixed string library

16 years ago* Add skeleton
Vsevolod Stakhov [Thu, 8 May 2008 15:05:30 +0000 (19:05 +0400)]
* Add skeleton