]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoOne more memory leak in lua_redis.
Vsevolod Stakhov [Wed, 13 May 2015 13:41:06 +0000 (14:41 +0100)]
One more memory leak in lua_redis.

9 years agoDo not add IP maps twice.
Vsevolod Stakhov [Wed, 13 May 2015 13:09:23 +0000 (14:09 +0100)]
Do not add IP maps twice.

9 years agoOutput some statistics about maps.
Vsevolod Stakhov [Wed, 13 May 2015 13:04:31 +0000 (14:04 +0100)]
Output some statistics about maps.

9 years agoFix critical bug with reading file maps.
Vsevolod Stakhov [Wed, 13 May 2015 13:04:11 +0000 (14:04 +0100)]
Fix critical bug with reading file maps.

9 years agoAdd routine to check radix trie size.
Vsevolod Stakhov [Wed, 13 May 2015 13:03:46 +0000 (14:03 +0100)]
Add routine to check radix trie size.

9 years agoPrint userdata in format 'class(address)'
Vsevolod Stakhov [Wed, 13 May 2015 12:44:55 +0000 (13:44 +0100)]
Print userdata in format 'class(address)'

9 years agoFix JITless world.
Vsevolod Stakhov [Wed, 13 May 2015 12:32:22 +0000 (13:32 +0100)]
Fix JITless world.

9 years agoFix another issues with raw/utf regexps.
Vsevolod Stakhov [Wed, 13 May 2015 12:00:52 +0000 (13:00 +0100)]
Fix another issues with raw/utf regexps.

9 years agoAllow to push raw pointer from the text boxed type.
Vsevolod Stakhov [Wed, 13 May 2015 10:22:03 +0000 (11:22 +0100)]
Allow to push raw pointer from the text boxed type.

9 years agoFix symbols removal in composites.
Vsevolod Stakhov [Wed, 13 May 2015 09:58:02 +0000 (10:58 +0100)]
Fix symbols removal in composites.

9 years agoFix forged recipients plugin for the modern rspamd.
Vsevolod Stakhov [Wed, 13 May 2015 09:57:14 +0000 (10:57 +0100)]
Fix forged recipients plugin for the modern rspamd.

9 years agoTry to load all lua modules ignoring failed ones.
Vsevolod Stakhov [Wed, 13 May 2015 09:53:28 +0000 (10:53 +0100)]
Try to load all lua modules ignoring failed ones.

9 years agoWhitelisted ip map should be radix, not hash.
Vsevolod Stakhov [Tue, 12 May 2015 18:19:54 +0000 (19:19 +0100)]
Whitelisted ip map should be radix, not hash.

9 years agoAdd documentation fro ratelimit module.
Vsevolod Stakhov [Tue, 12 May 2015 18:17:50 +0000 (19:17 +0100)]
Add documentation fro ratelimit module.

9 years agoRework composite symbols removal.
Vsevolod Stakhov [Tue, 12 May 2015 17:47:00 +0000 (18:47 +0100)]
Rework composite symbols removal.

Reported by: @fatalbanana

9 years agoSkip unparseable DKIM signatures.
Vsevolod Stakhov [Tue, 12 May 2015 14:40:14 +0000 (15:40 +0100)]
Skip unparseable DKIM signatures.

9 years agoFix zero-copy mode in lua_http (double free).
Vsevolod Stakhov [Tue, 12 May 2015 14:26:42 +0000 (15:26 +0100)]
Fix zero-copy mode in lua_http (double free).

9 years agoFix finding headers in HTTP messages.
Vsevolod Stakhov [Tue, 12 May 2015 14:11:42 +0000 (15:11 +0100)]
Fix finding headers in HTTP messages.

9 years agoFix coredump in a client (double free).
Vsevolod Stakhov [Tue, 12 May 2015 13:55:31 +0000 (14:55 +0100)]
Fix coredump in a client (double free).

9 years agoMore fixes to luajit detection.
Vsevolod Stakhov [Tue, 12 May 2015 12:24:03 +0000 (13:24 +0100)]
More fixes to luajit detection.

9 years agoFix converting of old storage.
Vsevolod Stakhov [Tue, 12 May 2015 11:51:36 +0000 (12:51 +0100)]
Fix converting of old storage.

9 years agoUse raw regexp instead of utf ones by default.
Vsevolod Stakhov [Tue, 12 May 2015 11:46:10 +0000 (12:46 +0100)]
Use raw regexp instead of utf ones by default.

Now to enable utf8 match, one should specify 'u' modifier, for example,
by adding '/u' to the slashed patterm.

9 years agoFix finding of luajit library.
Vsevolod Stakhov [Tue, 12 May 2015 11:10:42 +0000 (12:10 +0100)]
Fix finding of luajit library.

9 years agoRemove old radix code (no functional changes).
Vsevolod Stakhov [Tue, 12 May 2015 08:28:25 +0000 (09:28 +0100)]
Remove old radix code (no functional changes).

9 years agoAdd key rotation for http proxy.
Vsevolod Stakhov [Tue, 12 May 2015 08:16:21 +0000 (09:16 +0100)]
Add key rotation for http proxy.

9 years agoLibutil is useless everywhere but FreeBSD.
Vsevolod Stakhov [Mon, 11 May 2015 16:08:58 +0000 (17:08 +0100)]
Libutil is useless everywhere but FreeBSD.

9 years agoTry to fix libutil...
Vsevolod Stakhov [Mon, 11 May 2015 14:38:25 +0000 (15:38 +0100)]
Try to fix libutil...

9 years agoAnother workaround for pcre jit.
Vsevolod Stakhov [Mon, 11 May 2015 14:10:56 +0000 (15:10 +0100)]
Another workaround for pcre jit.

9 years agoAnother try to fixup the mess.
Vsevolod Stakhov [Mon, 11 May 2015 13:53:48 +0000 (14:53 +0100)]
Another try to fixup the mess.

9 years agoAnother iteration of libraries detection rework.
Vsevolod Stakhov [Mon, 11 May 2015 13:17:15 +0000 (14:17 +0100)]
Another iteration of libraries detection rework.

9 years agoAdd workaround for glib < 2.30.
Vsevolod Stakhov [Mon, 11 May 2015 13:17:04 +0000 (14:17 +0100)]
Add workaround for glib < 2.30.

9 years agoUnify search paths.
Vsevolod Stakhov [Mon, 11 May 2015 12:43:16 +0000 (13:43 +0100)]
Unify search paths.

9 years agoRelax glib requirements to 2.28.
Vsevolod Stakhov [Mon, 11 May 2015 12:06:42 +0000 (13:06 +0100)]
Relax glib requirements to 2.28.

9 years agoAdd hints for finding paths.
Vsevolod Stakhov [Mon, 11 May 2015 12:05:31 +0000 (13:05 +0100)]
Add hints for finding paths.

9 years agoDeal with multiple signatures in DKIM.
Vsevolod Stakhov [Mon, 11 May 2015 11:54:07 +0000 (12:54 +0100)]
Deal with multiple signatures in DKIM.

Issue: #254

9 years agoSet header value properly for decrypted headers.
Vsevolod Stakhov [Mon, 11 May 2015 09:05:16 +0000 (10:05 +0100)]
Set header value properly for decrypted headers.

9 years agoSet re limit from regexp module.
Vsevolod Stakhov [Sun, 10 May 2015 22:31:20 +0000 (23:31 +0100)]
Set re limit from regexp module.

9 years agoAdd configuration alias to avoid ambiguity.
Vsevolod Stakhov [Sat, 9 May 2015 21:55:52 +0000 (22:55 +0100)]
Add configuration alias to avoid ambiguity.

9 years agoAdd dkim module documentation.
Vsevolod Stakhov [Sat, 9 May 2015 21:53:59 +0000 (22:53 +0100)]
Add dkim module documentation.

9 years agoAdd SPF module documentation.
Vsevolod Stakhov [Sat, 9 May 2015 21:25:25 +0000 (22:25 +0100)]
Add SPF module documentation.

9 years agoAdd some documentation.
Vsevolod Stakhov [Sat, 9 May 2015 21:04:20 +0000 (22:04 +0100)]
Add some documentation.

9 years agoDie if some workers couldn't start.
Vsevolod Stakhov [Sat, 9 May 2015 20:56:35 +0000 (21:56 +0100)]
Die if some workers couldn't start.

9 years agoFix dealing with growing strings.
Vsevolod Stakhov [Sat, 9 May 2015 20:46:41 +0000 (21:46 +0100)]
Fix dealing with growing strings.

9 years agoAdd notice to fix issue with realloc.
Vsevolod Stakhov [Fri, 8 May 2015 21:00:57 +0000 (22:00 +0100)]
Add notice to fix issue with realloc.

9 years agoRestore parsing of headers.
Vsevolod Stakhov [Fri, 8 May 2015 20:53:32 +0000 (21:53 +0100)]
Restore parsing of headers.

9 years agoFix client's callback return result.
Vsevolod Stakhov [Fri, 8 May 2015 20:20:01 +0000 (21:20 +0100)]
Fix client's callback return result.

9 years agoMore fixes.
Vsevolod Stakhov [Fri, 8 May 2015 16:55:36 +0000 (17:55 +0100)]
More fixes.

9 years agoFixes to encrypted request writing.
Vsevolod Stakhov [Fri, 8 May 2015 16:07:32 +0000 (17:07 +0100)]
Fixes to encrypted request writing.

9 years agoImplement new scheme of encrypted requests reading.
Vsevolod Stakhov [Fri, 8 May 2015 15:02:14 +0000 (16:02 +0100)]
Implement new scheme of encrypted requests reading.

9 years agoMore fixes to encrypted writing.
Vsevolod Stakhov [Fri, 8 May 2015 13:42:01 +0000 (14:42 +0100)]
More fixes to encrypted writing.

9 years agoFix headers addition.
Vsevolod Stakhov [Fri, 8 May 2015 12:56:53 +0000 (13:56 +0100)]
Fix headers addition.

9 years agoCompletely rework HTTP encryption.
Vsevolod Stakhov [Fri, 8 May 2015 12:53:30 +0000 (13:53 +0100)]
Completely rework HTTP encryption.

Now we encrypt everything:
- URL
- Method
- Headers
- Body

9 years agoRework HTTP headers to avoid copying.
Vsevolod Stakhov [Fri, 8 May 2015 12:12:02 +0000 (13:12 +0100)]
Rework HTTP headers to avoid copying.

9 years agoFix documentation.
Vsevolod Stakhov [Fri, 8 May 2015 09:06:25 +0000 (10:06 +0100)]
Fix documentation.

9 years agoAdd some human readable aliases for rspamd configuration options.
Vsevolod Stakhov [Thu, 7 May 2015 17:40:50 +0000 (18:40 +0100)]
Add some human readable aliases for rspamd configuration options.

9 years agoProperly deal with negative scores and nice symbols.
Vsevolod Stakhov [Thu, 7 May 2015 17:34:36 +0000 (18:34 +0100)]
Properly deal with negative scores and nice symbols.

9 years agoDocument new option.
Vsevolod Stakhov [Thu, 7 May 2015 17:25:43 +0000 (18:25 +0100)]
Document new option.

9 years agoImplement match_limit in spamassassin plugin.
Vsevolod Stakhov [Thu, 7 May 2015 17:24:14 +0000 (18:24 +0100)]
Implement match_limit in spamassassin plugin.

9 years agoAdd function regexp:set_limit
Vsevolod Stakhov [Thu, 7 May 2015 17:16:34 +0000 (18:16 +0100)]
Add function regexp:set_limit

With this function it will be possible to limit the maximum size of text
to search using this regexp.

9 years agoOne more case to check.
Vsevolod Stakhov [Thu, 7 May 2015 15:09:09 +0000 (16:09 +0100)]
One more case to check.

9 years agoAdd fuzz tests and other split cases.
Vsevolod Stakhov [Thu, 7 May 2015 14:28:39 +0000 (15:28 +0100)]
Add fuzz tests and other split cases.

9 years agoFix splits.
Vsevolod Stakhov [Thu, 7 May 2015 14:28:29 +0000 (15:28 +0100)]
Fix splits.

9 years agoImprove regexp items parsing diagnostics.
Vsevolod Stakhov [Thu, 7 May 2015 13:13:32 +0000 (14:13 +0100)]
Improve regexp items parsing diagnostics.

9 years agoFix log message for unknown rules with scores.
Vsevolod Stakhov [Thu, 7 May 2015 12:04:08 +0000 (13:04 +0100)]
Fix log message for unknown rules with scores.

9 years agoCheck smtp recipients before indexing.
Vsevolod Stakhov [Thu, 7 May 2015 11:58:33 +0000 (12:58 +0100)]
Check smtp recipients before indexing.

9 years agoImplement unalgined tests.
Vsevolod Stakhov [Thu, 7 May 2015 11:55:29 +0000 (12:55 +0100)]
Implement unalgined tests.

9 years agoFix some unaligned cases.
Vsevolod Stakhov [Thu, 7 May 2015 11:55:20 +0000 (12:55 +0100)]
Fix some unaligned cases.

9 years agoAdd unit test for cryptobox.
Vsevolod Stakhov [Thu, 7 May 2015 11:25:11 +0000 (12:25 +0100)]
Add unit test for cryptobox.

9 years agoSome fixes for vectorized encryption.
Vsevolod Stakhov [Thu, 7 May 2015 11:24:48 +0000 (12:24 +0100)]
Some fixes for vectorized encryption.

9 years agoImplement preliminary version of vectorized encryption.
Vsevolod Stakhov [Wed, 6 May 2015 16:26:30 +0000 (17:26 +0100)]
Implement preliminary version of vectorized encryption.

9 years agoMerge pull request #278 from fatalbanana/master
Vsevolod Stakhov [Wed, 6 May 2015 14:17:21 +0000 (15:17 +0100)]
Merge pull request #278 from fatalbanana/master

Config tidying

9 years agoFix colored logging.
Vsevolod Stakhov [Wed, 6 May 2015 12:46:29 +0000 (13:46 +0100)]
Fix colored logging.

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