]>
git.ipfire.org Git - thirdparty/rspamd.git/log
Vsevolod Stakhov [Fri, 6 Mar 2009 14:16:24 +0000 (17:16 +0300)]
* Add some broken urls to check list, in fact skip only urls without host part and empty urls (thought empty urls are
totally impossible in that code)
Vsevolod Stakhov [Fri, 6 Mar 2009 14:12:08 +0000 (17:12 +0300)]
* Fix bad memory leaks and memory corruption in url detecting module
Vsevolod Stakhov [Fri, 6 Mar 2009 10:09:32 +0000 (13:09 +0300)]
* Fix initialization procedure of redirector
* Do not write to log file if we cannot open it
Vsevolod Stakhov [Wed, 4 Mar 2009 16:14:30 +0000 (19:14 +0300)]
* Fix bug in url parser with freeing memory allocated by memory_pool allocator
* Do not write to log if we don't do any read operation in dispatcher library
Vsevolod Stakhov [Wed, 4 Mar 2009 10:58:20 +0000 (13:58 +0300)]
* Change method of dropping privilleges
Vsevolod Stakhov [Wed, 4 Mar 2009 09:50:40 +0000 (12:50 +0300)]
* Drop privilleges immideately after creating of listen socket
Vsevolod Stakhov [Tue, 3 Mar 2009 16:24:02 +0000 (19:24 +0300)]
* Fix misprint in surbl module
Vsevolod Stakhov [Tue, 3 Mar 2009 15:56:10 +0000 (18:56 +0300)]
* Add ability to fork multiply lmtp workers
* Add ability to drop privilleges of rspamd processes
* Add ability to install redirector with rspamd
* Add FreeBSD start scripts for rspamd and redirector
* Remove command line parsing from util.c as it has specific usage only in main process
Vsevolod Stakhov [Tue, 3 Mar 2009 11:31:51 +0000 (14:31 +0300)]
* Unify socket creation and accepting by using utility functions
* Check SO_ERROR on socket immideately after connect/bind to avoid resourses allocation for
unsuccessful connections
* Avoid descriptors leakage when we create sockets and have errors on them
* Set on all socket descriptors FD_CLOEXEC flag to avoid problems with executing LDA
Vsevolod Stakhov [Tue, 3 Mar 2009 10:44:50 +0000 (13:44 +0300)]
* New rspamd protocol (changed replies)
* Add ability to attach string lists to symbols
* Check destructors and do not add identical destructors (argument and function) to pool's destructors
* Remove 2 warnings when building with gmime22
* Attach url names to surbl symbols
* Fix bug with blocking on read (I think it is linux specific thought)
Vsevolod Stakhov [Mon, 2 Mar 2009 16:18:43 +0000 (19:18 +0300)]
* Add ability to check bits from surbl replies
Vsevolod Stakhov [Mon, 2 Mar 2009 14:35:03 +0000 (17:35 +0300)]
* Properly set initial state for surbl state machine
* Ignore SIGPIPE globally as dispatcher performs check of all write (2) calls
Vsevolod Stakhov [Mon, 2 Mar 2009 13:58:47 +0000 (16:58 +0300)]
* Set read timeout for redirector instead of connect timeout
Vsevolod Stakhov [Mon, 2 Mar 2009 13:54:03 +0000 (16:54 +0300)]
* htonl->htons as port is uint16_t, so lower bytes are zeroed or undefined when call htonl
Vsevolod Stakhov [Mon, 2 Mar 2009 13:43:01 +0000 (16:43 +0300)]
* Remove %m from logging it seems to be unsupported by FreeBSD printf version
Vsevolod Stakhov [Mon, 2 Mar 2009 13:24:26 +0000 (16:24 +0300)]
* Fix misprint
Vsevolod Stakhov [Mon, 2 Mar 2009 12:57:25 +0000 (15:57 +0300)]
* Add forgotten file
Vsevolod Stakhov [Mon, 2 Mar 2009 12:55:05 +0000 (15:55 +0300)]
* Add ability to check multiply SURBL's
Vsevolod Stakhov [Mon, 2 Mar 2009 10:09:33 +0000 (13:09 +0300)]
* Add compatibility with gmime24
Vsevolod Stakhov [Mon, 2 Mar 2009 06:25:32 +0000 (09:25 +0300)]
* Fix LMTP and DELIVERY parsing in config file while trying to get control credits
Vsevolod Stakhov [Mon, 2 Mar 2009 06:21:24 +0000 (09:21 +0300)]
* Fix dispatcher bugs and add some debug output
* Fix log output for surbl
Vsevolod Stakhov [Mon, 2 Mar 2009 00:58:37 +0000 (03:58 +0300)]
* Fix character policy in dispatcher
Vsevolod Stakhov [Mon, 2 Mar 2009 00:40:59 +0000 (03:40 +0300)]
* Try not to unref parser too early
Vsevolod Stakhov [Sun, 1 Mar 2009 22:59:39 +0000 (01:59 +0300)]
* Link with gmime24 if gmime22 is not found
Vsevolod Stakhov [Sun, 1 Mar 2009 22:39:40 +0000 (01:39 +0300)]
* Add debug for mime parsing
* Fill task structure with zeroes in url-extracter
Vsevolod Stakhov [Fri, 27 Feb 2009 17:06:15 +0000 (20:06 +0300)]
* Fix url-extracter
* Fix soft-shutdown of dispacther
* Turn debug on by default in cmake
* Change logic of save points
Vsevolod Stakhov [Fri, 27 Feb 2009 09:44:18 +0000 (12:44 +0300)]
* Fix dependencies on perlxs target (do not rebuild it constantly)
* Fix rspamc to understand lmtp and delivery sections in config
* Fix parser's states when reading module options
* Add sample config for surbl module with comments
--HG--
rename : rspamc.pl => rspamc.pl.in
Vsevolod Stakhov [Thu, 26 Feb 2009 16:34:34 +0000 (19:34 +0300)]
* Remove cmake logic for installing targets due to fucking libperl
Vsevolod Stakhov [Thu, 26 Feb 2009 15:51:31 +0000 (18:51 +0300)]
* Fix logging when process is starting
* Add -t option for config testing
* Try to search default config in install prefix not in current directory
Vsevolod Stakhov [Thu, 26 Feb 2009 15:09:28 +0000 (18:09 +0300)]
* Completely rewrite and reorganize perl API
* Add documentation for Mail::Rspamd
* Add install targets to cmake
--HG--
rename : perl/rspamd.pm => perl/Rspamd.pm
rename : perl/rspamd.xs => perl/Rspamd.xs
Vsevolod Stakhov [Wed, 25 Feb 2009 16:18:03 +0000 (19:18 +0300)]
* Add support of LMTP/SMTP delivery
Vsevolod Stakhov [Wed, 25 Feb 2009 11:03:42 +0000 (14:03 +0300)]
* Fix memory corruption and lmtp handling
* Add e-mail address validation in lmtp
Vsevolod Stakhov [Tue, 24 Feb 2009 17:16:53 +0000 (20:16 +0300)]
* Add initial LMTP support and LDA delivery to rspamd
Vsevolod Stakhov [Fri, 20 Feb 2009 15:49:04 +0000 (18:49 +0300)]
* Fix dispatcher timeouts handling
* Add wanna_die flag that can be used in dispatcher's callbacks
Vsevolod Stakhov [Thu, 19 Feb 2009 18:16:30 +0000 (21:16 +0300)]
* Implement rspamd IO with IO dispatcher (TODO: still some issues with timeouts must be resolved)
Vsevolod Stakhov [Wed, 18 Feb 2009 16:52:42 +0000 (19:52 +0300)]
* Improve logger initialization
Vsevolod Stakhov [Wed, 18 Feb 2009 11:21:06 +0000 (14:21 +0300)]
* Fix issue with -fPIC and DynaLoader
* Retab perl.c
Vsevolod Stakhov [Tue, 17 Feb 2009 12:04:24 +0000 (15:04 +0300)]
* Add issue to cmake to make perl module as well
* Fix some portability issues (to FreeBSD mainly)
* Add script to make modules list
Vsevolod Stakhov [Mon, 16 Feb 2009 16:50:18 +0000 (19:50 +0300)]
* Prepare to migrate to cmake (still need to write install target and working with XS implicitly)
* Move all system includes to one file where we detect availability of all that includes
* Fix license misprint
* Fix some issues with perl initializing
Vsevolod Stakhov [Mon, 16 Feb 2009 10:41:40 +0000 (13:41 +0300)]
* Add BSD license text
Vsevolod Stakhov [Fri, 13 Feb 2009 20:09:53 +0000 (23:09 +0300)]
* Remove unused field from task object
* Use separate hashes for blessing different object
Vsevolod Stakhov [Fri, 13 Feb 2009 14:03:43 +0000 (17:03 +0300)]
* Init perl and do all perl specific operations from the single place in code
* Push objects correctly to stack (by blessing them and making hash reference)
Vsevolod Stakhov [Thu, 12 Feb 2009 11:40:51 +0000 (14:40 +0300)]
* Add log function to perl API
* Prepare for more detailed work on rspamd perl API
Vsevolod Stakhov [Wed, 11 Feb 2009 14:39:04 +0000 (17:39 +0300)]
* By default number of workers is number of active processors in system
* Fix macro detection in configure system
Vsevolod Stakhov [Mon, 9 Feb 2009 14:22:58 +0000 (17:22 +0300)]
* Avoid division by zero
Vsevolod Stakhov [Fri, 6 Feb 2009 17:25:44 +0000 (20:25 +0300)]
* Fill hash buckets with zeroes to avoid invalid pointer usage
Vsevolod Stakhov [Fri, 6 Feb 2009 17:04:54 +0000 (20:04 +0300)]
* Try to fix reading a line from user (using pools)
Vsevolod Stakhov [Fri, 6 Feb 2009 12:00:38 +0000 (15:00 +0300)]
* Make doxygen happy about structures members
Vsevolod Stakhov [Fri, 6 Feb 2009 10:39:58 +0000 (13:39 +0300)]
* Move config parse errors from stderr output to standart logging functions
Vsevolod Stakhov [Thu, 5 Feb 2009 16:48:07 +0000 (19:48 +0300)]
* Add some comments and documentation
Vsevolod Stakhov [Thu, 29 Jan 2009 14:46:26 +0000 (17:46 +0300)]
* Do another rework of filters/metrics and statfiles processing
* Add 'probability' normalizing to winnow algorithm and calculate not pure weight but normalized probability
Vsevolod Stakhov [Wed, 28 Jan 2009 16:19:20 +0000 (19:19 +0300)]
* Fix bug with calling consolidation function after stop_point
* Use shared memory for storing pool allocator statistics
* Fix bug with processing statfiles results
Vsevolod Stakhov [Tue, 27 Jan 2009 16:23:26 +0000 (19:23 +0300)]
* Use prime number for hash nodes initial value
Vsevolod Stakhov [Tue, 27 Jan 2009 16:15:51 +0000 (19:15 +0300)]
* Add new hash for storing hash data in shared memory
* Add rwlocks implementation (primitive) in memory pool library
Vsevolod Stakhov [Mon, 26 Jan 2009 16:27:30 +0000 (19:27 +0300)]
* Make surbl checks working
Vsevolod Stakhov [Thu, 22 Jan 2009 15:42:50 +0000 (18:42 +0300)]
* Rework statfiles result processing
* Fix small bug in protocol implementation (\r -> \r\n)
Vsevolod Stakhov [Wed, 21 Jan 2009 14:37:04 +0000 (17:37 +0300)]
* Add memory pool allocator statistics to 'stat' report output
Vsevolod Stakhov [Wed, 21 Jan 2009 14:25:06 +0000 (17:25 +0300)]
* Rewrite message parser
* Change mime parts storage
* Add html tags striping (ported from php code)
* Rework learning to process only text and striped html parts
Vsevolod Stakhov [Mon, 19 Jan 2009 14:01:08 +0000 (17:01 +0300)]
* Rewrite perl client for rspamd, now it allows access to both normal and control interfaces
* Fix small errors in tokenizer and controller interface
Vsevolod Stakhov [Fri, 16 Jan 2009 14:02:26 +0000 (17:02 +0300)]
* Add simple utility for sending mail to rspamd
* Fix some errors in freeing message object
Vsevolod Stakhov [Thu, 15 Jan 2009 14:32:15 +0000 (17:32 +0300)]
* Add new system of getting and setting config parameters from perl code
Vsevolod Stakhov [Mon, 12 Jan 2009 15:04:47 +0000 (18:04 +0300)]
* Try to fix output from delayed filters processing
Vsevolod Stakhov [Sun, 11 Jan 2009 15:53:27 +0000 (18:53 +0300)]
* Implement statistic output in control interface
Vsevolod Stakhov [Sun, 11 Jan 2009 14:31:26 +0000 (17:31 +0300)]
* Fix errors in learning implementation
Vsevolod Stakhov [Sun, 11 Jan 2009 09:39:37 +0000 (12:39 +0300)]
* Implement delayed fork of dead workers (to avoid fork bombs)
* Implement refork of controller
* Log time to console in normal view
Vsevolod Stakhov [Thu, 18 Dec 2008 17:31:21 +0000 (20:31 +0300)]
* Make sample config more complete
* Fix bugs with config file parsing
* Fix bugs with creating sockets and reading commands
Vsevolod Stakhov [Wed, 17 Dec 2008 16:23:32 +0000 (19:23 +0300)]
* Add function for adding rspamd report headers
Vsevolod Stakhov [Thu, 11 Dec 2008 16:41:39 +0000 (19:41 +0300)]
* Fix build under FreeBSD (forgotten include)
Vsevolod Stakhov [Wed, 10 Dec 2008 17:03:00 +0000 (20:03 +0300)]
* Add logic for filtering messages with tokenizer/classifier pair
Vsevolod Stakhov [Mon, 8 Dec 2008 10:30:55 +0000 (13:30 +0300)]
* Implement learning using classifiers and tokenizers API
Vsevolod Stakhov [Thu, 4 Dec 2008 16:33:26 +0000 (19:33 +0300)]
* Add simple implementation of classifiers abstraction and winnow classifier
* Force statfile to work with float values
Vsevolod Stakhov [Thu, 4 Dec 2008 15:41:00 +0000 (18:41 +0300)]
* Use binary tree in tokenizers, that would provide us fast checking for unique tokens and have O(log n) difficulty
Vsevolod Stakhov [Wed, 3 Dec 2008 16:48:15 +0000 (19:48 +0300)]
* Remove strlcpy code and replace it with glib alternative
* Polish code and remove bugs found
Vsevolod Stakhov [Tue, 2 Dec 2008 16:58:28 +0000 (19:58 +0300)]
* Add learning interface to rspamd (still requires classifier to work)
Vsevolod Stakhov [Mon, 1 Dec 2008 16:15:52 +0000 (19:15 +0300)]
* Add config routines for stat files
* Add function to resolve stat file name
Vsevolod Stakhov [Fri, 28 Nov 2008 16:29:00 +0000 (19:29 +0300)]
* Write functions to operate blocks in stat files
* Write test case for statistics files API
Vsevolod Stakhov [Thu, 27 Nov 2008 16:46:15 +0000 (19:46 +0300)]
* Add initial implementation of statistics files handling API
Vsevolod Stakhov [Wed, 26 Nov 2008 16:31:26 +0000 (19:31 +0300)]
* Add simple locking interface to mem_pool library
Vsevolod Stakhov [Fri, 7 Nov 2008 16:35:13 +0000 (19:35 +0300)]
* Add simple implementation of OSB tokenizer
Vsevolod Stakhov [Thu, 6 Nov 2008 15:32:32 +0000 (18:32 +0300)]
* Use utf8 in description files
--HG--
rename : README-classify.koi8.txt => README-classify.utf8.txt
rename : README.koi8.txt => README.utf8.txt
Vsevolod Stakhov [Thu, 6 Nov 2008 15:29:52 +0000 (18:29 +0300)]
* Add description of classifying process
Vsevolod Stakhov [Wed, 5 Nov 2008 15:13:08 +0000 (18:13 +0300)]
* Add simple hash function for hashing tokens
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)
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
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
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
Vsevolod Stakhov [Sat, 25 Oct 2008 01:06:16 +0000 (05:06 +0400)]
* Add ability to handle multiply recipients
* Reflect changes to perl library
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
Vsevolod Stakhov [Thu, 23 Oct 2008 15:10:40 +0000 (19:10 +0400)]
* Add initial implementation of control interface
Vsevolod Stakhov [Wed, 22 Oct 2008 15:41:12 +0000 (19:41 +0400)]
* Add initial implementation of regexp module
Vsevolod Stakhov [Mon, 20 Oct 2008 14:03:50 +0000 (18:03 +0400)]
* Parse header regexps in other way (header_name=/some_regexp/flags)
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
cebka@cebka-laptop [Tue, 14 Oct 2008 15:10:21 +0000 (19:10 +0400)]
* Implement composite symbols
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
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.
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)
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
cebka@cebka-laptop [Fri, 10 Oct 2008 15:21:23 +0000 (19:21 +0400)]
* Write protocol output functions
* Fix test suite build under linux
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
cebka@mailsupport.rambler.ru [Tue, 23 Sep 2008 23:48:31 +0000 (03:48 +0400)]
* Remove unused debug messages from url library