]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoFix hfilter rule.
Vsevolod Stakhov [Wed, 29 Apr 2015 14:57:16 +0000 (15:57 +0100)]
Fix hfilter rule.

9 years agoAllow to get mime part from text part in lua.
Vsevolod Stakhov [Wed, 29 Apr 2015 14:55:59 +0000 (15:55 +0100)]
Allow to get mime part from text part in lua.

9 years agoStore mime objects inside part structures.
Vsevolod Stakhov [Wed, 29 Apr 2015 14:43:27 +0000 (15:43 +0100)]
Store mime objects inside part structures.

9 years agoAdd line counts to lua mimepart API.
Vsevolod Stakhov [Wed, 29 Apr 2015 14:43:13 +0000 (15:43 +0100)]
Add line counts to lua mimepart API.

9 years agoAdd lines count calculation to text parts.
Vsevolod Stakhov [Wed, 29 Apr 2015 14:33:21 +0000 (15:33 +0100)]
Add lines count calculation to text parts.

9 years agoUse binary flags for part flags.
Vsevolod Stakhov [Wed, 29 Apr 2015 14:17:57 +0000 (15:17 +0100)]
Use binary flags for part flags.

9 years agoMerge pull request #273 from fatalbanana/master
Vsevolod Stakhov [Tue, 28 Apr 2015 22:12:46 +0000 (23:12 +0100)]
Merge pull request #273 from fatalbanana/master

Add install target for systemd socket file

9 years agoAdd spamassassin module documentation.
Vsevolod Stakhov [Tue, 28 Apr 2015 17:59:30 +0000 (18:59 +0100)]
Add spamassassin module documentation.

9 years agoAdd documentation for SURBL module.
Vsevolod Stakhov [Tue, 28 Apr 2015 17:32:09 +0000 (18:32 +0100)]
Add documentation for SURBL module.

9 years agoAdd install target for systemd socket file 273/head
Andrew Lewis [Tue, 28 Apr 2015 16:45:49 +0000 (18:45 +0200)]
Add install target for systemd socket file

9 years agoAnother round of linking issues fixup.
Vsevolod Stakhov [Tue, 28 Apr 2015 16:01:00 +0000 (17:01 +0100)]
Another round of linking issues fixup.

9 years agoUpdate copyright.
Vsevolod Stakhov [Tue, 28 Apr 2015 15:52:13 +0000 (16:52 +0100)]
Update copyright.

9 years agoImplicitly initialize regexp library.
Vsevolod Stakhov [Tue, 28 Apr 2015 14:25:25 +0000 (15:25 +0100)]
Implicitly initialize regexp library.

9 years agoTry to guess url_tld if it is not specified.
Vsevolod Stakhov [Tue, 28 Apr 2015 14:25:10 +0000 (15:25 +0100)]
Try to guess url_tld if it is not specified.

9 years agoDo not try to dereference null pointer.
Vsevolod Stakhov [Tue, 28 Apr 2015 13:44:21 +0000 (14:44 +0100)]
Do not try to dereference null pointer.

9 years agoImport fixes from libucl.
Vsevolod Stakhov [Tue, 28 Apr 2015 13:39:25 +0000 (14:39 +0100)]
Import fixes from libucl.

9 years agoFix error message.
Vsevolod Stakhov [Tue, 28 Apr 2015 12:29:46 +0000 (13:29 +0100)]
Fix error message.

9 years agoWrite composite name which parsing has been failed.
Vsevolod Stakhov [Tue, 28 Apr 2015 11:50:49 +0000 (12:50 +0100)]
Write composite name which parsing has been failed.

9 years agoRemove useless subclasses.
Vsevolod Stakhov [Tue, 28 Apr 2015 11:42:08 +0000 (12:42 +0100)]
Remove useless subclasses.

9 years agoFix private library dir.
Vsevolod Stakhov [Tue, 28 Apr 2015 10:43:54 +0000 (11:43 +0100)]
Fix private library dir.

9 years agoRemove debugging assertion...
Vsevolod Stakhov [Tue, 28 Apr 2015 10:38:28 +0000 (11:38 +0100)]
Remove debugging assertion...

9 years agoAdd password encryption mode.
Vsevolod Stakhov [Mon, 27 Apr 2015 23:16:15 +0000 (00:16 +0100)]
Add password encryption mode.

9 years agoBe more clever about logging of JIT support.
Vsevolod Stakhov [Mon, 27 Apr 2015 16:40:57 +0000 (17:40 +0100)]
Be more clever about logging of JIT support.

9 years agoFix libucl priority include bug.
Vsevolod Stakhov [Mon, 27 Apr 2015 16:09:19 +0000 (17:09 +0100)]
Fix libucl priority include bug.

9 years agoImprove unknown symbols metric configuration.
Vsevolod Stakhov [Mon, 27 Apr 2015 15:22:05 +0000 (16:22 +0100)]
Improve unknown symbols metric configuration.

9 years agoFix closure lifetime in tests.
Vsevolod Stakhov [Mon, 27 Apr 2015 15:12:29 +0000 (16:12 +0100)]
Fix closure lifetime in tests.

9 years agoExpression parsing errors are not asserts actually.
Vsevolod Stakhov [Mon, 27 Apr 2015 14:39:18 +0000 (15:39 +0100)]
Expression parsing errors are not asserts actually.

9 years agoCorrectly handle workers spawn errors.
Vsevolod Stakhov [Mon, 27 Apr 2015 13:51:02 +0000 (14:51 +0100)]
Correctly handle workers spawn errors.

9 years agoFix expiration for fuzzy hashes.
Vsevolod Stakhov [Mon, 27 Apr 2015 10:10:54 +0000 (11:10 +0100)]
Fix expiration for fuzzy hashes.

Issue: #267
Reported by: @moiseev

9 years agoSlightly improve style.
Vsevolod Stakhov [Mon, 27 Apr 2015 09:31:49 +0000 (10:31 +0100)]
Slightly improve style.

9 years agoFix some contrib libraries.
Vsevolod Stakhov [Mon, 27 Apr 2015 09:31:25 +0000 (10:31 +0100)]
Fix some contrib libraries.

9 years agoMerge pull request #270 from awhitesong/liburl
Vsevolod Stakhov [Sun, 26 Apr 2015 21:10:38 +0000 (22:10 +0100)]
Merge pull request #270 from awhitesong/liburl

extract all URLs from a text

9 years agoFix misprint in library path.
Vsevolod Stakhov [Sun, 26 Apr 2015 20:09:40 +0000 (21:09 +0100)]
Fix misprint in library path.

9 years agoMerge pull request #272 from fatalbanana/master
Vsevolod Stakhov [Sat, 25 Apr 2015 07:35:01 +0000 (08:35 +0100)]
Merge pull request #272 from fatalbanana/master

Try fix RPATH

9 years agoTry fix RPATH 272/head
Andrew Lewis [Fri, 24 Apr 2015 20:21:39 +0000 (22:21 +0200)]
Try fix RPATH

9 years agoTry to fix mess with rpath.
Vsevolod Stakhov [Fri, 24 Apr 2015 16:08:04 +0000 (17:08 +0100)]
Try to fix mess with rpath.

9 years agoInstall ac-trie to the private library dir.
Vsevolod Stakhov [Fri, 24 Apr 2015 15:44:06 +0000 (16:44 +0100)]
Install ac-trie to the private library dir.

9 years agoFix ips logic for surbl
Vsevolod Stakhov [Fri, 24 Apr 2015 15:28:44 +0000 (16:28 +0100)]
Fix ips logic for surbl

9 years agoAdd routine to recommend users to encrypt their passwords.
Vsevolod Stakhov [Fri, 24 Apr 2015 14:58:25 +0000 (15:58 +0100)]
Add routine to recommend users to encrypt their passwords.

9 years agoFix encrypted password comparision.
Vsevolod Stakhov [Fri, 24 Apr 2015 14:58:12 +0000 (15:58 +0100)]
Fix encrypted password comparision.

9 years agosome more formatting changes 270/head
Dhawal Arora [Fri, 24 Apr 2015 14:19:45 +0000 (19:49 +0530)]
some more formatting changes

9 years agoFix pbkdf merge.
Vsevolod Stakhov [Fri, 24 Apr 2015 14:18:57 +0000 (15:18 +0100)]
Fix pbkdf merge.

- Fix formatting;
- Add constant time memcmp;
- Fix logic of compatision;
- Fix memory leak;
- Other small tunes and fixes

9 years agoTune group max score limit.
Vsevolod Stakhov [Fri, 24 Apr 2015 13:46:34 +0000 (14:46 +0100)]
Tune group max score limit.

9 years agoMerge pull request #271 from dark-al/master
Vsevolod Stakhov [Fri, 24 Apr 2015 13:50:51 +0000 (14:50 +0100)]
Merge pull request #271 from dark-al/master

Add pbkdf2 password support to controller

9 years agoFix logic of parsing symbol groups.
Vsevolod Stakhov [Fri, 24 Apr 2015 13:10:36 +0000 (14:10 +0100)]
Fix logic of parsing symbol groups.

9 years agoFix output of learn counts of statfiles.
Vsevolod Stakhov [Fri, 24 Apr 2015 12:43:55 +0000 (13:43 +0100)]
Fix output of learn counts of statfiles.

9 years agoAllow to specify IP as well as bits for surbl.
Vsevolod Stakhov [Fri, 24 Apr 2015 12:17:36 +0000 (13:17 +0100)]
Allow to specify IP as well as bits for surbl.

9 years agominor syntax changes and pushed rspamd{url} to stack
Dhawal Arora [Fri, 24 Apr 2015 05:20:53 +0000 (10:50 +0530)]
minor syntax changes and pushed rspamd{url} to stack

9 years agoAdd pbkdf2 password support to controller 271/head
Anton Belka [Thu, 23 Apr 2015 23:12:11 +0000 (02:12 +0300)]
Add pbkdf2 password support to controller

9 years agoextract all URLs from a text
Dhawal Arora [Thu, 23 Apr 2015 22:40:44 +0000 (04:10 +0530)]
extract all URLs from a text

9 years agoFix unref for implicit arrays.
Vsevolod Stakhov [Thu, 23 Apr 2015 17:28:34 +0000 (18:28 +0100)]
Fix unref for implicit arrays.

9 years agoAdd some more URL test cases.
Vsevolod Stakhov [Thu, 23 Apr 2015 12:09:20 +0000 (13:09 +0100)]
Add some more URL test cases.

9 years agoRework phishing detection to reduce false positives rate.
Vsevolod Stakhov [Thu, 23 Apr 2015 12:08:00 +0000 (13:08 +0100)]
Rework phishing detection to reduce false positives rate.

Now we use TLD to match phished URL's. Sometimes, we could miss real
positives by not checking strictly for subdomains, however, this change
should reduce false positives rate of this rule significantly.

9 years agoFix ipv6 addresses and other issues in url parser.
Vsevolod Stakhov [Thu, 23 Apr 2015 10:33:54 +0000 (11:33 +0100)]
Fix ipv6 addresses and other issues in url parser.

9 years agoReduce test cycles to speedup tests.
Vsevolod Stakhov [Thu, 23 Apr 2015 10:33:17 +0000 (11:33 +0100)]
Reduce test cycles to speedup tests.

9 years agoFix TLD sanity checking.
Vsevolod Stakhov [Wed, 22 Apr 2015 16:43:12 +0000 (17:43 +0100)]
Fix TLD sanity checking.

9 years agoParse ipv6 URL's.
Vsevolod Stakhov [Wed, 22 Apr 2015 16:43:02 +0000 (17:43 +0100)]
Parse ipv6 URL's.

9 years agoIgnore URL's with unknown TLD for now.
Vsevolod Stakhov [Wed, 22 Apr 2015 16:27:41 +0000 (17:27 +0100)]
Ignore URL's with unknown TLD for now.

9 years agoSet default sync timeout.
Vsevolod Stakhov [Wed, 22 Apr 2015 15:57:23 +0000 (16:57 +0100)]
Set default sync timeout.

9 years agoCategorize default rules.
Vsevolod Stakhov [Wed, 22 Apr 2015 15:51:10 +0000 (16:51 +0100)]
Categorize default rules.

9 years agoPush inet addr instead of the string for lua worker.
Vsevolod Stakhov [Wed, 22 Apr 2015 15:38:43 +0000 (16:38 +0100)]
Push inet addr instead of the string for lua worker.

9 years agoAllow to specify sync timeout for fuzzy storage.
Vsevolod Stakhov [Wed, 22 Apr 2015 15:24:34 +0000 (16:24 +0100)]
Allow to specify sync timeout for fuzzy storage.

9 years agoAdd PBKDF2-HMAC-Blake2 function.
Vsevolod Stakhov [Tue, 21 Apr 2015 22:17:26 +0000 (23:17 +0100)]
Add PBKDF2-HMAC-Blake2 function.

9 years agoShow fuzzy checked statistics in the client.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:39:59 +0000 (18:39 +0100)]
Show fuzzy checked statistics in the client.

9 years agoRemove unused function.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:32:00 +0000 (18:32 +0100)]
Remove unused function.

9 years agoProvide data for fuzzy checks statistics.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:31:43 +0000 (18:31 +0100)]
Provide data for fuzzy checks statistics.

9 years agoImplement the concept of fuzzy protocol epoches.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:19:40 +0000 (18:19 +0100)]
Implement the concept of fuzzy protocol epoches.

9 years agoFuzzy actual version is now 3 not 2.
Vsevolod Stakhov [Tue, 21 Apr 2015 17:06:25 +0000 (18:06 +0100)]
Fuzzy actual version is now 3 not 2.

9 years agoUse normal HTTP library for surbl.
Vsevolod Stakhov [Tue, 21 Apr 2015 16:24:48 +0000 (17:24 +0100)]
Use normal HTTP library for surbl.

9 years agoDo not store redirects to the same url.
Vsevolod Stakhov [Tue, 21 Apr 2015 15:48:32 +0000 (16:48 +0100)]
Do not store redirects to the same url.

9 years agoSmall tweaks to logging of learned messages.
Vsevolod Stakhov [Tue, 21 Apr 2015 15:28:52 +0000 (16:28 +0100)]
Small tweaks to logging of learned messages.

9 years agoUse 64 bit hash for logger.
Vsevolod Stakhov [Tue, 21 Apr 2015 15:09:41 +0000 (16:09 +0100)]
Use 64 bit hash for logger.

9 years agoFix map initialization.
Vsevolod Stakhov [Tue, 21 Apr 2015 14:32:16 +0000 (15:32 +0100)]
Fix map initialization.

9 years agoUse non-predictable hash seed to avoid collision attacks.
Vsevolod Stakhov [Tue, 21 Apr 2015 14:20:41 +0000 (15:20 +0100)]
Use non-predictable hash seed to avoid collision attacks.

9 years agoUse proper key when searching hash.
Vsevolod Stakhov [Tue, 21 Apr 2015 14:13:37 +0000 (15:13 +0100)]
Use proper key when searching hash.

9 years agoUse normal allocator for maps data.
Vsevolod Stakhov [Tue, 21 Apr 2015 13:52:48 +0000 (14:52 +0100)]
Use normal allocator for maps data.

9 years agoRemove old trie code.
Vsevolod Stakhov [Tue, 21 Apr 2015 13:05:16 +0000 (14:05 +0100)]
Remove old trie code.

9 years agoRework surbl plugin for new trie.
Vsevolod Stakhov [Tue, 21 Apr 2015 12:50:10 +0000 (13:50 +0100)]
Rework surbl plugin for new trie.

9 years agoProperly treat body rules.
Vsevolod Stakhov [Mon, 20 Apr 2015 16:53:32 +0000 (17:53 +0100)]
Properly treat body rules.

9 years agoSupport tags replacement used in SA.
Vsevolod Stakhov [Mon, 20 Apr 2015 16:50:24 +0000 (17:50 +0100)]
Support tags replacement used in SA.

9 years agoFix DMARC plugin.
Vsevolod Stakhov [Mon, 20 Apr 2015 14:56:12 +0000 (15:56 +0100)]
Fix DMARC plugin.

9 years agoSupport 'publish' flag for SA rules.
Vsevolod Stakhov [Mon, 20 Apr 2015 14:42:51 +0000 (15:42 +0100)]
Support 'publish' flag for SA rules.

9 years agoFix AST processing for sole comparision rules.
Vsevolod Stakhov [Mon, 20 Apr 2015 14:14:47 +0000 (15:14 +0100)]
Fix AST processing for sole comparision rules.

9 years agoFix return type for SA functions.
Vsevolod Stakhov [Mon, 20 Apr 2015 13:56:30 +0000 (14:56 +0100)]
Fix return type for SA functions.

9 years agoAdd lua_regexp:matchn function.
Vsevolod Stakhov [Mon, 20 Apr 2015 12:35:12 +0000 (13:35 +0100)]
Add lua_regexp:matchn function.

9 years agoWe also support some of Mail::SpamAssassin::Plugin::HeaderEval
Vsevolod Stakhov [Mon, 20 Apr 2015 12:16:24 +0000 (13:16 +0100)]
We also support some of Mail::SpamAssassin::Plugin::HeaderEval

9 years agoRework spamassassin functions:
Vsevolod Stakhov [Mon, 20 Apr 2015 12:03:48 +0000 (13:03 +0100)]
Rework spamassassin functions:

1) now we support some plugins, so do not refuse to parse them
2) added freemail plugin
3) rework SA functions evaluation
4) add support for eval functions
5) add freemail eval

9 years agoFix initialization order.
Vsevolod Stakhov [Mon, 20 Apr 2015 10:58:36 +0000 (11:58 +0100)]
Fix initialization order.

9 years agoFix processing tasks from lua.
Vsevolod Stakhov [Mon, 20 Apr 2015 10:22:49 +0000 (11:22 +0100)]
Fix processing tasks from lua.

9 years agoCheck task pending if no events are registered.
Vsevolod Stakhov [Mon, 20 Apr 2015 10:13:39 +0000 (11:13 +0100)]
Check task pending if no events are registered.

9 years agoMerge pull request #266 from fatalbanana/master
Vsevolod Stakhov [Sun, 19 Apr 2015 09:21:09 +0000 (10:21 +0100)]
Merge pull request #266 from fatalbanana/master

DMARC: check for subdomain policy

9 years agoBackport array removal fix.
Vsevolod Stakhov [Sat, 18 Apr 2015 15:10:47 +0000 (16:10 +0100)]
Backport array removal fix.

9 years agoAdd a simple unit test of task processing.
Vsevolod Stakhov [Sat, 18 Apr 2015 14:07:54 +0000 (15:07 +0100)]
Add a simple unit test of task processing.

9 years agoFix lua task processing.
Vsevolod Stakhov [Sat, 18 Apr 2015 14:07:40 +0000 (15:07 +0100)]
Fix lua task processing.

9 years agoFix config post-load.
Vsevolod Stakhov [Sat, 18 Apr 2015 14:07:23 +0000 (15:07 +0100)]
Fix config post-load.

9 years agoFix ucl from lua arrays.
Vsevolod Stakhov [Sat, 18 Apr 2015 12:51:53 +0000 (13:51 +0100)]
Fix ucl from lua arrays.

9 years agoDMARC: check for subdomain policy 266/head
Andrew Lewis [Fri, 17 Apr 2015 23:02:16 +0000 (01:02 +0200)]
DMARC: check for subdomain policy

9 years agoFix tests build.
Vsevolod Stakhov [Fri, 17 Apr 2015 21:06:14 +0000 (22:06 +0100)]
Fix tests build.

9 years agoAdd preliminary lua task process routine.
Vsevolod Stakhov [Fri, 17 Apr 2015 16:06:39 +0000 (17:06 +0100)]
Add preliminary lua task process routine.

9 years agoPass task object to fin_callback.
Vsevolod Stakhov [Fri, 17 Apr 2015 16:06:18 +0000 (17:06 +0100)]
Pass task object to fin_callback.