Vsevolod Stakhov [Tue, 22 Jun 2010 13:39:03 +0000 (17:39 +0400)]
* Rewrite buffered input for line policy (again)
* Fix issue with links that are ip addresses in numeric form in surbl
* On Darwin use BSD style sendfile definition
* Reorganize platform specific knobs in CMakeLists
* Use gettimeofday on systems that have not clock_getres
* Use ftime for dns trans id generation on systems without clock_getres
Vsevolod Stakhov [Fri, 18 Jun 2010 18:07:28 +0000 (22:07 +0400)]
* New logic of SURBL module:
- remove completely 2tld
- add option "exception"
- for domains from exception list check (level + 1) parts of url:
If we have url mail.some.com.ru and have com.ru in exception list
then we would check some.com.ru. If we have some.com.ru in exceptions
list them mail.some.com.ru would be checked and so on.
- optimized parsing of surbl requests
* Use system mkstemp(3) on systems where it is available as glib implementation
has poor security and generate rather predictable temporary file names.
Vsevolod Stakhov [Wed, 16 Jun 2010 16:43:26 +0000 (20:43 +0400)]
* Change metric logic
* Completely remove lex/yacc readers for config
* Make common sense of metric/action and symbols
* Sync changes with all plugins
TODO: add this to documentation
Vsevolod Stakhov [Thu, 10 Jun 2010 17:47:22 +0000 (21:47 +0400)]
* Check messages received via smtp proxy
* Add support for sendfile in io dispatcher
* Fix issues with compatibility of worker_task and smtp proxy
* Proxy DATA command
Vsevolod Stakhov [Mon, 31 May 2010 13:17:13 +0000 (17:17 +0400)]
* Fix strict aliasing while compiling with optimization
* Fix tanhl detection for platforms that have not implementation of it
* Remove several compile warnings
Vsevolod Stakhov [Fri, 28 May 2010 16:31:10 +0000 (20:31 +0400)]
* New symbols sorter:
- add ability to have dynamic rules inside items cache
- make 3 types of rules: negative, dynamic and static
- make logic of cache more simple by using glib lists instead of arrays
- do checks of symbols in more logically correct way (negative->dynamic->static)
* Improve logging system:
- do not write many repeated messages to log
- add process name to log line
* Small fixes to FreeBSD port and to start script as we have xml version now
* Reconfig modules while rereading config file
* Bugfixes:
- handle '\' characters in lua strings correctly
- fix lua initialization
- avoid of using global lua state (global L)
- fix listen sockets hash to allow multiply workers of same type but on different listen sockets
- fix modules options inserting to allow multiply options of the same name
- fix parsing of lua options
- fix lua rules
* Add lua functions parsing for module options
* Add missing sections to XML parser (classifier, statfile, view, settings)
* Add missing params to XML parser
* Implement new commandline options parser (using glib)
* Set version to 0.3.0 as new rspamd would use new config system
* Add dumper to XML file (not all sections yet)
* Add checksum to config files
* Some config parsing reorganizations:
- post_load_config should be called after xml initialization
- xml state machine is corrected to read main section variables
- some linting is added to xml (checking of elements parity)
Vsevolod Stakhov [Sat, 27 Mar 2010 02:12:35 +0000 (05:12 +0300)]
* New syntax parser that should make syntax check of XML configs
* Rework of config structure types (use glib types)
* TODO:
- implement the whole syntax of rspamd in XML
- implement custom handlers that modules can install
- write missing handlers
Vsevolod Stakhov [Tue, 23 Mar 2010 14:50:28 +0000 (17:50 +0300)]
* Fix freeing of module parameters (they should NOT be freed)
* Add minimum hash length to check with fuzzy module as well as whitelisting for fuzzy checks:
min_length = "300"; <- messages with more than 300 characters would be checked with fuzzy check
whitelist = "http://somehost/somefile"; <- ip addresses whitelisted
* Extend comments about module options for comfortable usage