]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoConfig tidying 278/head
Andrew Lewis [Wed, 6 May 2015 12:10:20 +0000 (14:10 +0200)]
Config tidying

9 years agoProperly scale bayes HAM probability.
Vsevolod Stakhov [Wed, 6 May 2015 11:46:29 +0000 (12:46 +0100)]
Properly scale bayes HAM probability.

9 years agoSome pcre distributions are brain damaged.
Vsevolod Stakhov [Wed, 6 May 2015 11:27:35 +0000 (12:27 +0100)]
Some pcre distributions are brain damaged.

9 years agoFix debian copyright and rules.
Vsevolod Stakhov [Wed, 6 May 2015 09:57:05 +0000 (10:57 +0100)]
Fix debian copyright and rules.

9 years agoBe more clever about forged MUA rules and maillist.
Vsevolod Stakhov [Wed, 6 May 2015 09:05:27 +0000 (10:05 +0100)]
Be more clever about forged MUA rules and maillist.

9 years agoImplement group composites.
Vsevolod Stakhov [Tue, 5 May 2015 18:07:38 +0000 (19:07 +0100)]
Implement group composites.

9 years agoRework composites processing.
Vsevolod Stakhov [Tue, 5 May 2015 18:02:21 +0000 (19:02 +0100)]
Rework composites processing.

9 years agoFix internal functions arguments parsing.
Vsevolod Stakhov [Tue, 5 May 2015 17:55:52 +0000 (18:55 +0100)]
Fix internal functions arguments parsing.

9 years agoAdd another normalization argument.
Vsevolod Stakhov [Tue, 5 May 2015 17:41:13 +0000 (18:41 +0100)]
Add another normalization argument.

9 years agoTake OSB feature multiplier into account.
Vsevolod Stakhov [Tue, 5 May 2015 17:18:25 +0000 (18:18 +0100)]
Take OSB feature multiplier into account.

9 years agoFix uribls with no bits and ips.
Vsevolod Stakhov [Tue, 5 May 2015 15:17:12 +0000 (16:17 +0100)]
Fix uribls with no bits and ips.

9 years ago`get_all_opt` now flattens the content of objects
Vsevolod Stakhov [Tue, 5 May 2015 14:57:47 +0000 (15:57 +0100)]
`get_all_opt` now flattens the content of objects

So now in a configuration with multiple section with the same name, for
example:

module {
param1 = value1;
param2 = value2;
}
module {
param2 = value2_1;
param3 = value3;
}

this function will return a single lua table that looks as following:

param1 = value1,
param2 = value2_1,
param3 = value3

9 years agoAllow password-less controller.
Vsevolod Stakhov [Tue, 5 May 2015 14:28:36 +0000 (15:28 +0100)]
Allow password-less controller.

9 years agoUse default backend if no other backends specified.
Vsevolod Stakhov [Tue, 5 May 2015 14:28:20 +0000 (15:28 +0100)]
Use default backend if no other backends specified.

9 years agoFix http-proxy in encryption mode.
Vsevolod Stakhov [Tue, 5 May 2015 14:11:12 +0000 (15:11 +0100)]
Fix http-proxy in encryption mode.

9 years agoFix various issues in encrypted messages support.
Vsevolod Stakhov [Tue, 5 May 2015 14:10:54 +0000 (15:10 +0100)]
Fix various issues in encrypted messages support.

9 years agoRemove memory leak in lua_redis.
Vsevolod Stakhov [Tue, 5 May 2015 11:43:38 +0000 (12:43 +0100)]
Remove memory leak in lua_redis.

9 years agoFix http proxy startup.
Vsevolod Stakhov [Mon, 4 May 2015 21:46:33 +0000 (22:46 +0100)]
Fix http proxy startup.

9 years agoBe more clever about printing errors.
Vsevolod Stakhov [Mon, 4 May 2015 21:03:41 +0000 (22:03 +0100)]
Be more clever about printing errors.

9 years agoAdd a trivial encrypting HTTP proxy worker.
Vsevolod Stakhov [Mon, 4 May 2015 16:27:12 +0000 (17:27 +0100)]
Add a trivial encrypting HTTP proxy worker.

9 years agoAdopt task object for new timers architecture.
Vsevolod Stakhov [Mon, 4 May 2015 16:26:51 +0000 (17:26 +0100)]
Adopt task object for new timers architecture.

9 years agoRework timers invocation.
Vsevolod Stakhov [Mon, 4 May 2015 16:26:26 +0000 (17:26 +0100)]
Rework timers invocation.

9 years agoCheck upstream before freeing.
Vsevolod Stakhov [Mon, 4 May 2015 14:18:07 +0000 (15:18 +0100)]
Check upstream before freeing.

9 years agoDo not accept zero sized maps.
Vsevolod Stakhov [Sun, 3 May 2015 09:18:17 +0000 (10:18 +0100)]
Do not accept zero sized maps.

9 years agoMerge pull request #277 from fatalbanana/master
Vsevolod Stakhov [Sat, 2 May 2015 22:51:49 +0000 (23:51 +0100)]
Merge pull request #277 from fatalbanana/master

Remove stray TLDs from 2tld.inc

9 years agoRemove stray TLDs from 2tld.inc 277/head
Andrew Lewis [Sat, 2 May 2015 21:58:44 +0000 (23:58 +0200)]
Remove stray TLDs from 2tld.inc

9 years agoMerge pull request #276 from fatalbanana/master
Vsevolod Stakhov [Sat, 2 May 2015 21:48:45 +0000 (22:48 +0100)]
Merge pull request #276 from fatalbanana/master

Deduplicate 2tld.inc against effective_tld_names.dat

9 years agoDeduplicate 2tld.inc against effective_tld_names.dat 276/head
Andrew Lewis [Sat, 2 May 2015 21:46:23 +0000 (23:46 +0200)]
Deduplicate 2tld.inc against effective_tld_names.dat

9 years agoRevert bad change that caused negative probabilities.
Vsevolod Stakhov [Sat, 2 May 2015 21:15:58 +0000 (22:15 +0100)]
Revert bad change that caused negative probabilities.

9 years agoFix hfilter URL_ONELINE rule.
Vsevolod Stakhov [Fri, 1 May 2015 16:22:25 +0000 (17:22 +0100)]
Fix hfilter URL_ONELINE rule.

9 years agoMisprint.
Vsevolod Stakhov [Fri, 1 May 2015 16:11:40 +0000 (17:11 +0100)]
Misprint.

9 years agoAdd DBL list gradation.
Vsevolod Stakhov [Fri, 1 May 2015 16:03:39 +0000 (17:03 +0100)]
Add DBL list gradation.

9 years agoAdd negation for forged thunderbird MID in case of maillist.
Vsevolod Stakhov [Fri, 1 May 2015 15:51:34 +0000 (16:51 +0100)]
Add negation for forged thunderbird MID in case of maillist.

9 years agoAdd documentation for trie module.
Vsevolod Stakhov [Thu, 30 Apr 2015 17:52:17 +0000 (18:52 +0100)]
Add documentation for trie module.

9 years agoAdd documentation for phishing module.
Vsevolod Stakhov [Thu, 30 Apr 2015 17:37:10 +0000 (18:37 +0100)]
Add documentation for phishing module.

9 years agoRemove ugly tld detection.
Vsevolod Stakhov [Thu, 30 Apr 2015 17:36:46 +0000 (18:36 +0100)]
Remove ugly tld detection.

9 years agoFix stupid cmake syntax.
Vsevolod Stakhov [Thu, 30 Apr 2015 15:18:16 +0000 (16:18 +0100)]
Fix stupid cmake syntax.

9 years agoAvoid regexp_match_number.
Vsevolod Stakhov [Thu, 30 Apr 2015 14:58:47 +0000 (15:58 +0100)]
Avoid regexp_match_number.

9 years agoFix comparision operators.
Vsevolod Stakhov [Thu, 30 Apr 2015 14:57:47 +0000 (15:57 +0100)]
Fix comparision operators.

9 years agoRework rspamd mime regexp processing.
Vsevolod Stakhov [Thu, 30 Apr 2015 14:19:14 +0000 (15:19 +0100)]
Rework rspamd mime regexp processing.

9 years agoFix bayes probability calculations.
Vsevolod Stakhov [Thu, 30 Apr 2015 12:49:16 +0000 (13:49 +0100)]
Fix bayes probability calculations.

9 years agoRestore logic to deal with shutdown.
Vsevolod Stakhov [Thu, 30 Apr 2015 11:43:22 +0000 (12:43 +0100)]
Restore logic to deal with shutdown.

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.