]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
11 years agoCheck type of InternetAddress.
Vsevolod Stakhov [Wed, 1 Oct 2014 11:04:33 +0000 (12:04 +0100)] 
Check type of InternetAddress.

11 years agoRelease 0.7.1. 0.7.1
Vsevolod Stakhov [Tue, 30 Sep 2014 11:52:31 +0000 (12:52 +0100)] 
Release 0.7.1.

* Fix typo in stat output.
* Fix issues with includes crossing with the system includes
* Restore testing framework
* Add radix trie test suite
* Implement new path-compressed radix trie.
    - The performance benefit over the old algorithm is about 1.5 times.
        - Memory usage is significantly lower as well.
    - Now radix trie can accept any IPv4/IPv6 values
* Various improvements to the memory pools code
* Fix writing reply to a client when no filters are defined
* Write base32 encoded fuzzy
* Fix 'soft reject' action
* Fix rspamd reload and modules reconfiguration
* Fix subject rewriting for the default subject
* Fix states for processing task and pre-filters
* Fix issues with connection closing
* Fix crashes in rdns
* Fix ratelimit pre-filter
* Update exim patch.
        - Update to the recent exim version
        - Strip extra leading src/ from the patch
        - Remove sendfile since it was broken
        - Fix rspamd spam report for exim
* Improve documentation

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
11 years agoSync libucl.
Vsevolod Stakhov [Tue, 30 Sep 2014 11:30:51 +0000 (12:30 +0100)] 
Sync libucl.

11 years agoStart on system with no IPv6 support.
Vsevolod Stakhov [Mon, 29 Sep 2014 23:51:11 +0000 (00:51 +0100)] 
Start on system with no IPv6 support.

11 years agoUse xxhash for repeating log messages.
Vsevolod Stakhov [Mon, 29 Sep 2014 23:26:03 +0000 (00:26 +0100)] 
Use xxhash for repeating log messages.

11 years agoUpdate exim patch.
Vsevolod Stakhov [Mon, 29 Sep 2014 13:45:42 +0000 (14:45 +0100)] 
Update exim patch.

- Update to the recent exim version
- Strip extra leading src/ from the patch
- Remove sendfile since it was broken
- Fix rspamd spam report for exim

11 years agoFix some problematic includes.
Vsevolod Stakhov [Sun, 28 Sep 2014 20:44:56 +0000 (21:44 +0100)] 
Fix some problematic includes.

11 years agoUpdate rdns.
Vsevolod Stakhov [Wed, 24 Sep 2014 10:50:21 +0000 (11:50 +0100)] 
Update rdns.

11 years agoShow messages in rspamc.
Vsevolod Stakhov [Tue, 23 Sep 2014 16:00:11 +0000 (17:00 +0100)] 
Show messages in rspamc.

11 years agoUse messages for pre-results.
Vsevolod Stakhov [Tue, 23 Sep 2014 15:57:38 +0000 (16:57 +0100)] 
Use messages for pre-results.

11 years agoRework pre-filters results processing.
Vsevolod Stakhov [Tue, 23 Sep 2014 15:51:05 +0000 (16:51 +0100)] 
Rework pre-filters results processing.

11 years agoRestore soft reject for rate limit.
Vsevolod Stakhov [Tue, 23 Sep 2014 15:42:26 +0000 (16:42 +0100)] 
Restore soft reject for rate limit.

11 years agoAdd pre-result as `reason` key for the output.
Vsevolod Stakhov [Tue, 23 Sep 2014 15:38:18 +0000 (16:38 +0100)] 
Add pre-result as `reason` key for the output.

11 years agoImprove logging for pre-result.
Vsevolod Stakhov [Tue, 23 Sep 2014 15:30:36 +0000 (16:30 +0100)] 
Improve logging for pre-result.

11 years agoUse `reject` action for ratelimit.
Vsevolod Stakhov [Tue, 23 Sep 2014 15:28:29 +0000 (16:28 +0100)] 
Use `reject` action for ratelimit.

11 years agoMerge pull request #100 from eneq123/master
Vsevolod Stakhov [Tue, 23 Sep 2014 11:44:03 +0000 (12:44 +0100)] 
Merge pull request #100 from eneq123/master

action: soft_reject -> "soft reject"

11 years agoParse soft reject action.
Vsevolod Stakhov [Tue, 23 Sep 2014 11:36:17 +0000 (12:36 +0100)] 
Parse soft reject action.

Issue: #99
Reported by: @jpastuszek

11 years agoRework pre-result adding.
Vsevolod Stakhov [Tue, 23 Sep 2014 11:33:12 +0000 (12:33 +0100)] 
Rework pre-result adding.

11 years agoRefactor function names.
Vsevolod Stakhov [Tue, 23 Sep 2014 11:15:28 +0000 (12:15 +0100)] 
Refactor function names.

11 years agoRework create_metric_result function.
Vsevolod Stakhov [Tue, 23 Sep 2014 11:06:52 +0000 (12:06 +0100)] 
Rework create_metric_result function.

11 years agoFix issues with connection closing.
Vsevolod Stakhov [Mon, 22 Sep 2014 20:03:24 +0000 (21:03 +0100)] 
Fix issues with connection closing.

11 years agoAdd default metric results prior to message processing.
Vsevolod Stakhov [Mon, 22 Sep 2014 20:03:07 +0000 (21:03 +0100)] 
Add default metric results prior to message processing.

11 years agoFix states for processing task.
Vsevolod Stakhov [Mon, 22 Sep 2014 19:54:30 +0000 (20:54 +0100)] 
Fix states for processing task.

11 years agoImplement the proper reset of HTTP messages.
Vsevolod Stakhov [Mon, 22 Sep 2014 16:27:05 +0000 (17:27 +0100)] 
Implement the proper reset of HTTP messages.

11 years agoFix subject rewriting for the default subject.
Vsevolod Stakhov [Mon, 22 Sep 2014 12:25:15 +0000 (13:25 +0100)] 
Fix subject rewriting for the default subject.

Issue: #97
Submitted by: @eneq123

11 years agoFix some more potential reload issues.
Vsevolod Stakhov [Mon, 22 Sep 2014 10:20:03 +0000 (11:20 +0100)] 
Fix some more potential reload issues.

11 years agoFix fuzzy module reinitialization.
Vsevolod Stakhov [Mon, 22 Sep 2014 10:17:32 +0000 (11:17 +0100)] 
Fix fuzzy module reinitialization.

11 years agoDo not stop main logger on reload.
Vsevolod Stakhov [Mon, 22 Sep 2014 10:03:07 +0000 (11:03 +0100)] 
Do not stop main logger on reload.

11 years agoFix rspamd initialization trying to fix SIGHUP.
Vsevolod Stakhov [Mon, 22 Sep 2014 09:43:11 +0000 (10:43 +0100)] 
Fix rspamd initialization trying to fix SIGHUP.

11 years agoaction: soft_reject -> "soft reject" 100/head
eneq123 [Mon, 22 Sep 2014 09:31:09 +0000 (13:31 +0400)] 
action: soft_reject -> "soft reject"

11 years agoUpdate documentation.
Vsevolod Stakhov [Sun, 21 Sep 2014 17:59:26 +0000 (18:59 +0100)] 
Update documentation.

11 years agoTry to fix large timevals.
Vsevolod Stakhov [Sat, 20 Sep 2014 22:20:42 +0000 (23:20 +0100)] 
Try to fix large timevals.

11 years agoDocument textpart API.
Vsevolod Stakhov [Sat, 20 Sep 2014 21:50:18 +0000 (22:50 +0100)] 
Document textpart API.

11 years agoPush base32 encoded fuzzy.
Vsevolod Stakhov [Sat, 20 Sep 2014 21:25:00 +0000 (22:25 +0100)] 
Push base32 encoded fuzzy.

11 years agoAdd base32 encoding utility.
Vsevolod Stakhov [Sat, 20 Sep 2014 21:23:53 +0000 (22:23 +0100)] 
Add base32 encoding utility.

11 years agoFix writing reply to a client.
Vsevolod Stakhov [Thu, 18 Sep 2014 16:50:40 +0000 (17:50 +0100)] 
Fix writing reply to a client.

Issue: #94
Reported by: @jpastuszek

11 years agoAdd cleanup.
Vsevolod Stakhov [Thu, 18 Sep 2014 13:16:46 +0000 (14:16 +0100)] 
Add cleanup.

11 years agoFix some issues.
Vsevolod Stakhov [Thu, 18 Sep 2014 12:39:52 +0000 (13:39 +0100)] 
Fix some issues.

11 years agoUse memory pool for radix.
Vsevolod Stakhov [Thu, 18 Sep 2014 12:18:05 +0000 (13:18 +0100)] 
Use memory pool for radix.

11 years agoSome fixes to memory pools operations.
Vsevolod Stakhov [Thu, 18 Sep 2014 12:17:43 +0000 (13:17 +0100)] 
Some fixes to memory pools operations.

11 years agoResatore check for sched_yield.
Vsevolod Stakhov [Thu, 18 Sep 2014 12:08:37 +0000 (13:08 +0100)] 
Resatore check for sched_yield.

11 years agoMore realistic workload for radix.
Vsevolod Stakhov [Wed, 17 Sep 2014 16:43:04 +0000 (17:43 +0100)] 
More realistic workload for radix.

11 years agoFix profiler linkage.
Vsevolod Stakhov [Wed, 17 Sep 2014 16:38:05 +0000 (17:38 +0100)] 
Fix profiler linkage.

11 years agoOptimize radix lookup.
Vsevolod Stakhov [Wed, 17 Sep 2014 16:37:33 +0000 (17:37 +0100)] 
Optimize radix lookup.

11 years agoSelect more limited range of masks.
Vsevolod Stakhov [Wed, 17 Sep 2014 16:37:09 +0000 (17:37 +0100)] 
Select more limited range of masks.

11 years agoRework radix tests.
Vsevolod Stakhov [Wed, 17 Sep 2014 15:37:46 +0000 (16:37 +0100)] 
Rework radix tests.

11 years agoCheck mask first.
Vsevolod Stakhov [Wed, 17 Sep 2014 15:22:48 +0000 (16:22 +0100)] 
Check mask first.

11 years agoAnother case with repeating leaves.
Vsevolod Stakhov [Wed, 17 Sep 2014 14:58:34 +0000 (15:58 +0100)] 
Another case with repeating leaves.

11 years agoAnother border case.
Vsevolod Stakhov [Wed, 17 Sep 2014 14:50:11 +0000 (15:50 +0100)] 
Another border case.

11 years agoFix another radix case.
Vsevolod Stakhov [Wed, 17 Sep 2014 14:24:32 +0000 (15:24 +0100)] 
Fix another radix case.

11 years agoMore fixes to compressed radix.
Vsevolod Stakhov [Wed, 17 Sep 2014 13:22:23 +0000 (14:22 +0100)] 
More fixes to compressed radix.

11 years agoFix some more issues in compressed radix.
Vsevolod Stakhov [Wed, 17 Sep 2014 11:39:34 +0000 (12:39 +0100)] 
Fix some more issues in compressed radix.

11 years agoImprove test vector.
Vsevolod Stakhov [Wed, 17 Sep 2014 11:39:21 +0000 (12:39 +0100)] 
Improve test vector.

11 years agoFix radix leaf nodes insertion.
Vsevolod Stakhov [Tue, 16 Sep 2014 17:29:02 +0000 (18:29 +0100)] 
Fix radix leaf nodes insertion.

11 years agoImprove testing for radix.
Vsevolod Stakhov [Tue, 16 Sep 2014 17:28:53 +0000 (18:28 +0100)] 
Improve testing for radix.

11 years agoImprove radix trie tests.
Vsevolod Stakhov [Mon, 15 Sep 2014 09:46:24 +0000 (10:46 +0100)] 
Improve radix trie tests.

11 years agoImplement new path-compressed radix trie.
Vsevolod Stakhov [Mon, 15 Sep 2014 09:45:19 +0000 (10:45 +0100)] 
Implement new path-compressed radix trie.

- The performance benefit over the old algorithm is about 10 times.
- Memory usage is significantly lower as well.
- Now radix trie can accept any IPv4/IPv6 values

11 years agoUpdate task documentation.
Vsevolod Stakhov [Sun, 14 Sep 2014 17:18:18 +0000 (10:18 -0700)] 
Update task documentation.

11 years agoUpdate task's documentation.
Vsevolod Stakhov [Sat, 13 Sep 2014 21:31:19 +0000 (14:31 -0700)] 
Update task's documentation.

11 years agoHide the concrete radix trie implementation.
Vsevolod Stakhov [Fri, 12 Sep 2014 11:26:04 +0000 (12:26 +0100)] 
Hide the concrete radix trie implementation.

11 years agoAdd radix trie test suite.
Vsevolod Stakhov [Fri, 12 Sep 2014 11:18:55 +0000 (12:18 +0100)] 
Add radix trie test suite.

11 years agoRestore testing framework.
Vsevolod Stakhov [Fri, 12 Sep 2014 10:56:42 +0000 (11:56 +0100)] 
Restore testing framework.

11 years agoInclude our source directories before any tests.
Vsevolod Stakhov [Fri, 12 Sep 2014 09:37:18 +0000 (10:37 +0100)] 
Include our source directories before any tests.

11 years agoFix type in stat output.
Vsevolod Stakhov [Fri, 12 Sep 2014 08:53:18 +0000 (09:53 +0100)] 
Fix type in stat output.

11 years agoRelease 0.7.0. 0.7.0
Vsevolod Stakhov [Thu, 11 Sep 2014 13:06:09 +0000 (14:06 +0100)] 
Release 0.7.0.

* Use HTTP protocol for all operatiosn
* Webui worker is now removed and controller works as webui
* Allow to serve static files via controller by option `static_dir`
* Rspamd interface is now a part of rspamd
* Rspamc client has been rewritten to use HTTP and non-blocking mode
allowing to start multiple operations simultaneously (see `-n` option)
* Lua API was completely reworked to satisfy modern standards of LUA:
    * Module `lua-message` was removed
    * Reduced number of superglobals registered by rspamd
    * Many functions has been redesigned
    * Symbols registration is now more convenient
* Users settings has been rewritten as lua plugin
* Reworked headers system as gmime's based one misses many headers and is
very slow to get headers values
* Reorganized code and removed embedded jannsson by using UCL for all json
parsing
* Migrated to `librdns` for DNS resolving that improves concurrency for
DNS requests significantly
* Fixed tonns of bugs in MIME processing
* Improved metrcis and default symbol's weights
* Added new RBL's
* Fixed a number of issues in the modules
* Removed several memory leaks found
* Fix unicode processing
* Fix fuzzy checking for unicode parts
* Significantly improve documentation and especially LUA API docs
* See migration notes at https://rspamd.com/doc/migration.html

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
11 years agoFix mistake cloaked by precompiled headers.
Vsevolod Stakhov [Thu, 11 Sep 2014 13:05:13 +0000 (14:05 +0100)] 
Fix mistake cloaked by precompiled headers.

11 years agoUpdate to 0.7.0.
Vsevolod Stakhov [Thu, 11 Sep 2014 12:32:22 +0000 (13:32 +0100)] 
Update to 0.7.0.

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
11 years agoImprove README.
Vsevolod Stakhov [Thu, 11 Sep 2014 12:21:55 +0000 (13:21 +0100)] 
Improve README.

11 years agoUpdate migration document.
Vsevolod Stakhov [Thu, 11 Sep 2014 12:02:01 +0000 (13:02 +0100)] 
Update migration document.

11 years agoRemove pre-historic documentation.
Vsevolod Stakhov [Thu, 11 Sep 2014 11:49:01 +0000 (12:49 +0100)] 
Remove pre-historic documentation.

11 years agoAdd alias `--ucl` for `--raw`.
Vsevolod Stakhov [Thu, 11 Sep 2014 11:46:27 +0000 (12:46 +0100)] 
Add alias `--ucl` for `--raw`.

11 years agoRestore old view of `rspamc stat`
Vsevolod Stakhov [Thu, 11 Sep 2014 11:39:29 +0000 (12:39 +0100)] 
Restore old view of `rspamc stat`

11 years agoAdd statfile size to the output.
Vsevolod Stakhov [Thu, 11 Sep 2014 11:35:10 +0000 (12:35 +0100)] 
Add statfile size to the output.

11 years agoFix bug with charset conversion.
Vsevolod Stakhov [Wed, 10 Sep 2014 16:45:30 +0000 (17:45 +0100)] 
Fix bug with charset conversion.

Glib iconv understands only uppercase for charset names.

11 years agoFix free order.
Vsevolod Stakhov [Wed, 10 Sep 2014 16:34:42 +0000 (17:34 +0100)] 
Fix free order.

11 years agoFix task corruption in fuzzy_add.
Vsevolod Stakhov [Wed, 10 Sep 2014 16:11:19 +0000 (17:11 +0100)] 
Fix task corruption in fuzzy_add.

11 years agoUpdate rdns.
Vsevolod Stakhov [Wed, 10 Sep 2014 15:36:04 +0000 (16:36 +0100)] 
Update rdns.

11 years agoFix processing of large writes.
Vsevolod Stakhov [Wed, 10 Sep 2014 15:23:42 +0000 (16:23 +0100)] 
Fix processing of large writes.

11 years agoAdd extra check of string passed to lua.
Vsevolod Stakhov [Wed, 10 Sep 2014 13:18:05 +0000 (14:18 +0100)] 
Add extra check of string passed to lua.

11 years agoFix serious issue with non-ascii characters in fuzzy.
Vsevolod Stakhov [Wed, 10 Sep 2014 13:07:44 +0000 (14:07 +0100)] 
Fix serious issue with non-ascii characters in fuzzy.

11 years agoFix directories processing in rspamc.
Vsevolod Stakhov [Wed, 10 Sep 2014 12:59:23 +0000 (13:59 +0100)] 
Fix directories processing in rspamc.

11 years agoFix memory and descriptors leak in controller.
Vsevolod Stakhov [Wed, 10 Sep 2014 11:52:53 +0000 (12:52 +0100)] 
Fix memory and descriptors leak in controller.

11 years agoUpdate interface.
Vsevolod Stakhov [Tue, 9 Sep 2014 16:43:36 +0000 (17:43 +0100)] 
Update interface.

11 years agoUpdate interface.
Vsevolod Stakhov [Tue, 9 Sep 2014 16:34:08 +0000 (17:34 +0100)] 
Update interface.

11 years agoUpdate interface.
Vsevolod Stakhov [Tue, 9 Sep 2014 16:01:02 +0000 (17:01 +0100)] 
Update interface.

11 years agoFix pie chart output.
Vsevolod Stakhov [Tue, 9 Sep 2014 15:56:24 +0000 (16:56 +0100)] 
Fix pie chart output.

11 years agoSome fixes.
Vsevolod Stakhov [Mon, 8 Sep 2014 11:22:29 +0000 (12:22 +0100)] 
Some fixes.

11 years agoAdd migration notes.
Vsevolod Stakhov [Mon, 8 Sep 2014 11:20:15 +0000 (12:20 +0100)] 
Add migration notes.

11 years agoAdd ucl documentation to the build.
Vsevolod Stakhov [Mon, 8 Sep 2014 08:38:53 +0000 (09:38 +0100)] 
Add ucl documentation to the build.

11 years agoMerge branch 'master' of github.com:vstakhov/rspamd
Vsevolod Stakhov [Sun, 7 Sep 2014 15:48:54 +0000 (16:48 +0100)] 
Merge branch 'master' of github.com:vstakhov/rspamd

11 years agoFix URL markdown.
Vsevolod Stakhov [Sat, 6 Sep 2014 21:46:32 +0000 (14:46 -0700)] 
Fix URL markdown.

11 years agoAdd doxydown submodule.
Vsevolod Stakhov [Sat, 6 Sep 2014 21:43:43 +0000 (14:43 -0700)] 
Add doxydown submodule.

11 years agoFix doc.
Vsevolod Stakhov [Sat, 6 Sep 2014 21:29:22 +0000 (14:29 -0700)] 
Fix doc.

11 years agoAdd lua_task documentation to the build.
Vsevolod Stakhov [Sat, 6 Sep 2014 21:25:23 +0000 (14:25 -0700)] 
Add lua_task documentation to the build.

11 years agoAdd initial documentation for lua_task.
Vsevolod Stakhov [Sat, 6 Sep 2014 21:13:11 +0000 (14:13 -0700)] 
Add initial documentation for lua_task.

11 years agoFix Message-Id rules.
Vsevolod Stakhov [Sat, 6 Sep 2014 19:18:35 +0000 (12:18 -0700)] 
Fix Message-Id rules.

11 years agoMore fixes to classifiers selector.
Vsevolod Stakhov [Fri, 5 Sep 2014 15:45:46 +0000 (16:45 +0100)] 
More fixes to classifiers selector.

11 years agoFix some memory leaks.
Vsevolod Stakhov [Fri, 5 Sep 2014 15:31:46 +0000 (16:31 +0100)] 
Fix some memory leaks.

11 years agoFix received headers parsing.
Vsevolod Stakhov [Fri, 5 Sep 2014 15:15:03 +0000 (16:15 +0100)] 
Fix received headers parsing.

11 years agoAllow mempool debugging if G_SLICE=always-malloc
Vsevolod Stakhov [Fri, 5 Sep 2014 15:11:23 +0000 (16:11 +0100)] 
Allow mempool debugging if G_SLICE=always-malloc