]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoFix optimized poly1305.
Vsevolod Stakhov [Sat, 7 Feb 2015 22:28:10 +0000 (22:28 +0000)]
Fix optimized poly1305.

9 years agoUse optimized version of poly1305.
Vsevolod Stakhov [Sat, 7 Feb 2015 22:10:07 +0000 (22:10 +0000)]
Use optimized version of poly1305.

9 years agoMerge pull request #140 from AlexeySa/patch-3
Vsevolod Stakhov [Sat, 7 Feb 2015 17:18:22 +0000 (17:18 +0000)]
Merge pull request #140 from AlexeySa/patch-3

Fix: if not exist Date-header

9 years agoMerge pull request #141 from AlexeySa/master
Vsevolod Stakhov [Sat, 7 Feb 2015 17:18:15 +0000 (17:18 +0000)]
Merge pull request #141 from AlexeySa/master

Add DATE_NOT_EXISTS rule

9 years agoInit cryptobox library properly.
Vsevolod Stakhov [Sat, 7 Feb 2015 16:53:45 +0000 (16:53 +0000)]
Init cryptobox library properly.

9 years agoFix cryptobox logic.
Vsevolod Stakhov [Sat, 7 Feb 2015 16:37:19 +0000 (16:37 +0000)]
Fix cryptobox logic.

9 years agoUse libcryptobox in http.
Vsevolod Stakhov [Sat, 7 Feb 2015 16:08:12 +0000 (16:08 +0000)]
Use libcryptobox in http.

9 years agoUpdate metrics.conf 141/head
Alexey AL [Sat, 7 Feb 2015 16:01:04 +0000 (19:01 +0300)]
Update metrics.conf

9 years agoUpdate rspamd.lua
Alexey AL [Sat, 7 Feb 2015 16:00:20 +0000 (19:00 +0300)]
Update rspamd.lua

9 years agoFix: if not exist Date-header 140/head
Alexey AL [Sat, 7 Feb 2015 15:46:31 +0000 (18:46 +0300)]
Fix: if not exist Date-header

9 years agoFix beforenm part.
Vsevolod Stakhov [Fri, 6 Feb 2015 23:04:33 +0000 (23:04 +0000)]
Fix beforenm part.

9 years agoAdd cryptobox encryption.
Vsevolod Stakhov [Fri, 6 Feb 2015 23:00:04 +0000 (23:00 +0000)]
Add cryptobox encryption.

9 years agoImplement verification and keypair generation.
Vsevolod Stakhov [Fri, 6 Feb 2015 17:15:32 +0000 (17:15 +0000)]
Implement verification and keypair generation.

9 years agoSet curve25519 bits on keypair generation.
Vsevolod Stakhov [Fri, 6 Feb 2015 17:15:08 +0000 (17:15 +0000)]
Set curve25519 bits on keypair generation.

9 years agoMerge pull request #138 from fatalbanana/master
Vsevolod Stakhov [Fri, 6 Feb 2015 16:22:36 +0000 (16:22 +0000)]
Merge pull request #138 from fatalbanana/master

Allow applying settings to authenticated users

9 years agoAdd platform detector based on cpuid.
Vsevolod Stakhov [Fri, 6 Feb 2015 15:04:41 +0000 (15:04 +0000)]
Add platform detector based on cpuid.

9 years agoAdd chacha20 driver.
Vsevolod Stakhov [Fri, 6 Feb 2015 15:04:31 +0000 (15:04 +0000)]
Add chacha20 driver.

9 years agoAmendment: fix regex match for unqualified usernames 138/head
Andrew Lewis [Fri, 6 Feb 2015 14:48:18 +0000 (16:48 +0200)]
Amendment: fix regex match for unqualified usernames

9 years agoAmendment: nest stuff
Andrew Lewis [Fri, 6 Feb 2015 14:08:37 +0000 (16:08 +0200)]
Amendment: nest stuff

9 years agoAdd curve25519 and poly1305 by @agl / @floodyberry
Vsevolod Stakhov [Fri, 6 Feb 2015 14:10:44 +0000 (14:10 +0000)]
Add curve25519 and poly1305 by @agl / @floodyberry

9 years agoAdd optimized versions of ChaCha20 by @floodyberry
Vsevolod Stakhov [Fri, 6 Feb 2015 13:49:17 +0000 (13:49 +0000)]
Add optimized versions of ChaCha20 by @floodyberry

9 years agoAllow applying settings to authenticated users
Andrew Lewis [Fri, 6 Feb 2015 13:39:45 +0000 (15:39 +0200)]
Allow applying settings to authenticated users

9 years agoStart cryptobox library.
Vsevolod Stakhov [Fri, 6 Feb 2015 11:37:55 +0000 (11:37 +0000)]
Start cryptobox library.

9 years agoFix potential issues as found by coverity.
Vsevolod Stakhov [Thu, 5 Feb 2015 18:20:22 +0000 (18:20 +0000)]
Fix potential issues as found by coverity.

9 years agoAdd uncached test.
Vsevolod Stakhov [Wed, 4 Feb 2015 22:05:41 +0000 (22:05 +0000)]
Add uncached test.

9 years agoFix keypairs cache processing.
Vsevolod Stakhov [Wed, 4 Feb 2015 22:05:28 +0000 (22:05 +0000)]
Fix keypairs cache processing.

9 years agoFix encryption test.
Vsevolod Stakhov [Wed, 4 Feb 2015 17:17:27 +0000 (17:17 +0000)]
Fix encryption test.

9 years agoAdd HTTP connections speed test.
Vsevolod Stakhov [Wed, 4 Feb 2015 17:05:53 +0000 (17:05 +0000)]
Add HTTP connections speed test.

9 years agoAllow single string to be in a string list.
Vsevolod Stakhov [Wed, 4 Feb 2015 15:22:01 +0000 (15:22 +0000)]
Allow single string to be in a string list.

9 years agoInitialize expire queue.
Vsevolod Stakhov [Wed, 4 Feb 2015 14:56:47 +0000 (14:56 +0000)]
Initialize expire queue.

9 years agoSecurely erase content of secret keys.
Vsevolod Stakhov [Tue, 3 Feb 2015 22:21:07 +0000 (22:21 +0000)]
Securely erase content of secret keys.

9 years agoFix LRU hash in keypairs cache.
Vsevolod Stakhov [Tue, 3 Feb 2015 22:19:25 +0000 (22:19 +0000)]
Fix LRU hash in keypairs cache.

9 years agoAdd explicit_memzero function.
Vsevolod Stakhov [Tue, 3 Feb 2015 22:03:22 +0000 (22:03 +0000)]
Add explicit_memzero function.

9 years agoRework LRU hash.
Vsevolod Stakhov [Tue, 3 Feb 2015 18:59:35 +0000 (18:59 +0000)]
Rework LRU hash.

9 years agoFix some initializations.
Vsevolod Stakhov [Tue, 3 Feb 2015 18:14:59 +0000 (18:14 +0000)]
Fix some initializations.

9 years agoFix urls interaction.
Vsevolod Stakhov [Tue, 3 Feb 2015 17:55:14 +0000 (17:55 +0000)]
Fix urls interaction.

9 years agoRemove old crap functions from url parser code.
Vsevolod Stakhov [Tue, 3 Feb 2015 17:39:03 +0000 (17:39 +0000)]
Remove old crap functions from url parser code.

9 years agoMerge pull request #136 from fatalbanana/master
Vsevolod Stakhov [Tue, 3 Feb 2015 13:58:37 +0000 (13:58 +0000)]
Merge pull request #136 from fatalbanana/master

Cosmetic changes

9 years agoCosmetic changes 136/head
Andrew Lewis [Tue, 3 Feb 2015 12:53:18 +0000 (14:53 +0200)]
Cosmetic changes

9 years agoUse keys cache in encrypt/decrypt operations.
Vsevolod Stakhov [Mon, 2 Feb 2015 22:56:42 +0000 (22:56 +0000)]
Use keys cache in encrypt/decrypt operations.

9 years agoUse keypairs cache.
Vsevolod Stakhov [Mon, 2 Feb 2015 22:53:26 +0000 (22:53 +0000)]
Use keypairs cache.

9 years agoPublish afternm_detached
Vsevolod Stakhov [Mon, 2 Feb 2015 22:28:36 +0000 (22:28 +0000)]
Publish afternm_detached

9 years agoUpdate keypairs cache.
Vsevolod Stakhov [Mon, 2 Feb 2015 22:17:48 +0000 (22:17 +0000)]
Update keypairs cache.

9 years agoAdd preliminary implementation of keypairs cache.
Vsevolod Stakhov [Mon, 2 Feb 2015 22:17:27 +0000 (22:17 +0000)]
Add preliminary implementation of keypairs cache.

9 years agoMerge pull request #134 from fatalbanana/master
Vsevolod Stakhov [Mon, 2 Feb 2015 21:30:40 +0000 (21:30 +0000)]
Merge pull request #134 from fatalbanana/master

Fix bad change in Exim patch

9 years agoFix bad change in Exim patch 134/head
Andrew Lewis [Mon, 2 Feb 2015 20:39:58 +0000 (22:39 +0200)]
Fix bad change in Exim patch

9 years agoFix encrypted output.
Vsevolod Stakhov [Mon, 2 Feb 2015 14:25:03 +0000 (14:25 +0000)]
Fix encrypted output.

9 years agoFix processing of unix sockets.
Vsevolod Stakhov [Mon, 2 Feb 2015 13:35:01 +0000 (13:35 +0000)]
Fix processing of unix sockets.

Reported by: AL

9 years agoFix some compile time warnings.
Vsevolod Stakhov [Mon, 2 Feb 2015 12:42:49 +0000 (12:42 +0000)]
Fix some compile time warnings.

9 years agoRemove unused signal post-handlers.
Vsevolod Stakhov [Mon, 2 Feb 2015 12:13:58 +0000 (12:13 +0000)]
Remove unused signal post-handlers.

9 years agoLoad controller's keypair from configuration.
Vsevolod Stakhov [Sun, 1 Feb 2015 22:44:20 +0000 (22:44 +0000)]
Load controller's keypair from configuration.

9 years agoFix encryption of messages with no body.
Vsevolod Stakhov [Sun, 1 Feb 2015 22:38:36 +0000 (22:38 +0000)]
Fix encryption of messages with no body.

9 years agoReturn statfiles stats from controller.
Vsevolod Stakhov [Sun, 1 Feb 2015 22:33:59 +0000 (22:33 +0000)]
Return statfiles stats from controller.

9 years agoImplement statistics for mmaped statfiles.
Vsevolod Stakhov [Sun, 1 Feb 2015 22:08:20 +0000 (22:08 +0000)]
Implement statistics for mmaped statfiles.

9 years agoMerge pull request #131 from fatalbanana/master
Vsevolod Stakhov [Sun, 1 Feb 2015 10:35:36 +0000 (10:35 +0000)]
Merge pull request #131 from fatalbanana/master

Update Exim patch

9 years agoMerge pull request #133 from AlexeySa/patch-2
Vsevolod Stakhov [Sun, 1 Feb 2015 10:35:08 +0000 (10:35 +0000)]
Merge pull request #133 from AlexeySa/patch-2

Fix: Centos init script: configtest()

9 years agoFix: Centos init script: configtest() 133/head
Alexey [Sun, 1 Feb 2015 03:17:51 +0000 (06:17 +0300)]
Fix: Centos init script: configtest()

9 years agoEnable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102 131/head
Andrew Lewis [Sat, 31 Jan 2015 22:29:10 +0000 (00:29 +0200)]
Enable one_shot for RECEIVED_SPAMHAUS_XBL - Fixes #102

9 years agoUpdate Exim patch
Andrew Lewis [Sat, 31 Jan 2015 18:46:54 +0000 (20:46 +0200)]
Update Exim patch

9 years agoBe more precise when stealing a key from a message.
Vsevolod Stakhov [Fri, 30 Jan 2015 18:36:18 +0000 (18:36 +0000)]
Be more precise when stealing a key from a message.

9 years agoPreserve keys inside HTTP session.
Vsevolod Stakhov [Fri, 30 Jan 2015 18:25:37 +0000 (18:25 +0000)]
Preserve keys inside HTTP session.

9 years agoSet peer's key properly.
Vsevolod Stakhov [Fri, 30 Jan 2015 18:08:25 +0000 (18:08 +0000)]
Set peer's key properly.

9 years agoFix length in the message.
Vsevolod Stakhov [Fri, 30 Jan 2015 18:01:41 +0000 (18:01 +0000)]
Fix length in the message.

9 years agoFix cryptobox code.
Vsevolod Stakhov [Fri, 30 Jan 2015 17:47:01 +0000 (17:47 +0000)]
Fix cryptobox code.

9 years agoRework message store to allow encryption.
Vsevolod Stakhov [Fri, 30 Jan 2015 15:19:04 +0000 (15:19 +0000)]
Rework message store to allow encryption.

9 years agoAdd workaround for parsing encrypted messages.
Vsevolod Stakhov [Fri, 30 Jan 2015 01:52:51 +0000 (01:52 +0000)]
Add workaround for parsing encrypted messages.

9 years agoFix remote keys parsing.
Vsevolod Stakhov [Fri, 30 Jan 2015 01:45:04 +0000 (01:45 +0000)]
Fix remote keys parsing.

9 years agoFix blocks chaining.
Vsevolod Stakhov [Fri, 30 Jan 2015 01:44:56 +0000 (01:44 +0000)]
Fix blocks chaining.

9 years agoFix peer keys handling.
Vsevolod Stakhov [Fri, 30 Jan 2015 00:56:18 +0000 (00:56 +0000)]
Fix peer keys handling.

9 years agoFix detached cryptobox.
Vsevolod Stakhov [Thu, 29 Jan 2015 23:48:13 +0000 (23:48 +0000)]
Fix detached cryptobox.

9 years agoFix issues with base32 encoding.
Vsevolod Stakhov [Thu, 29 Jan 2015 23:34:23 +0000 (23:34 +0000)]
Fix issues with base32 encoding.

9 years agoFix keys initialization.
Vsevolod Stakhov [Thu, 29 Jan 2015 23:06:45 +0000 (23:06 +0000)]
Fix keys initialization.

9 years agoImplement keys manipulation in client.
Vsevolod Stakhov [Thu, 29 Jan 2015 19:27:20 +0000 (19:27 +0000)]
Implement keys manipulation in client.

9 years agoAdd routine to parse remote pubkeys.
Vsevolod Stakhov [Thu, 29 Jan 2015 19:27:08 +0000 (19:27 +0000)]
Add routine to parse remote pubkeys.

9 years agoUse const for base32 encoding.
Vsevolod Stakhov [Thu, 29 Jan 2015 19:24:33 +0000 (19:24 +0000)]
Use const for base32 encoding.

9 years agoStore peer's key in http message.
Vsevolod Stakhov [Thu, 29 Jan 2015 18:51:32 +0000 (18:51 +0000)]
Store peer's key in http message.

9 years agoUse shorter hash length for pubkey id.
Vsevolod Stakhov [Thu, 29 Jan 2015 18:44:54 +0000 (18:44 +0000)]
Use shorter hash length for pubkey id.

9 years agoAdd support of encryption to the worker.
Vsevolod Stakhov [Thu, 29 Jan 2015 18:39:42 +0000 (18:39 +0000)]
Add support of encryption to the worker.

9 years agoAdd configuration routine to parse keypairs.
Vsevolod Stakhov [Thu, 29 Jan 2015 18:30:13 +0000 (18:30 +0000)]
Add configuration routine to parse keypairs.

9 years agoAllow generate keypairs by rspamd.
Vsevolod Stakhov [Thu, 29 Jan 2015 18:15:17 +0000 (18:15 +0000)]
Allow generate keypairs by rspamd.

9 years agoAdd routine to print keys.
Vsevolod Stakhov [Thu, 29 Jan 2015 18:06:34 +0000 (18:06 +0000)]
Add routine to print keys.

9 years agoFree router's key.
Vsevolod Stakhov [Thu, 29 Jan 2015 17:09:42 +0000 (17:09 +0000)]
Free router's key.

9 years agoAdd keys support for the router.
Vsevolod Stakhov [Thu, 29 Jan 2015 16:30:57 +0000 (16:30 +0000)]
Add keys support for the router.

9 years agoMerge branch 'crypto'
Vsevolod Stakhov [Wed, 28 Jan 2015 22:52:58 +0000 (22:52 +0000)]
Merge branch 'crypto'

9 years agoImplement encryption.
Vsevolod Stakhov [Wed, 28 Jan 2015 22:52:18 +0000 (22:52 +0000)]
Implement encryption.

9 years agoAdd keypair generation routine.
Vsevolod Stakhov [Wed, 28 Jan 2015 22:25:43 +0000 (22:25 +0000)]
Add keypair generation routine.

9 years agoAdd prototypes.
Vsevolod Stakhov [Wed, 28 Jan 2015 22:22:21 +0000 (22:22 +0000)]
Add prototypes.

9 years agoImplement detached cryptobox.
Vsevolod Stakhov [Wed, 28 Jan 2015 22:19:28 +0000 (22:19 +0000)]
Implement detached cryptobox.

9 years agoImplement decryption of messages.
Vsevolod Stakhov [Wed, 28 Jan 2015 21:42:25 +0000 (21:42 +0000)]
Implement decryption of messages.

9 years agoUse more targeted compile flags setup.
Vsevolod Stakhov [Wed, 28 Jan 2015 21:39:38 +0000 (21:39 +0000)]
Use more targeted compile flags setup.

9 years agoDo not pad encrypted messages.
Vsevolod Stakhov [Wed, 28 Jan 2015 21:39:18 +0000 (21:39 +0000)]
Do not pad encrypted messages.

9 years agoForgot to add.
Vsevolod Stakhov [Wed, 28 Jan 2015 21:39:08 +0000 (21:39 +0000)]
Forgot to add.

9 years agoAllow refcounting on keypairs.
Vsevolod Stakhov [Wed, 28 Jan 2015 17:57:31 +0000 (17:57 +0000)]
Allow refcounting on keypairs.

9 years agoRework key API to allow reusing of keypairs.
Vsevolod Stakhov [Wed, 28 Jan 2015 17:52:59 +0000 (17:52 +0000)]
Rework key API to allow reusing of keypairs.

9 years agoAllow to set keypair for a connection.
Vsevolod Stakhov [Wed, 28 Jan 2015 17:47:12 +0000 (17:47 +0000)]
Allow to set keypair for a connection.

9 years agoImplement key parsing from an HTTP request.
Vsevolod Stakhov [Wed, 28 Jan 2015 17:25:07 +0000 (17:25 +0000)]
Implement key parsing from an HTTP request.

9 years agoUse g_malloc for convinience.
Vsevolod Stakhov [Wed, 28 Jan 2015 16:21:40 +0000 (16:21 +0000)]
Use g_malloc for convinience.

9 years agoAdd base32 decoding routine.
Vsevolod Stakhov [Wed, 28 Jan 2015 16:21:00 +0000 (16:21 +0000)]
Add base32 decoding routine.

9 years agoAdopt tweetnacl for rspamd.
Vsevolod Stakhov [Wed, 28 Jan 2015 15:56:49 +0000 (15:56 +0000)]
Adopt tweetnacl for rspamd.

9 years agoImport tweetnacl.
Vsevolod Stakhov [Wed, 28 Jan 2015 15:43:52 +0000 (15:43 +0000)]
Import tweetnacl.