]> git.ipfire.org Git - thirdparty/rspamd.git/log
thirdparty/rspamd.git
11 years agoRemove nszones.com fake RBL: 111/head
Anton Yuzhaninov [Tue, 21 Oct 2014 15:19:19 +0000 (19:19 +0400)] 
Remove nszones.com fake RBL:
http://www.spamhaus.org/organization/statement/8/

11 years agoAdd compatibility for old libevent.
Vsevolod Stakhov [Fri, 17 Oct 2014 00:10:30 +0000 (01:10 +0100)] 
Add compatibility for old libevent.

Issue: #109
Suggested by: @yellowman

11 years agoSync bugfix from libucl.
Vsevolod Stakhov [Thu, 16 Oct 2014 13:12:38 +0000 (14:12 +0100)] 
Sync bugfix from libucl.

11 years agoRelease 0.7.2. 0.7.2
Vsevolod Stakhov [Wed, 15 Oct 2014 16:30:22 +0000 (17:30 +0100)] 
Release 0.7.2.

* Convert all maps to the compressed radix trie
* Allow IPv6 addresses in IP maps
* Remove dynamic items support from symbols cache
* Allow hex encoded output of strings
* Fix bug with control connections count
* Process fuzzy weight correctly (reported by @fatalbanana)
* Remove extra reference retain of http connection on error
* Remove deprecated options from the default config
* Add `one_shot` attr to metric's symbols
* Doc: add documentation for metrics
* Add Upstart job to debian packaging (by @CameronNemo)
* Config: improve SURBL symbols descriptions (by @citrin)
* Config: reflect SURBL changes (by @citrin):
    - Outblaze removed, malware moved to separate list:
http://www.surbl.org/news/internal/MW-malware-sublist-added-to-multi
* Fix C modules initialization on restart
* Treat single IP as a single IP in radix lists (reported by @citrin)
* Do not touch file and core limits if not asked explicitly (reported by @citrin)
* Improve logging for fuzzy errors
* Block SIGPIPE for HTTP writing
* Doc: update manual pages
* Fix HTTP connection termination
* Reduce default number of parallel requests to 8
* Sync with libucl include features

Signed-off-by: Vsevolod Stakhov <vsevolod@highsecure.ru>
11 years agoUpdate rpm spec.
Vsevolod Stakhov [Wed, 15 Oct 2014 16:29:58 +0000 (17:29 +0100)] 
Update rpm spec.

11 years agoAdded by a mistake.
Vsevolod Stakhov [Wed, 15 Oct 2014 16:29:38 +0000 (17:29 +0100)] 
Added by a mistake.

11 years agoUpdate debian packaging.
Vsevolod Stakhov [Wed, 15 Oct 2014 16:29:01 +0000 (17:29 +0100)] 
Update debian packaging.

11 years agoUpdate to 0.7.2.
Vsevolod Stakhov [Wed, 15 Oct 2014 16:18:46 +0000 (17:18 +0100)] 
Update to 0.7.2.

11 years agoFix macro definition.
Vsevolod Stakhov [Wed, 15 Oct 2014 16:18:24 +0000 (17:18 +0100)] 
Fix macro definition.

11 years agoSync libucl.
Vsevolod Stakhov [Wed, 15 Oct 2014 16:16:23 +0000 (17:16 +0100)] 
Sync libucl.

11 years agoReduce default number of parallel requests to 8.
Vsevolod Stakhov [Wed, 15 Oct 2014 14:29:28 +0000 (15:29 +0100)] 
Reduce default number of parallel requests to 8.

11 years agoCheck part->fuzzy before dereferencing.
Vsevolod Stakhov [Wed, 15 Oct 2014 13:37:20 +0000 (14:37 +0100)] 
Check part->fuzzy before dereferencing.

11 years agoFix HTTP connection termination.
Vsevolod Stakhov [Wed, 15 Oct 2014 13:35:20 +0000 (14:35 +0100)] 
Fix HTTP connection termination.

If a remote side terminates a connection, then notify and destroy
client as well.

11 years agoBlock SIGPIPE for HTTP writing.
Vsevolod Stakhov [Wed, 15 Oct 2014 13:21:57 +0000 (14:21 +0100)] 
Block SIGPIPE for HTTP writing.

11 years agoUpdate manual pages.
Vsevolod Stakhov [Wed, 15 Oct 2014 13:14:07 +0000 (14:14 +0100)] 
Update manual pages.

11 years agoImprove logging for fuzzy errors.
Vsevolod Stakhov [Wed, 15 Oct 2014 12:40:51 +0000 (13:40 +0100)] 
Improve logging for fuzzy errors.

Suggested by: @citrin

11 years agoSend controller reply now accepts variadic args.
Vsevolod Stakhov [Wed, 15 Oct 2014 12:35:09 +0000 (13:35 +0100)] 
Send controller reply now accepts variadic args.

11 years agoImplement va_list version for gstring printf.
Vsevolod Stakhov [Wed, 15 Oct 2014 12:23:39 +0000 (13:23 +0100)] 
Implement va_list version for gstring printf.

11 years agoDo not touch limits if not asked explicitly.
Vsevolod Stakhov [Mon, 13 Oct 2014 16:46:46 +0000 (17:46 +0100)] 
Do not touch limits if not asked explicitly.

Reported by: @citrin

11 years agoTreat single IP as a single IP.
Vsevolod Stakhov [Mon, 13 Oct 2014 16:44:11 +0000 (17:44 +0100)] 
Treat single IP as a single IP.

Issue: #106
Reported by: @citrin

11 years agoRemove old controller's code.
Vsevolod Stakhov [Sun, 12 Oct 2014 21:35:36 +0000 (22:35 +0100)] 
Remove old controller's code.

11 years agoFix C modules initialization on restart.
Vsevolod Stakhov [Fri, 10 Oct 2014 22:41:34 +0000 (23:41 +0100)] 
Fix C modules initialization on restart.

11 years agoFix inserting to the hash.
Vsevolod Stakhov [Fri, 10 Oct 2014 21:18:37 +0000 (22:18 +0100)] 
Fix inserting to the hash.

11 years agoMerge pull request #108 from citrin/master
Vsevolod Stakhov [Fri, 10 Oct 2014 19:42:02 +0000 (20:42 +0100)] 
Merge pull request #108 from citrin/master

Config: SURBL update

11 years agoConfig: reflect SURBL changes. 108/head
Anton Yuzhaninov [Fri, 10 Oct 2014 15:58:25 +0000 (19:58 +0400)] 
Config: reflect SURBL changes.

Outblaze removed, malware moved to separate list:
http://www.surbl.org/news/internal/MW-malware-sublist-added-to-multi

11 years agoConfig: improve SURBL symbols descriptions
Anton Yuzhaninov [Fri, 10 Oct 2014 15:51:32 +0000 (19:51 +0400)] 
Config: improve SURBL symbols descriptions

11 years agoMerge pull request #84 from CameronNemo/patch-1
Vsevolod Stakhov [Fri, 10 Oct 2014 11:18:38 +0000 (12:18 +0100)] 
Merge pull request #84 from CameronNemo/patch-1

Add Upstart job to debian packaging

11 years agoFix formulas.
Vsevolod Stakhov [Thu, 9 Oct 2014 00:24:14 +0000 (01:24 +0100)] 
Fix formulas.

11 years agoUse math environment for formula.
Vsevolod Stakhov [Thu, 9 Oct 2014 00:18:26 +0000 (01:18 +0100)] 
Use math environment for formula.

11 years agoDocument `one_shot` option.
Vsevolod Stakhov [Thu, 9 Oct 2014 00:15:06 +0000 (01:15 +0100)] 
Document `one_shot` option.

11 years agoHonor one_shot setting for symbols.
Vsevolod Stakhov [Thu, 9 Oct 2014 00:11:28 +0000 (01:11 +0100)] 
Honor one_shot setting for symbols.

11 years agoPlace symbol definition in metric->symbols hash.
Vsevolod Stakhov [Thu, 9 Oct 2014 00:08:58 +0000 (01:08 +0100)] 
Place symbol definition in metric->symbols hash.

11 years agoAdd `one_shot` attr to metric symbols.
Vsevolod Stakhov [Wed, 8 Oct 2014 23:54:39 +0000 (00:54 +0100)] 
Add `one_shot` attr to metric symbols.

11 years agoAdd metrics configuration.
Vsevolod Stakhov [Wed, 8 Oct 2014 23:50:32 +0000 (00:50 +0100)] 
Add metrics configuration.

11 years agoRemove unused symbol R_IP_PBL.
Vsevolod Stakhov [Wed, 8 Oct 2014 17:26:56 +0000 (18:26 +0100)] 
Remove unused symbol R_IP_PBL.

11 years agoRemove deprecated options from the default config.
Vsevolod Stakhov [Wed, 8 Oct 2014 17:25:55 +0000 (18:25 +0100)] 
Remove deprecated options from the default config.

11 years agoRemove extra ref of http connection on error.
Vsevolod Stakhov [Wed, 8 Oct 2014 15:41:08 +0000 (16:41 +0100)] 
Remove extra ref of http connection on error.

11 years agoPrint filename properly.
Vsevolod Stakhov [Wed, 8 Oct 2014 15:29:51 +0000 (16:29 +0100)] 
Print filename properly.

11 years agoSync rdns and ucl.
Vsevolod Stakhov [Tue, 7 Oct 2014 17:05:08 +0000 (18:05 +0100)] 
Sync rdns and ucl.

11 years agoProcess fuzzy weight correctly.
Vsevolod Stakhov [Tue, 7 Oct 2014 17:04:38 +0000 (18:04 +0100)] 
Process fuzzy weight correctly.

11 years agoRemove unused code.
Vsevolod Stakhov [Mon, 6 Oct 2014 22:51:24 +0000 (23:51 +0100)] 
Remove unused code.

11 years agoIncrease control connections counter.
Vsevolod Stakhov [Sat, 4 Oct 2014 19:44:55 +0000 (20:44 +0100)] 
Increase control connections counter.

11 years agoFix some more border cases.
Vsevolod Stakhov [Thu, 2 Oct 2014 23:54:58 +0000 (00:54 +0100)] 
Fix some more border cases.

11 years agoAllow hex encoded output of strings.
Vsevolod Stakhov [Thu, 2 Oct 2014 23:36:50 +0000 (00:36 +0100)] 
Allow hex encoded output of strings.

11 years agoFix dkim length parsing.
Vsevolod Stakhov [Thu, 2 Oct 2014 22:36:08 +0000 (23:36 +0100)] 
Fix dkim length parsing.

11 years agoRework parsing of ip lists.
Vsevolod Stakhov [Wed, 1 Oct 2014 16:35:47 +0000 (17:35 +0100)] 
Rework parsing of ip lists.

11 years agoFix fuzzy_check and spf.
Vsevolod Stakhov [Wed, 1 Oct 2014 16:28:27 +0000 (17:28 +0100)] 
Fix fuzzy_check and spf.

11 years agoFix lua_radix.
Vsevolod Stakhov [Wed, 1 Oct 2014 16:21:03 +0000 (17:21 +0100)] 
Fix lua_radix.

11 years agoAdopt logger for new radix.
Vsevolod Stakhov [Wed, 1 Oct 2014 15:29:37 +0000 (16:29 +0100)] 
Adopt logger for new radix.

11 years agoRemove dynamic items support from symbols cache.
Vsevolod Stakhov [Wed, 1 Oct 2014 15:23:51 +0000 (16:23 +0100)] 
Remove dynamic items support from symbols cache.

11 years agoDisable old radix completely.
Vsevolod Stakhov [Wed, 1 Oct 2014 15:19:43 +0000 (16:19 +0100)] 
Disable old radix completely.

11 years agoAdopt controller.
Vsevolod Stakhov [Wed, 1 Oct 2014 15:18:34 +0000 (16:18 +0100)] 
Adopt controller.

11 years agoRework addresses parsing.
Vsevolod Stakhov [Wed, 1 Oct 2014 14:58:23 +0000 (15:58 +0100)] 
Rework addresses parsing.

11 years agoRework fuzzy storage radix.
Vsevolod Stakhov [Wed, 1 Oct 2014 14:15:11 +0000 (15:15 +0100)] 
Rework fuzzy storage radix.

11 years agoAdd routine to find rspamd_inet_addr in radix trie.
Vsevolod Stakhov [Wed, 1 Oct 2014 13:55:49 +0000 (14:55 +0100)] 
Add routine to find rspamd_inet_addr in radix trie.

11 years agoConvert maps to new radix.
Vsevolod Stakhov [Wed, 1 Oct 2014 13:48:27 +0000 (14:48 +0100)] 
Convert maps to new radix.

11 years agoAdd tests for ipv6 addresses.
Vsevolod Stakhov [Wed, 1 Oct 2014 12:55:14 +0000 (13:55 +0100)] 
Add tests for ipv6 addresses.

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.