]> source.dussan.org Git - rspamd.git/log
rspamd.git
8 years agoMerge pull request #604 from moisseev/patch-2
Vsevolod Stakhov [Tue, 26 Apr 2016 08:35:13 +0000 (09:35 +0100)]
Merge pull request #604 from moisseev/patch-2

Fix `RCVD_TLS_ALL` rule  when there are no `Received` headers

8 years ago[Minor] Add workaround for pre-historic compilers
Vsevolod Stakhov [Tue, 26 Apr 2016 08:33:25 +0000 (09:33 +0100)]
[Minor] Add workaround for pre-historic compilers

Issue: #605

8 years ago[Fix] Restore compatibility with old lua API behaviour
Vsevolod Stakhov [Mon, 25 Apr 2016 22:16:04 +0000 (23:16 +0100)]
[Fix] Restore compatibility with old lua API behaviour

8 years ago[Fix] Fix smtp grammar issues
Vsevolod Stakhov [Mon, 25 Apr 2016 16:12:34 +0000 (17:12 +0100)]
[Fix] Fix smtp grammar issues

8 years ago[Test] Add speed test for addr parser
Vsevolod Stakhov [Mon, 25 Apr 2016 16:12:22 +0000 (17:12 +0100)]
[Test] Add speed test for addr parser

8 years agoFix `RCVD_TLS_ALL` rule when there are no `Received` headers 604/head
Alexander Moisseev [Mon, 25 Apr 2016 15:29:00 +0000 (18:29 +0300)]
Fix `RCVD_TLS_ALL` rule  when there are no `Received` headers

8 years ago[Fix] Remove bad FANN file to save computational resources
Vsevolod Stakhov [Mon, 25 Apr 2016 11:25:44 +0000 (12:25 +0100)]
[Fix] Remove bad FANN file to save computational resources

8 years ago[Feature] Add util.unlink function
Vsevolod Stakhov [Mon, 25 Apr 2016 11:25:06 +0000 (12:25 +0100)]
[Feature] Add util.unlink function

8 years ago[Feature] Add support of address with at-domain list
Vsevolod Stakhov [Mon, 25 Apr 2016 10:01:39 +0000 (11:01 +0100)]
[Feature] Add support of address with at-domain list

8 years ago[Fix] Fix issue with missing recipients
Vsevolod Stakhov [Mon, 25 Apr 2016 09:54:58 +0000 (10:54 +0100)]
[Fix] Fix issue with missing recipients

8 years ago[Feature] Unescape and unquote smtp addresses
Vsevolod Stakhov [Mon, 25 Apr 2016 09:10:16 +0000 (10:10 +0100)]
[Feature] Unescape and unquote smtp addresses

8 years ago[Test] Add more tests for smtp address
Vsevolod Stakhov [Mon, 25 Apr 2016 09:09:56 +0000 (10:09 +0100)]
[Test] Add more tests for smtp address

8 years ago[Feature] Normalize quoted addresses
Vsevolod Stakhov [Mon, 25 Apr 2016 08:51:00 +0000 (09:51 +0100)]
[Feature] Normalize quoted addresses

8 years ago[Fix] Fix SMTP address parsing machine
Vsevolod Stakhov [Mon, 25 Apr 2016 08:40:00 +0000 (09:40 +0100)]
[Fix] Fix SMTP address parsing machine

8 years ago[Test] Improve SMTP address tests
Vsevolod Stakhov [Mon, 25 Apr 2016 08:39:50 +0000 (09:39 +0100)]
[Test] Improve SMTP address tests

8 years ago[Fix] Do not check recursion for non-DNS SPF record types
Vsevolod Stakhov [Mon, 25 Apr 2016 08:08:03 +0000 (09:08 +0100)]
[Fix] Do not check recursion for non-DNS SPF record types

8 years ago[Fix] Adopt lua task API for the new email addresses structure
Vsevolod Stakhov [Sun, 24 Apr 2016 12:11:24 +0000 (13:11 +0100)]
[Fix] Adopt lua task API for the new email addresses structure

8 years ago[Fix] Remove parsing of 'from' variable in redis backend
Vsevolod Stakhov [Sun, 24 Apr 2016 12:10:58 +0000 (13:10 +0100)]
[Fix] Remove parsing of 'from' variable in redis backend

8 years ago[Feature] Improve SPF domain detection logic
Vsevolod Stakhov [Sun, 24 Apr 2016 12:10:35 +0000 (13:10 +0100)]
[Feature] Improve SPF domain detection logic

8 years ago[Feature] Start moving to the new email address structure
Vsevolod Stakhov [Sun, 24 Apr 2016 12:10:05 +0000 (13:10 +0100)]
[Feature] Start moving to the new email address structure

8 years ago[Fix] Restore ONCE_RECEIVED symbol
Vsevolod Stakhov [Sat, 23 Apr 2016 14:33:01 +0000 (15:33 +0100)]
[Fix] Restore ONCE_RECEIVED symbol

Issue: #602
Reported by: @AlexeySa

8 years ago[Feature] Improve getting SMTP data from lua_task
Vsevolod Stakhov [Sat, 23 Apr 2016 14:28:40 +0000 (15:28 +0100)]
[Feature] Improve getting SMTP data from lua_task

8 years ago[Fix] Fix email address build
Vsevolod Stakhov [Sat, 23 Apr 2016 14:28:25 +0000 (15:28 +0100)]
[Fix] Fix email address build

8 years ago[Test] Fix unit tests
Vsevolod Stakhov [Sat, 23 Apr 2016 14:27:03 +0000 (15:27 +0100)]
[Test] Fix unit tests

8 years ago[Fix] Fix UTF8 mode in PCRE2
Vsevolod Stakhov [Sat, 23 Apr 2016 14:26:37 +0000 (15:26 +0100)]
[Fix] Fix UTF8 mode in PCRE2

8 years ago[Fix] Fix JIT usage for PCRE2
Vsevolod Stakhov [Sat, 23 Apr 2016 14:26:20 +0000 (15:26 +0100)]
[Fix] Fix JIT usage for PCRE2

8 years ago[Fix] Fix parsing of binary tries
Vsevolod Stakhov [Sat, 23 Apr 2016 14:07:19 +0000 (15:07 +0100)]
[Fix] Fix parsing of binary tries

8 years ago[Fix] Fix JIT compilation for PCRE2 expressions
Vsevolod Stakhov [Sat, 23 Apr 2016 14:06:43 +0000 (15:06 +0100)]
[Fix] Fix JIT compilation for PCRE2 expressions

8 years ago[CritFix] Fix some more URL detector issues
Vsevolod Stakhov [Sat, 23 Apr 2016 14:01:02 +0000 (15:01 +0100)]
[CritFix] Fix some more URL detector issues

8 years ago[Feature] Allow binary patterns in lua_trie
Vsevolod Stakhov [Sat, 23 Apr 2016 13:49:59 +0000 (14:49 +0100)]
[Feature] Allow binary patterns in lua_trie

8 years ago[Feature] Allow non zero terminated patterns in multipattern
Vsevolod Stakhov [Sat, 23 Apr 2016 13:42:07 +0000 (14:42 +0100)]
[Feature] Allow non zero terminated patterns in multipattern

8 years ago[CritFix] Fix parsing of URLs in texts
Vsevolod Stakhov [Sat, 23 Apr 2016 12:14:34 +0000 (13:14 +0100)]
[CritFix] Fix parsing of URLs in texts

8 years ago[Fix] Fix creating of URLs from LUA
Vsevolod Stakhov [Sat, 23 Apr 2016 11:37:15 +0000 (12:37 +0100)]
[Fix] Fix creating of URLs from LUA

8 years ago[Test] Add smtp addr unit test
Vsevolod Stakhov [Sat, 23 Apr 2016 11:28:26 +0000 (12:28 +0100)]
[Test] Add smtp addr unit test

8 years ago[Feature] Add new representation of email address
Vsevolod Stakhov [Sat, 23 Apr 2016 10:33:48 +0000 (11:33 +0100)]
[Feature] Add new representation of email address

8 years ago[Feature] Add parsers for SMTP address in ragel
Vsevolod Stakhov [Sat, 23 Apr 2016 10:33:18 +0000 (11:33 +0100)]
[Feature] Add parsers for SMTP address in ragel

8 years agoMerge pull request #600 from AlexeySa/patch-8
Vsevolod Stakhov [Sat, 23 Apr 2016 13:18:17 +0000 (14:18 +0100)]
Merge pull request #600 from AlexeySa/patch-8

Fix upstream_spam_filters

8 years agoMerge pull request #601 from AlexeySa/patch-9
Vsevolod Stakhov [Sat, 23 Apr 2016 13:18:05 +0000 (14:18 +0100)]
Merge pull request #601 from AlexeySa/patch-9

Fix mime types plugin

8 years agoFix mime types plugin 601/head
Alexey AL [Sat, 23 Apr 2016 04:43:46 +0000 (07:43 +0300)]
Fix mime types plugin

8 years agoFix upstream_spam_filters 600/head
Alexey AL [Sat, 23 Apr 2016 02:14:35 +0000 (05:14 +0300)]
Fix upstream_spam_filters

8 years agoRelease 1.2.5
Vsevolod Stakhov [Fri, 22 Apr 2016 20:11:44 +0000 (21:11 +0100)]
Release 1.2.5

* Plug an important memory leak in headers getting code
* Remove some bad domains from whitelists

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
8 years ago[Feature] Add more methods to get headers from a task
Vsevolod Stakhov [Fri, 22 Apr 2016 13:46:05 +0000 (14:46 +0100)]
[Feature] Add more methods to get headers from a task

8 years ago[Fix] Reduce PRECEDENCE_BULK rule weight
Vsevolod Stakhov [Fri, 22 Apr 2016 13:06:05 +0000 (14:06 +0100)]
[Fix] Reduce PRECEDENCE_BULK rule weight

8 years agoMerge pull request #599 from smfreegard/rules_160422
Vsevolod Stakhov [Fri, 22 Apr 2016 12:40:41 +0000 (13:40 +0100)]
Merge pull request #599 from smfreegard/rules_160422

New rules

8 years ago[CritFix] Plug memory leak in headers getting code
Vsevolod Stakhov [Fri, 22 Apr 2016 12:34:42 +0000 (13:34 +0100)]
[CritFix] Plug memory leak in headers getting code

8 years agoNew rules 599/head
Steve Freegard [Fri, 22 Apr 2016 11:20:21 +0000 (12:20 +0100)]
New rules

8 years ago[Feature] Use new version of register_symbol in rspamd plugins
Vsevolod Stakhov [Fri, 22 Apr 2016 09:41:29 +0000 (10:41 +0100)]
[Feature] Use new version of register_symbol in rspamd plugins

8 years ago[Fix] Fix symbol type's check
Vsevolod Stakhov [Fri, 22 Apr 2016 09:41:09 +0000 (10:41 +0100)]
[Fix] Fix symbol type's check

8 years ago[Feature] Improve config:register_symbol function
Vsevolod Stakhov [Fri, 22 Apr 2016 08:42:16 +0000 (09:42 +0100)]
[Feature] Improve config:register_symbol function

Now this function replaces all other registration functions and can
accept table for furhter extending

8 years ago[Feature] Allow SPF to be checked for empty tasks
Vsevolod Stakhov [Thu, 21 Apr 2016 18:13:02 +0000 (19:13 +0100)]
[Feature] Allow SPF to be checked for empty tasks

8 years ago[Feature] Allow sending empty requests using client
Vsevolod Stakhov [Thu, 21 Apr 2016 18:08:41 +0000 (19:08 +0100)]
[Feature] Allow sending empty requests using client

8 years ago[Feature] Allow empty tasks to be processed
Vsevolod Stakhov [Thu, 21 Apr 2016 17:44:39 +0000 (18:44 +0100)]
[Feature] Allow empty tasks to be processed

8 years ago[Fix] Remove some bad domains from whitelists
Vsevolod Stakhov [Thu, 21 Apr 2016 15:21:55 +0000 (16:21 +0100)]
[Fix] Remove some bad domains from whitelists

8 years ago[Feature] Allow multiple PBKDF types in `rspamadm pw`
Vsevolod Stakhov [Thu, 21 Apr 2016 11:34:03 +0000 (12:34 +0100)]
[Feature] Allow multiple PBKDF types in `rspamadm pw`

8 years ago[Feature] Allow catena encrypted passwords in controller
Vsevolod Stakhov [Thu, 21 Apr 2016 11:10:59 +0000 (12:10 +0100)]
[Feature] Allow catena encrypted passwords in controller

8 years ago[Feature] Add catena PBKDF function
Vsevolod Stakhov [Thu, 21 Apr 2016 10:49:55 +0000 (11:49 +0100)]
[Feature] Add catena PBKDF function

8 years ago[Minor] Update to 1.3.0
Vsevolod Stakhov [Wed, 20 Apr 2016 13:57:53 +0000 (14:57 +0100)]
[Minor] Update to 1.3.0

8 years agoRelease 1.2.4 1.2.4
Vsevolod Stakhov [Wed, 20 Apr 2016 13:49:54 +0000 (14:49 +0100)]
Release 1.2.4

* Implement new multipattern matcher that uses hyperscan if possible
* Use mutlipattern for lua_trie code
* Add utility methods for multipattern
* Use multipattern in url matcher
* Add escape functions for hyperscan
* Allow to optimize lua -> C transition by flattening table args
* Optimize hot paths in SA plugin
* Optimize rspamd_re_cache_type_from_string
* Allow empty tries
* Fix extraction of URLs from Subject
* Allow to have different flags for different patterns in multipattern
* Add common directory for hyperscan cache to config
* Implement caching for hyperscan multipattern
* Attach domain part to `R_SUSPICIOUS_URL` (by @moisseev)
* Allow multipattern scans to be nested for the case of hyperscan
* Simplify SURBL redirector search code and avoid ac_trie
* Add two way substring search algorithm
* Avoid acism usage to find gtube pattern
* Fix processing of empty headers
* Allow to disable pthread mutexes on broken platforms
* Make web interface not send password in query strings (#585) by @fatalbanana
* Add maximum delay to ratelimit module
* Backport fix for empty files inclusion from libucl
* Fix settings id setup
* Add min_learns option to classifiers
* Use more clever to utf8 conversion strategy
* Fix disabling of virtual symbols in the settings
* Rework settings to work properly in metric-less configuration
* Set the default limit for classifier
* Fix ttl based expiration from LRU cache
* Rework DKIM module to use OpenSSL for digests
* Fix mailto urls parsing with hyperscan
* Do not set obscured flag for urls starting with spaces
* Fix crash on redis learn
* Fix ratelimit ctime setting

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
8 years ago[Fix] Fix ratelimit ctime setting
Vsevolod Stakhov [Wed, 20 Apr 2016 12:50:22 +0000 (13:50 +0100)]
[Fix] Fix ratelimit ctime setting

8 years ago[Fix] Fix crash on redis learn
Vsevolod Stakhov [Wed, 20 Apr 2016 11:06:04 +0000 (12:06 +0100)]
[Fix] Fix crash on redis learn

8 years ago[Fix] Do not set obscured flag for urls starting with spaces
Vsevolod Stakhov [Wed, 20 Apr 2016 09:44:29 +0000 (10:44 +0100)]
[Fix] Do not set obscured flag for urls starting with spaces

Issue: #593

8 years agoMerge pull request #598 from moisseev/patch-1
Vsevolod Stakhov [Wed, 20 Apr 2016 09:43:13 +0000 (10:43 +0100)]
Merge pull request #598 from moisseev/patch-1

Fix typos

8 years agoFix typos 598/head
Alexander Moisseev [Wed, 20 Apr 2016 06:31:09 +0000 (09:31 +0300)]
Fix typos

8 years ago[CritFix] Fix mailto urls parsing with hyperscan
Vsevolod Stakhov [Tue, 19 Apr 2016 17:38:31 +0000 (18:38 +0100)]
[CritFix] Fix mailto urls parsing with hyperscan

8 years ago[Feature] Rework DKIM module
Vsevolod Stakhov [Tue, 19 Apr 2016 16:28:36 +0000 (17:28 +0100)]
[Feature] Rework DKIM module

- Use openssl instead of g_checksum for speed
- Move private parts into .c file

8 years ago[CritFix] Fix ttl based expiration from LRU cache
Vsevolod Stakhov [Tue, 19 Apr 2016 16:28:09 +0000 (17:28 +0100)]
[CritFix] Fix ttl based expiration from LRU cache

8 years ago[Doc] Improve classifiers documentation
Vsevolod Stakhov [Tue, 19 Apr 2016 14:56:41 +0000 (15:56 +0100)]
[Doc] Improve classifiers documentation

8 years ago[Feature] Set the default limit for classifier
Vsevolod Stakhov [Tue, 19 Apr 2016 14:08:44 +0000 (15:08 +0100)]
[Feature] Set the default limit for classifier

We now disallow statistics to be used unless at least 200 learns has
been performed for the specified classifier

8 years ago[Fix] Rework settings to work properly in metric-less configuration
Vsevolod Stakhov [Tue, 19 Apr 2016 14:03:11 +0000 (15:03 +0100)]
[Fix] Rework settings to work properly in metric-less configuration

8 years ago[Fix] Fix disabling of virtual symbols
Vsevolod Stakhov [Tue, 19 Apr 2016 14:03:01 +0000 (15:03 +0100)]
[Fix] Fix disabling of virtual symbols

8 years ago[Feature] Use more clever to utf8 conversion strategy
Vsevolod Stakhov [Tue, 19 Apr 2016 13:13:56 +0000 (14:13 +0100)]
[Feature] Use more clever to utf8 conversion strategy

8 years ago[Minor] Make fstrgrow non-static function
Vsevolod Stakhov [Tue, 19 Apr 2016 13:13:41 +0000 (14:13 +0100)]
[Minor] Make fstrgrow non-static function

8 years ago[Minor] Be more informative about configuration errors
Vsevolod Stakhov [Tue, 19 Apr 2016 11:47:41 +0000 (12:47 +0100)]
[Minor] Be more informative about configuration errors

8 years ago[Feature] Add min learns to classifiers
Vsevolod Stakhov [Tue, 19 Apr 2016 08:32:47 +0000 (09:32 +0100)]
[Feature] Add min learns to classifiers

8 years ago[Fix] Fix application of settings identified by ID
Vsevolod Stakhov [Tue, 19 Apr 2016 08:08:08 +0000 (09:08 +0100)]
[Fix] Fix application of settings identified by ID

8 years ago[Fix] Fix settings id setup
Vsevolod Stakhov [Mon, 18 Apr 2016 22:31:16 +0000 (23:31 +0100)]
[Fix] Fix settings id setup

8 years ago[Fix] Backport fix for empty files inclusion from libucl
Vsevolod Stakhov [Mon, 18 Apr 2016 17:30:08 +0000 (18:30 +0100)]
[Fix] Backport fix for empty files inclusion from libucl

Issue: #596
Reported by: @assistcontrol

8 years ago[Feature] Print rspamd version
Vsevolod Stakhov [Mon, 18 Apr 2016 16:15:43 +0000 (17:15 +0100)]
[Feature] Print rspamd version

8 years ago[Minor] Support DragonFly build
Vsevolod Stakhov [Mon, 18 Apr 2016 14:17:44 +0000 (15:17 +0100)]
[Minor] Support DragonFly build

Issue: #595

8 years ago[Doc] Add documentation for the new ratelimit option
Vsevolod Stakhov [Sun, 17 Apr 2016 13:54:49 +0000 (14:54 +0100)]
[Doc] Add documentation for the new ratelimit option

8 years ago[Feature] Add maximum delay to ratelimit module
Vsevolod Stakhov [Sun, 17 Apr 2016 13:42:37 +0000 (14:42 +0100)]
[Feature] Add maximum delay to ratelimit module

8 years agoMerge pull request #594 from fatalbanana/master
Vsevolod Stakhov [Sun, 17 Apr 2016 08:32:33 +0000 (09:32 +0100)]
Merge pull request #594 from fatalbanana/master

[Fix] Make web interface not send password in query strings (#585)

8 years agoMerge pull request #592 from moisseev/r_suspicious_url
Vsevolod Stakhov [Sun, 17 Apr 2016 08:32:21 +0000 (09:32 +0100)]
Merge pull request #592 from moisseev/r_suspicious_url

[Minor] Attach domain part to `R_SUSPICIOUS_URL`

8 years ago[Fix] Make web interface not send password in query strings (#585) 594/head
Andrew Lewis [Fri, 15 Apr 2016 17:09:30 +0000 (19:09 +0200)]
[Fix] Make web interface not send password in query strings (#585)

8 years ago[Feature] Allow to disable pthread mutexes on broken platforms
Vsevolod Stakhov [Fri, 15 Apr 2016 17:12:50 +0000 (18:12 +0100)]
[Feature] Allow to disable pthread mutexes on broken platforms

8 years ago[Fix] Fix processing of empty headers
Vsevolod Stakhov [Fri, 15 Apr 2016 15:48:56 +0000 (16:48 +0100)]
[Fix] Fix processing of empty headers

8 years ago[Fix] Fix parsing of some urls in hyperscan mode
Vsevolod Stakhov [Fri, 15 Apr 2016 15:15:12 +0000 (16:15 +0100)]
[Fix] Fix parsing of some urls in hyperscan mode

8 years ago[Feature] Avoid acism usage to find gtube pattern
Vsevolod Stakhov [Fri, 15 Apr 2016 13:28:31 +0000 (14:28 +0100)]
[Feature] Avoid acism usage to find gtube pattern

8 years ago[Fix] Fix order of arguments in 2-ways search
Vsevolod Stakhov [Fri, 15 Apr 2016 13:28:14 +0000 (14:28 +0100)]
[Fix] Fix order of arguments in 2-ways search

8 years ago[Feature] Add two way substring search algorithm
Vsevolod Stakhov [Fri, 15 Apr 2016 13:13:44 +0000 (14:13 +0100)]
[Feature] Add two way substring search algorithm

8 years ago[Feature] Simplify redirector search code and avoid ac_trie
Vsevolod Stakhov [Fri, 15 Apr 2016 12:53:41 +0000 (13:53 +0100)]
[Feature] Simplify redirector search code and avoid ac_trie

8 years ago[Fix] Allow multipattern scans to be nested for the case of hyperscan
Vsevolod Stakhov [Fri, 15 Apr 2016 11:49:24 +0000 (12:49 +0100)]
[Fix] Allow multipattern scans to be nested for the case of hyperscan

8 years ago[Minor] Attach domain part to `R_SUSPICIOUS_URL` 592/head
Alexander Moisseev [Fri, 15 Apr 2016 07:50:37 +0000 (10:50 +0300)]
[Minor] Attach domain part to `R_SUSPICIOUS_URL`

8 years ago[Feature] Implement caching for hyperscan multipattern
Vsevolod Stakhov [Thu, 14 Apr 2016 18:09:04 +0000 (19:09 +0100)]
[Feature] Implement caching for hyperscan multipattern

8 years ago[Feature] Add common directory for hyperscan cache to config
Vsevolod Stakhov [Thu, 14 Apr 2016 17:27:51 +0000 (18:27 +0100)]
[Feature] Add common directory for hyperscan cache to config

8 years ago[Fix] Some more fixes for urls parser
Vsevolod Stakhov [Thu, 14 Apr 2016 16:36:27 +0000 (17:36 +0100)]
[Fix] Some more fixes for urls parser

8 years ago[Fix] Further fixes to urls parsing
Vsevolod Stakhov [Thu, 14 Apr 2016 14:45:10 +0000 (15:45 +0100)]
[Fix] Further fixes to urls parsing

8 years ago[Feature] Use more clever url matcher for hyperscan
Vsevolod Stakhov [Thu, 14 Apr 2016 14:26:19 +0000 (15:26 +0100)]
[Feature] Use more clever url matcher for hyperscan

8 years ago[Feature] Allow to have different flags for different patterns
Vsevolod Stakhov [Thu, 14 Apr 2016 14:17:24 +0000 (15:17 +0100)]
[Feature] Allow to have different flags for different patterns

8 years ago[Fix] Try to handle hyperscan error
Vsevolod Stakhov [Thu, 14 Apr 2016 14:12:17 +0000 (15:12 +0100)]
[Fix] Try to handle hyperscan error